[osg-users] Migration from OSG 3.1.5 to 3.4.0 / Qt 4 to Qt 5
Robert Osfield
robert.osfield at gmail.com
Mon Jan 4 14:27:56 PST 2016
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" <andrewC at mac.com> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160104/3168843f/attachment.htm>
More information about the osg-users
mailing list