Hi Martin,

Mixing OpenGL apps/toolkits with the OSG requires one to be very
careful about the state both the OSG side and the other OpenGL code
side to make sure that neither interfere with each other.  I've
written about the issues plenty of times on osg-users so have a trawl
through the archives.  In general I would just recommend trying to
avoid mixing is it certainly makes for an easier life alround.

Robert.

On Tue, Jun 15, 2010 at 2:05 PM, Martin Scheffler <[email protected]> wrote:
> Some notes: The captureCurrentState command never catches any states. In OSG 
> head, the camera does not even have a state.
>
> The push/popClientAttribute method causes problems with terra page terrain 
> rendering. When I include it, the GUI looks good, but the terrain is screwed 
> up. Adding glEnableClientState(GL_VERTEX_ARRAY) makes the terrain visible, 
> but the texture coordinates seem to be broken.
> When I don't include the client attribute stuff then the Qt GUI becomes 
> warped at some specific camera angles. Any ideas?
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=28948#28948
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to