PointMaterial_v6 Op
Draw all vertices as points / circles
Summary (oneliner)
Draw all vertices as points / circles. Combine this op with pointCloudFromArray to draw point clouds with a xyz array.
Atlas
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.
- Ops.Gl.Shader.PointMaterial_v6
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch pointmaterial example
INPUT PORTS
Size
Color
Texture
Size
Atlas
OUTPUT PORTS
Patches using PointMaterial_v6
Changelog
feature | added alpha | pandur - 2021-03-19 19:34 |
feature | added texture atlas lookup texture input and more atlas functionality | pandur - 2024-01-18 16:00 |
feature | Added rotation texture input: will 2d rotate the texture coordinates of the billboard by the red color channel value (1==360 degrees) | pandur - 2024-03-19 17:46 |
improvement | Added minimum pointsize parameter, e.g. set to 1 to make points always visible | pandur - 2024-04-17 11:36 |
bugfix | New version v6: Fixed problems with HDPI, high pixel ratio displays - multiply pixel ratio with point size in vertex shader | pandur - 2024-09-16 17:34 |