View Full Version : Need some help about voxelization

11-03-2010, 08:22 PM
Hello everybody, till now I have never voxelized any object. I have some mri data. I need to read it and voxelized it. later I need to do some editing with the voxelized object. Can anyone help me with some simple tutorial about voxelization so that I can start my work.

Thank you all in advance.

11-04-2010, 01:12 AM
Simple bruteforce algorithm : draw a small cube for each value in the 3D mri array that is above a given threshold.

Better : draw an isosurface with marching cubes (http://en.wikipedia.org/wiki/Marching_cubes) or related techniques.

11-04-2010, 02:25 AM
I understand for editing purpose I need to use isosurface and mark voxels with that value. It would be very kind of you if you cite some example code.

11-04-2010, 03:05 AM
Right at the bottom of the Wikipedia page I gave.
Feel free to come back when you have an OpenGL question :)

11-04-2010, 06:32 AM
Thank you!