I'd like to create a fixed background for an osg application, much like a
HUD but while the HUD is always on top of the scene, I need to have an image
always behind any 3D object.

I tried to modify the example about HUDs by changing:

setRenderOrder(osg::Camera::POST_RENDER);

into this:

setRenderOrder(osg::Camera::PRE_RENDER);

but I guess that this is not sufficent to achive my goal, because actually
the background image is not displayed at all (or maybe it is covered by the
scene...).

How can I create the desired effect?
Thanks in advance.
Alessandro
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to