Hi,
I recently update my Win32 Nvidia driver and it seams there's something broken 
with these:
in osgVolume's fagment shaders

Code:
    float num_iterations = ceil(length(te-t0)/SampleDensityValue); 


crash the driver when length tend toward 0
Haven't investigatin too much but replacing ceil by int conversion seams to do 
the tricks

Code:

int temp= length((te-t0).xyz)/SampleDensityValue;
    float num_iterations=temp;





... 

Thank you!

Cheers,
Julien

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to