Hi Anikta, On Mon, Dec 7, 2009 at 8:55 AM, Ankita Chauhan <[email protected]> wrote: > Plz tell me how i can draw a line on the rendered scene.
See the osggeometry example for examples of how to render different primitives. If by drawing you mean use the mouse the "draw" on the scene then see the osgpick example for how to compute intersections with the scene. >Also, Is there any way to find out the end point coordinates of this line. If >this can be done, then those coordinates will be coordinates of screen or the >coordinates of the scene?? The osgpick example illustrates how to get the coords. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

