It uses ray-casting to detect if the mesh is at the next voxel position, and creates the cube through Mayas API rather than a python command. The reason for this was the idea to try and add various shapes to use as a voxel other than a cube.
I also implemented it as a node rather than a command, as this tool can also work on animated geometry as well as having animatable attributes.
The next feature im planning to add it the ability for the voxel to sample the color at the current position on the mesh. This will help to make retro style versions of existing characters etc.
No comments:
Post a Comment