PDA

View Full Version : i need source code of voloume rendering based 2dTexture



guoxusheng
01-13-2003, 04:49 AM
hai , i need complete source code of voloume rendering based 2dTexture in vc++/opengl on windows platform. who can help me? it's very important for me to start my work.
thank you very much!
my email: guoxusheng@hotmail.com

JustHanging
01-13-2003, 05:07 AM
Hi,

The possibilities of volume rendering with 2d textures are quite limited, and the implementation is heavily dependent on the effect you want to achieve. You'll have to be a lot more specific than that, altough I doubt anyone is going to give you complete code anyway.

In general you can either have lots of 2d textures presenting slices in the volume, or you can present the volume with some multitexture trick usually involving crossed textures.

-Ilkka

painterb
01-13-2003, 06:18 AM
Would you like fries with that order?

dorbie
01-13-2003, 05:21 PM
2D volume rendering is quite easy and was essential on some hardware before 3D texturing became common. The drawback is typically you need 3 copies for the various orientations of the volumes along the cardinal axes to sample the slices correctly.