Hi Kataev? Victor? Could you sign with the name you'd like to be addressed as it's difficult to guess.
On Wed, Jun 8, 2011 at 1:56 PM, Kataev Victor <[email protected]> wrote: > I connected the camera, which returns createHud to osgViewer, Hud has been > successfully drawn over the 3D-model, but when i change POST_RENDER to > PRE_RENDER, an image of 3D-model (simple pyramid) among an empty space > entirely overlaps Hud The main Camera will be clearing the colour buffer and depth buffer before it draws, so what you need to do is disable the clear of the colour buffer. The osghud example shoes this for the HUD camera which is the overlay, you just need to apply this to the main viewer's Camera or what ever Camera you are using for the main 3D scene. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

