Thank you for your replies. @Alexandre: I don't want to move the camera, I only need an overlay of the current object on top of the screen.
@Robert: This is not at all what I'd like to have. I think, when I implement it in the way you suggest it, the flight object will always be on top. But it should also stay in the scene on the given position. What I have done till now is a second camera for a HUD, which contains additional draw objects (like quads, circles, triangles). These object are free in position on the 2d screen. Now I want one of these objects to overlay always the flight object. These objects shoud stay fixed in their size on the screen, indepent of the current zoom level. So it could happen that the overlay objects only overlays parts of the flight object or the entire object. Another requirement of this, is to show the position of the flight object when it's not on the current viewed clip (/scene). So when the flight object moves out of the current screen the overlay should stay on the border of the screen and show the position of the flight object, so that the user knows where to find the specific object. I hope it's now more understandable. Thank you! Hen ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55778#55778 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

