Nodes/Parametric Studio/3D Camera Projection (Ortho)
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.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
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)

    NameTypeDefaultDescription
    mesh_dataSTRING{"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_angleFLOAT0-360–360Camera angle. From -360 to 360. Default 0.0.

    Outputs (2)

    NameTypeDescription
    projected_2dSTRING—
    bounding_boxSTRING—