Skip to main content
gamedev.net
🔒 Locked

3d textures

Started by darkzim Nov 6, 2004 at 8:02 PM 1 replies 850+ views
Original Post
darkzim
darkzim
What exactly are volume textures, and how do I use them? I've heard of them described as several layers of parrell quads stacked on top of each other, but I really don't know what to think of them. Thanks in advance -darkzim
---------------------------------darkzim
Samith
Samith
I think they are basically like 2d textures, only with a 3rd axis. Like, in a 2d texture, you have x*y pixels. In a 3d texture, you have x*y*z pixels. Like a box full of pixels, instead of a rectangle full of pixels.

I've never seen anyone use them before, and I don't really know what the point of using them is. I'm pretty sure lots of medical imaging apps make heavy use of 3d textures. Not exactly sure how they work it, but I'm pretty sure they do do it. Not many consumer videocards support them though.
Bradsco
Bradsco
One specific instance for using 3d textures would be texture animation... possibly for particles. Just think of your volume texture as a flipbook that you can reference multiple versions of an image with a depth variable. This saves you from having to switch texture contexts when updating your animation.
I set the clouds in motion, turn up light and sound...Activate the window, and watch the world go 'round

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.