Hi to all,
I did a C++ program performing calculations to get a huge list of voxels (3D pixels). My voxels are objects with parameters describing their first corner position in space (x1,y1,z1) and a side measure.
Now, I want to display these cubes(voxels) in a 3D cartesian plan using glut.
I tried to use the glutSolidCube(dim) function to generate each voxel by looping in my list but it doesn’t work. I tried to place this loop inside the usual, as presented in tutorials, Display function. I feel I’m trying to force an unorthodox method of doing…
Can you point me an example, a reference site or explain the concepts usually used to proceed in such cases. I dont know where to check anymore. I just want to hack my way and then refine my prog.
Thanks in advance,