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?
Hi there,
First thanks for your convertor, I was looking for such a thing for a long time.
But this doesn't work un unclosed objects. I read the comments inside m file, it seems that its not possible to do this, I just want to know is there any way to work on unclosed objects too?
I think the java class is being used before it is imported. If you add "importAOIJava('voxelizer');" at the beginning of your code, this error should be solved. I'll fix this and upload a corrected version shortly.