Monday, 9 June 2014

Voxeliser Node Demo

Here is a short demo of the Voxeliser Node i created for Maya using C++ to create a custom Maya node.  It accepts a mesh as an input to be "Voxelised" and outputs polygonal geometry to be connected to a shape nodes "inMesh".




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