get_texel_density
Measure texel density (pixels per metre) for a UV-mapped mesh at a chosen texture size, so you can match texture sharpness across assets.
Instructions
Measure texel density: how many texture pixels cover one metre of surface.
Matching density across assets keeps texture sharpness consistent; game art often targets 512 or 1024 px/m.
Args: object_name: Mesh object with a UV map. texture_size: Texture width in pixels the UVs are meant for.
Returns: Dict with density in px/m, surface area in m^2 (world scale), and the share of UV space used.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"object_name": "<object_name>"
},
"name": "get_texel_density"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes | ||
| texture_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||