View Full Version : cutting into 3D texture with irregular shape
Ultrasound
09-09-2002, 04:08 AM
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
Husted
09-09-2002, 04:59 AM
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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.