Bonjour Jean-Claude,

I have been able to run osgOcean by modifying the shaders, but the frame rate 
was not acceptable (15 FPS).  I have also applied the patch to Texture.cpp, but 
it didn't resolve the FBO errors.
Given the framerate is too low, I stop trying to run the software on that 
graphics card.

I have used osgOcean on a 7900GTX in the past, and performance was acceptable, but not great. The 7900GTX is the high-end card of the 7000 line, whereas the 7300GT is on the low end, so your results don't surprise me.

You could probably get better results if you're willing to lower the resolution of the mesh osgOcean generates. Have a look at the parameters to the constructor of FFTOceanSurface. Plus, you'll probably want to disable all effects (reflection, refraction, silt, god rays, depth of field, etc.) and remove the shaders altogether. Doing this, I have been able to get acceptable performance even on laptop integrated chipsets... Of course then it doesn't look so great, but the client required any ocean representation, and it's better than a blue flat plane. ;-)

So if you're willing to do some testing, disabling things and re-enabling them to find your sweet spot, you should be able to use osgOcean on most graphics hardware.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to