View Single Post
  #1  
Old 04-23-2008, 01:33 AM
stefs stefs is offline
Member
 
Join Date: Mar 2008
Posts: 10
3D Texture Mapping - gluBuild3DMipmaps not supported

Hi,
I am running into problems when trying the 3D texture mapping functionality in the latest Vizard release. I am drawing a cube using a specific fragment shader which is supposed to do volume ray-casting. The uvt-texture coordinates arrive correctly at the fragment shader. My problem occurs when generating the 3D texture. To that end, I built a Image Generator plugin, based on the 2D version provided with the SDK. Changing all image and texture OSG functions to their equivalent 3D versions works fine and everything compiles nicely.
When running the application, however, it prompts

”Error: gluBuild3DMipmaps not supported by OpenGL driver”

I am using a nVidia Quadro FX4600, with the most recent driver (april 2008) updated.
Has anyone tried successfully building/loading/using 3D textures?

stefs
Reply With Quote