iam facing a problem how i can cut into a 3D texture with irregular shape so that i can visualize internal parts of the volume
thx for help
Hi,
If your geometry and volume data is decoupled, this is quite easy. Otherwise you could “carve” out the structure by altering the volume data directly.
– Niels
Have you tried letting OpenGL generate the texture co-ordinates (OBJECT_LINEAR) when you draw the shape?
(using glTexGenf( GL_S, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR) etc.)
That should work if you have a true 3D texure setup.
HTH
Jean-Marc.