From Wang Rui, "Some developers report that the osgviewerMFC example is broken in 3.2, in which depth test is not enabled by default so all models loaded look awkward. I submit this patch to make it work again. I haven't gone deep to check why previous example goes wrong in newer version but I believe the problem was because the newly created camera object missed some important global statesets before set as the main camera."
From Wang Rui, "Some developers report that the osgviewerMFC example is broken in 3.2, in which depth test is not enabled by default so all models loaded look awkward. I submit this patch to make it work again. I haven't gone deep to check why previous example goes wrong in newer version but I believe the problem was because the newly created camera object missed some important global statesets before set as the main camera."



openscenegraph/osg,tomasthoresen/osg,jtorresfabra/osg,openscenegraph/osg,marchelbling/osg,openscenegraph/osg,tomasthoresen/osg,artoolkit/osg,tomasthoresen/osg,scrawl/osg,openscenegraph/osg,artoolkit/osg,scrawl/osg,scrawl/osg,marchelbling/osg,marchelbling/osg,jtorresfabra/osg,tomasthoresen/osg,jtorresfabra/osg,marchelbling/osg,scrawl/osg,jtorresfabra/osg,artoolkit/osg,artoolkit/osg