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

PointCloudFromArray Op

Ops.Gl.Meshes.PointCloudFromArray


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.



Inputs

exe (Trigger)

Trigger the op

Array (Array)

xyz array in

Num Points (integer /Number)

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

Texture Coordinates

Scramble Texcoords (boolean /Number)

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

Seed (Number)

Random seed for Scramble Texcoords

Coordinates (Array)

Array2 for texture coordinates to cover your point cloud

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"

Outputs

Trigger out (Trigger)
Geometry (Object)

Outputs geometry object

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

linepoints

Open Example In Editor


Youtube Video Tutorial

Patches using PointCloudFromArray

Changelog


added vertex color support
2019-06-20 - pandur

Ops.Gl.Meshes.PointCloudFromArray renamed to Ops.Dev.Gl.Meshes.PointCloudFromArray
2021-08-04 - pandur

Ops.Dev.Gl.Meshes.PointCloudFromArray renamed to Ops.Gl.Meshes.PointCloudFromArray
2021-08-06 - pandur