Close

Palette:pointRender

Summary

Renders a point cloud from the data stored in the input textures. The first input should contain XYZ data stored in the RGB channels with the alpha channel set to one for pixels that contain valid points. The second input can contain optional color data that will be applied to each point. The Normalize Colors parameter can be used to rescale colors that are outside the expected zero to one range.

The render uses an internal viewport camera component to control the camera. The camera can be adjusted by activating the node and dragging in the viewport, or by opening the component and adjusting the camera directly.

PythonIcon.pngPalette:pointRender Ext


Parameters - Point Render Page

Help Help -

Version Version -

Resolution Resolution - - Sets the width and height in pixels of the rendered output image.
  • Resolution Resolutionw -
  • Resolution Resolutionh -
Point Size Pointsize - Controls the size of the points in the output render.

Set Vertex Colors Setvertexcolors - Enable this parameter to apply the color values in the input texture to the rendered points. When disabled, all points will be rendered white.

Normalize Colors Normalizecolors - Turn this parameter on if the input point colors are not already normalized between zero and one. For example, some files define colors between 0 and 255 or between 0 and 65,535 and will appear solid white if the colors are not re-scaled. When enabled, all color values are divided by the Max Color Value parameter.

Max Color Value Maxcolorvalue - The value to divide colors by when the Normalize Colors parameter is enabled. This is usually set to 255 or 65,535 depending on the range of color values in the input texture.


Operator Inputs

  • Input 0: in1 - A TOP containing XYZ point data in the RGB channels. The alpha channel should be an 'active' mask where while pixels represent valid points and black pixels are ignored.
  • Input 1: in2 - An optional TOP containing color data for the points. If this input is not used, the 'Set Vertex Colors' parameter should be turned off.


Operator Outputs

  • Output 0 - A rendered image of the input points at the resolution set in the parameters. The camera angle used to view the points can be adjusted by activating the node and dragging in the view.

TouchDesigner Build: