Visit ComfyUI Online for ready-to-use ComfyUI environment
Transforms 3D points to 2D image using orthographic projection, maintaining scale and position accuracy for technical illustrations.
The PointsToImage advance (Orthographic) node is designed to transform 3D point data into a 2D image representation using orthographic projection. This method is particularly useful for visualizing depth maps or point clouds in a way that maintains the relative scale and position of objects without the distortion that can occur with perspective projection. By applying orthographic projection, this node ensures that parallel lines remain parallel and that the size of objects does not change with distance, making it ideal for technical illustrations or when precise measurements are required. The node is capable of handling transformations such as rotation, translation, and scaling, allowing for flexible manipulation of the 3D data before projection. This capability is beneficial for AI artists who need to visualize complex 3D data in a clear and accurate 2D format.
This parameter represents the collection of images that will be used as the base for the 2D projection. It is essential for defining the canvas on which the 3D points will be projected. The images parameter does not have specific minimum or maximum values, but it should be a valid image or set of images that can accommodate the projected points.
The points parameter is a set of 3D coordinates that define the spatial data to be projected onto the 2D plane. These points are crucial as they represent the actual data being visualized. There are no strict limits on the number of points, but the quality and clarity of the resulting image depend on the density and distribution of these points.
This boolean parameter determines whether the projected points will include color information. When set to true, the node will incorporate color data from the points, enhancing the visual output with color-coded depth or other attributes. The default value is false, meaning no color information is used unless specified.
This parameter allows you to specify a rotation transformation to be applied to the points before projection. It is typically a vector of three values representing rotation angles around the x, y, and z axes. The default is no rotation, which means the points are projected in their original orientation.
The translation parameter specifies a vector of three values that define how much the points should be moved along the x, y, and z axes before projection. This transformation is useful for repositioning the data within the image frame. The default is no translation, meaning the points remain in their original position.
This parameter defines a scaling transformation to be applied to the points, allowing you to adjust their size relative to the image. It is a vector of three values representing scaling factors along the x, y, and z axes. The default is a scale of one, meaning no scaling is applied.
The projected_image is the primary output of the node, representing the 2D visualization of the 3D points after orthographic projection. This image maintains the spatial relationships and scale of the original data, providing an accurate representation suitable for analysis or artistic purposes.
The depth_map output provides a normalized representation of the depth information from the 3D points. This map is useful for understanding the relative distances of points from the viewer, aiding in tasks that require depth perception or further processing.
If the color parameter is enabled, the color_map output will contain the color information associated with each projected point. This map enhances the visual output by adding color-coded data, which can represent various attributes such as intensity or category.
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.