ComfyUI Node
3D Camera Projection (Ortho)
Projects 3D mesh vertices to 2D using orthographic camera math. Input: mesh_data (STRING) - JSON string from PSN_3D_Mesh_Validator. Input: camera_angle (FLOAT) - Rotation angle in degrees around Y-axis. Output: projected_2d (STRING) - JSON string of 2D projected vertices. Output: bounding_box (STRING) - JSON string of the 2D bounding box.
3D Camera Projection (Ortho)
- projected_2d
- bounding_box
◄mesh_data{"vertices": [[0,0,0],[1,0,0],[0,1,0],[0,0,1]], "faces": [[0,1,2],[0,1,3],[0,2,3],[1,2,3]]}►
◄camera_angle0►
CategoryParametric/3D
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| mesh_data | STRING | {"vertices": [[0,0,0],[1,0,0],[0,1,0],[0,0,1]], "faces": [[0,1,2],[0,1,3],[0,2,3],[1,2,3]]} | Mesh data. Default {"vertices": [[0,0,0],[1,0,0],[0,1,0],[0,0,1]], "faces": [[0,1,2],[0,1,3],[0,2,3],[1,2,3]]}. |
| camera_angle | FLOAT | 0-360–360 | Camera angle. From -360 to 360. Default 0.0. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| projected_2d | STRING | — |
| bounding_box | STRING | — |