PointCloudFromArray_v2 Op

PointCloudFromArray

visualize an array of coordinates as points


This op works together with the pointMaterial op and also requires a xyz array to render the points.


Full Name
  • Ops.Gl.Meshes.PointCloudFromArray_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch linepoints

Open In Editor

Youtube Video Tutorial

INPUT PORTS


exe (Trigger)

Trigger the op

Positions (Array)

xyz array in

Num Points (Number: integer)

Define how many points are rendered. Overrides the xyz array in.

Texture Coordinates

Scramble Texcoords (Number: boolean)

Scramble xyz array and color lookup when connected to pointMaterial op with a texture

Seed (Number)

Random seed for Scramble Texcoords

Texture Coordinates (Array)

Array2 for texture coordinates to cover your point cloud

Point sizes (Array)
Vertex Colors (Array)

input an Array4 (RGBA) - must be the correct size to color all of your points. PointMaterial needs to be set to "use vertex colors"

OUTPUT PORTS


Trigger out (Trigger)
Geometry (Object)

Outputs geometry object


Patches using PointCloudFromArray_v2

  • Examples
  • Public
  • My Patches

Changelog


featureadded vertex color supportuser avatarpandur - 2019-06-20 17:02
bugfixNew Version v2: An array with the length of 0 will now draw nothing. (was: was still drawing the last valid pointcloud)user avatarpandur - 2024-09-12 14:13