Areas
  • J3D FAQ
  • Tutorials
  • Utilities
  • Books
  • News
  • Other Sites
  • FAQ Topics
  • Introduction to Java 3D
  • Documentation
  • Speed issues
  • Running Java 3D
  • Object manipulation
  • Scene appearance
  • Java 3D and Swing
  • Image capturing
  • Stereo viewing
  • Input Devices
  • Textures
  • Web browsers
  • Video Hardware
  • VRML
  •   

    Textures

    1. 3D Texture mapping

    2. 2D Textures not displayed under java 3d 1.2 beta 1

    Return to the main FAQ page for more questions and answers.

      

    1. 3D Texture mapping

    The example program, Texture3DTest.java shows how to do this.

    Thanks to Doug Gehringer for providing this example.

    From Kevin Rushforth, one of the members of the Java 3D team:

    Currently, Java 3D only takes advantage of 3D texture mapping on Solaris systems. On win32, the OpenGL version of the Java 3D dll is compiled with the Microsoft OpenGL header files, which do not define the 3D texture mapping extension. We will look into ways to provide support in a subesequent version. Depending on what Microsoft does, we may or may not be able to take advantage of OpenGL 1.2 (which includes 3D texture mapping) or 3D texture mapping extensions in 1.1. Other alternatives include emulating 3D texture mapping by using 2D texture mapping slices. We will explore this for our next version of Java 3D (J3D 1.2).

    Back to top

    2. 2D Textures not displayed under java 3d 1.2 beta 1

    Set the system property j3d.sharedctx to false.

    You can do this on the command line by setting:

    -Dj3d.sharedctx=false

    on the command line.

    This will be the default setting in a future release.

    Back to top

      

    [ Copyright Info ] [ FAQ Home ] [ J3D.org Home ] [ Tutorials ] [ Utilities ] [ Books ] [ Contact Us ]