convert vertices of a geometry to a data texture
summary (oneliner)
Once triggered this operator converts a given geometry to an HDR texture where every pixel contains XYZ position data of the given geometry, represented with RGB values.
doc
issues
youtube id
caniuse query
collections
Inputs
Trigger the op
set the dimension of the square texture
Texture settings
Pick a filter mode with an integer
Pick a wrap mode with an integer
Outputs
Trigger out
Texture out
Geometry to Texture
in this example we modify our cube geometry in realtime, and visualize the positional data as a texture to demonstrate how our geometry data is changing.
each pixel in this 25x25 pixel texture represents a position of a vertex from our demo cube. See how it smoothly changes from red to green to blue and everything in between?
you can further manipulate this texture with an imagecompose or plug it into a pointcloud.
Youtube Video Tutorial


Changelog
2021-02-27 - pandur
Ops.User.pandur.MeshToTexture renamed to Ops.Gl.MeshToTexture
2021-02-28 - pandur
Ops.Gl.MeshToTexture renamed to Ops.Gl.Meshes.MeshToTexture
2021-02-28 - pandur
added core lib: cgl_shadermodifier
2021-07-08 - pandur
Ops.Gl.Meshes.MeshToTexture renamed to Ops.Gl.Meshes.GeometryToTexture
2021-08-04 - pandur
Ops.Gl.Meshes.GeometryToTexture renamed to Ops.Dev.Gl.Meshes.GeometryToTexture
2021-08-04 - pandur
Ops.Dev.Gl.Meshes.GeometryToTexture renamed to Ops.Gl.Meshes.GeometryToTexture
2022-02-07 - pandur