WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 04-23-2008, 11:00 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
There is a bug in the OSG library that doesn't allow generating mipmaps for 3D textures. There are 2 workarounds for this:

1) Don't use mipmapping by setting the min filter of your texture to LINEAR.

2) Email me at lashkari@worldviz.com and I will provide you with a patched version of osg.dll that should support 3D mipmapping.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Texture Mapping in Vizard? stefs Vizard 2 03-25-2008 03:34 AM
mapping method FlyingFish Vizard 1 07-12-2007 09:06 AM
texture mapping problem dellatails Vizard 1 03-12-2006 11:13 AM
how I can get my texture to appear exactly as is defined mspusch Vizard 1 04-23-2005 12:12 PM
avatar head texture issues rconrey Vizard 3 11-17-2004 04:05 PM


All times are GMT -7. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC