beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

PointCloudFromArray 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.


Edit Documentation

Full Name
  • Ops.Gl.Meshes.PointCloudFromArray
Visibility
  • Core Op - Official cables op
AuthorTest 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


Usages of PointCloudFromArray

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


added vertex color supportuser avatarpandur - 2019-06-20
Ops.Gl.Meshes.PointCloudFromArray renamed to Ops.Dev.Gl.Meshes.PointCloudFromArrayuser avatarpandur - 2021-08-04
Ops.Dev.Gl.Meshes.PointCloudFromArray renamed to Ops.Gl.Meshes.PointCloudFromArrayuser avatarpandur - 2021-08-06