Local Info

Topics

j3d.org

3D Texture Example

3D textures are a little-used part of the 3D graphics capabilities. There are plenty of reasons to - mostly due to the amount of video memory that a decent texture can consume. However, with the advent of programmable shaders, they are starting to see a lot of use as coders can use them as a 3D-lookup table for the visual output. In this example, we'll show you through a basic texture setup that is used to apply visuals to an object.

If you would like to see the complete version of this code, it can be found in the examples/texture directory and is named Texture3DDemo.java.

 

Setting up the application

TBD