Hi all, I am having a problem with text rendering for a simple HUD, here is what I am trying to do :
-> Create an HUD camera with a osg::Camera with an ortho 2D projection -> Write a simple text with osgText -> Put a quad above the text to hide the text So my scene graph looks like that : osg::Camera | --- osg::Geode - osgText::Text | --- osg::Geode - osg::Geometry My camera has GL_DEPTH_TEST to OFF but with this setup the text is rendered above my quad. You can find attached a picture showing the problem and my code. Am I doing something wrong ? Do I need to set the renderbins of my objects manually to get them rendered in the correct order ? Thanks in advance for your help. Cheers, -- Serge Lages http://www.tharsis-software.com
<<attachment: Test.jpg>>
Main.cpp
Description: Binary data
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

