Hi everyone,
This is a script to create a solid wireframe version of a mesh. The script goes through the polygons and replaces edges with hair primitives and vertices with spheres.
Usage
1. Add a Scripted graph node and load the script "wireframe.lua" into it.
2. Plug the geometry node you want to convert into the Geometry input.
3. Adjust the radius of the spheres and rods using the Vertex radius and Edge radius fields.
Feedback, bug reports and suggestions are highly appreciated.
Thanks!
Lua script:
Demo ORBX:
Wireframe geometry (atom array)
Thanks. I can't really tell that only the material changed unfortunately. We get a callback that the source geometry node changed somehow, but there is no granularity on what changed about it.manalokos wrote: -Script is rebuilding mesh even if there is a change in the material, (should evaluate only if geometry changes?)