PointMaterial_v6 Op

PointMaterial

Draw all vertices as points / circles


<p>Draw all vertices as points / circles. Combine this op with pointCloudFromArray to draw point clouds with a xyz array.</p> <h2>Atlas</h2> <p>Atlas Feature lets the user use Textures that contain multiple Images. The Images must be the same size and be arranged on the x axis. The atlas texture input will be used as an index texture. every pixel is the index of the atlas to be used. 0 is fist image, 1 is second image and so on. When using the Cross fade toggle, those images will be mixed: 0.5 is a 50% mix of the first and second image.</p>


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


INPUT PORTS


render (Trigger)

Size

PointSize (Number)
Size in Pixels (Number:

<i>boolean</i>

)

Random Size (Number)
Round (Number:

<i>boolean</i>

)

Round Antialias (Number:

<i>boolean</i>

)

Scale by Distance (Number:

<i>boolean</i>

)

Color

r (Number)
g (Number)
b (Number)
a (Number)
Vertex Colors (Number:

<i>boolean</i>

)

Texture

texture (Object:texture)
Colorize Texture (Number:

<i>boolean</i>

)

Texture Mask (Object:texture)
Mask Channel index (Number:

<i>integer</i>

)
 R  A  Luminance 
Texture Colorize (Object:texture)
Colorize Randomize (Number:

<i>boolean</i>

)

Texture Opacity (Object:texture)

Size

Texture Point Size (Object:texture)
Point Size Channel index (Number:

<i>integer</i>

)
 R  G  B 
Texture Point Size Mul (Number)
Map Size 0 index (Number:

<i>integer</i>

)
 Black  Grey 
Flip Texture (Number:

<i>boolean</i>

)

Atlas

Atlas Cross Fade (Number:

<i>boolean</i>

)

Atlas Repeat X (Number)
Atlas Lookup (Object:texture)
Rotate Texture (Object:texture)
Min Point Size (Number)

OUTPUT PORTS


trigger (Trigger)
shader (Object)

Patches using PointMaterial_v6

  • Examples
  • Public
  • My Patches

Changelog


featureadded alphauser avatarpandur - 2021-03-19 19:34
featureadded texture atlas lookup texture input and more atlas functionalityuser avatarpandur - 2024-01-18 16:00
featureAdded rotation texture input: will 2d rotate the texture coordinates of the billboard by the red color channel value (1==360 degrees)user avatarpandur - 2024-03-19 17:46
improvementAdded minimum pointsize parameter, e.g. set to 1 to make points always visibleuser avatarpandur - 2024-04-17 11:36
bugfixNew version v6: Fixed problems with HDPI, high pixel ratio displays - multiply pixel ratio with point size in vertex shaderuser avatarpandur - 2024-09-16 17:34