Hi Juan, The issue that bites users creating multiple successive graphics windows is that GL objects handles that the scene graph holds aren't cleared properly when a new context is created. You don't say anything how you've gone about creating your context and destroying them, and the relationship with what you do with the scne graph, or even the OSG version that you use. All we know is that you Qt and OSG in some way, and have a problem.
Given I know so little about your specific setup I can do no more than general guess like the above. Could you provide a bit more of the above info. Robert. 2011/3/9 "Juan S. Valverde García" <[email protected]>: > > Hi all, > I'm building a scene with different parts coming from 3DS files > transformed to IVE (self lighting off). I manage and build my scene, > motion etc, from osg code. I coded lighting and shadows using > osg::shadowmap. (used softshadow map too). I use GL_Lighting with two > lights, GL_Light0 and 1. > I call the viewer from another application based on Qt but not embedded > or any complicated way, just open a viewer. Fist time it opens it works > just fine. The problem comes when I close the viewer and run it again. > From the second time and on, third, fourth etc, my scene seems to be > blurred, too much light. > I attach two captures, the second blurred. > Thanks a lot for any help. I'm quite desperate now. I'm not an expert on > visualization and this problem seems to me like a black box. > Regards > Juan > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

