Hi,
Thanks for the code. My application needs different object in the .obj file to be distingishable after voxelization. To give an example to make the problem more clear: Say that there is a glass filled with water as 3D model and I saved this as an .obj file. So in the .obj file Glass is one object and water inside is another object (which is a cylinder in fact). After voxelization I want to get a 3D matrix saying either 'G' for glass or 'W' for water and 'A' for air, in its cells.
Is there a way to achieve this using your code? Does your code handles different objects in the .obj file seperately?