world_to_view
Converts a 3D point from world coordinates to view space by applying a supplied row-major view matrix. Supports camera transformations in graphics pipelines.
Instructions
Transforms one world-space 3D position into view space with a supplied row-major view matrix
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": {
"worldPoint": "<worldPoint>",
"viewMatrix": "<viewMatrix>"
},
"name": "world_to_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewMatrix | Yes | Row-major 4x4 matrix used with column vectors: output = matrix * vector | |
| worldPoint | Yes |