Hi Andrew The reason why z buffer etc. Is off is the your setup hasn't set it up as there is no global stateset to the camera you are passing to the Viewer.
I have discussed this topic quite a but since OSG-3.2. Please see the archives. Robert. On 4 Jan 2016 10:02 pm, "Andrew Cunningham" <[email protected]> wrote: > Hi, > Although I now have rendering of my objects happening in my Qt5/OSG 3.4.0 > widget I am having a issue with simple polygonal objects rendering "on top > of each other" as if there is no depth (Z) buffer in operation. I am using > fairly vanilla OSG code to set up the model and camera that worked as > expected in a MFC/OSG 3.0.1 world. > > I am completely at a loss as to why a Z-buffer is not operating. GL_BLEND > is definitively OFF. > > Any ideas? > Thanks! > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=65937#65937 > > > > > > _______________________________________________ > 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

