Hi all,
My brain's not working today so maybe you can help with this one.

I have a scene with a HUD:

   scene -> HUD camera -> HUD geom

The HUD camera is POST_RENDER, ABSOLUTE_RF, and works great. Now I want to
render this graph to a texture. So I have:

   RTT camera -> scene -> HUD camera -> HUD geom

The RTT camera is PRE_RENDER.

The scene renders to texture, but the HUD does not appear. Well of course
not; it is POST_RENDER. So I tried PRE_RENDER with an adjusted render
number, but no luck. With NESTED_RENDER I do see the HUD, but alpha blending
is wrong and it appears that the ortho projection matrix gets mangled.

What is the proper way to combine a HUD with RTT? Thanks much. -gw

--
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to