Convert 3D Patch Data to 3d array/matrix (from surf, patch, or VRML import)
Posted on 2009-04-24
Good day everyone,
I currently have several 3D meshes/patches I've created by either:
a) Generating them with patch/surf commands
b) Importing VRML files exported from 3D graphics design applications, like MAYA
I am trying to find a way to convert these 3D polygon-based models into a 3D array of voxels so that I can essentially define a 3D coordinate, and know the pixel intensity value at that point. This would allow me to essentially quantize the 3D model into discrete points, and perform histogram analysis on it.
Any help would be very much appreciated. Thank you in advance,