Hi David, The chances that the performance issues you are seeing being OSG related are pretty close to 0.0, it almost certainly a driver/hardware limitation. I'd recommend trawling ATI dev sites on recommendations about using of FBO's and things like fog. Also try NVidia hardware.
Robert. On 3/8/07, David Spilling <[EMAIL PROTECTED]> wrote:
Dennis, Thanks for the pointers, but at least turning off BlendFunc/AlphaFunc via node->getOrCreateStateSet()->setAttributeAndModes(new osg::BlendFunc, osg::StateAttribute::OFF | osg::StateAttribute::OVERRIDE) doesn't improve the situation. I've created a test example by very slightly modified the osgprerender example to assign fogging to the loaded model (if a --fog option is specified), this example is attached. I get the following: osgprerender cow.osg : works fine (i.e. RTT On RGBA) osgprerender cow.osg --fog : works fine osgprerender cow.osg --hdr : works fine (i.e. RTT on RGB32F) osgprerender cow.osg --hdr --fog : massive performance drop (from >100 to <1 fps) I've tried it on two ATI cards (Radeon 9600 and X850), both with latest drivers, so I don't think it's the card, unless there is some fundamental OpenGL/hardware reason why this doesn't work. Am I being stupid and missing something? Is fog on a floating point buffer just impossible? If it's OSG's fault, is there any chance this is fixed on SVN? David _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/