Hi all,

This is one of those strange annoying ones, and I'm hoping some of you will 
have some insight or pointers or suggestions on what might be wrong.  I've 
spent weeks on this myself, so I don't come to ask help from the forum 
lightly...

I have been using osgVolume fine for years - Vista x64, VS 2008, on an ATI 
Radeon HD 4850.  Vista comes with some Microsoft drivers for this video card, 
so I just used them "out of the box".  No issues.

Then about a month ago I let Vista install some newer Microsoft drivers.

Suddenly, osgVolume rendering went blank.  Lovely, empty, black screen.  This 
applies not only to my code, but to the osgVolume example that comes with OSG.  
I have tried versions 2.8.3 (what I was on when the problem started) 3.0.0 and 
3.0.1 and all have the issue.

I have tried the latest ATI Catalyst drivers.  Same deal.  I have tried a fresh 
install of Windows 7 (MS drivers and ATI drivers).  Same deal.  I bought a 
newer ATI card (6670) to ensure it wasn't dodgy hardware.  Same deal.  The 
executable runs just fine on other PCs (w/ nVidia cards).

In terms of what is happening in the code, I have used gDEBugger and can tell 
you the following:

1. The 3D texture is on the video card just fine; I can see it clear as day in 
gDEBugger.

2. The ray tracer fragment shader program seems to do most things right, except 
sampling the 3D texture.  If I change the program in gDEBugger to set the 
output fragColour to, say, (.5,.5,.5,.5) I get a happily spinning grey cube.  
If I change the program to just take the maximum x/y/z/w values it sees as it 
samples the ray through the texture, I still get all black, so I can only 
assume all the sampling results from the 3D texture are (0,0,0,0).

3. When I rebuild the glsl program in gDEBugger, I get the following: 
"Validation warning! - Sampler value baseTexture has not been set".  This made 
me think the texture is not bound to the variable correctly, but I've traced 
through the relevant calls and they seem to be called in the right GL context, 
and the IDs seem to be right, so I'm not sure what this warning means... but 
then I'm not an expert.

It seems like there's something done in OSG that doesn't agree with the latest 
ATI drivers, but I'm not sure this is a global problem as noone else has said 
anything...

So my questions:

1. Does anyone else have an ATI Radeon card on Vista or Win7 with the latest 
ATI Catalyst drivers, and is having success running the osgVolume example?

2. Can anyone give me some insight or tips as to what might be going wrong and 
ways to rectify it?

Thanks.
Mark.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41902#41902





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to