Archived

This topic is now archived and is closed to further replies.

El_Bosso

GL_TEXTURE_3D?

Recommended Posts

Hi, has anybody a idea what are the 3D Textures for? Every book/tutorial I know, says that theire exist but none use it it, so what are "volume textures" for?

Share this post


Link to post
Share on other sites
TESTURES3D are almost for scientific stuffs.

you can consider them as many TEXTURES2D nearby each other, separating from one pixel (or more, or less i think).

it''s very huge to do that and i advise using a very good 3Dcard.

you can use them to make a vision of a skull, or making environmental view...

Share this post


Link to post
Share on other sites
They''re good for landscapes. You can have a 3D texture which is blue at the bottom and greener as it goes towards the top, including things like soil and rocks in it, then wrap it, repeating a your landscape. It would look great. They''re very big though, so you''d probably want to stick to small textures.

www.elf-stone.com

Share this post


Link to post
Share on other sites
3D textures can also be used to encode distance attenuation for per-pixel lighting. One can also use 3D textures for texture animation: each slice represents a frame, to play the animation you simply adjust texture coordinates.

Edit: the NVIDIA opengl SDK contans a good presentation about 3d textures.

-Lev

[edited by - Lev Povalahev on March 21, 2002 9:49:41 AM]

Share this post


Link to post
Share on other sites