In the absence of existing data, what are your constraints for drawing these lines in 3D?
Can they be coplanar in 3D space? >From your description, it sounds like you're drawing a line with the mouse using 3D picking on existing points in 3D. Is this correct? -Shayne -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Lalit Manchwari Sent: Monday, January 09, 2012 5:50 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Draw line in 3D screen Dear Robert: Thanks for input. I am trying to re-phrase my question. I have loaded a 3D data (X,Y,Z) on screen and can see these points as in screenshot_1. Also, I can, using mouse, draw line through these points (also shown.) However, if I want to draw a line as shown in screenshot_2, I am not able to do this, as this line does not passes through any loaded data. What can be the procedure to draw these lines using mouse which are not passing through any data point. Thank you! Cheers, Lalit ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44707#44707 Attachments: http://forum.openscenegraph.org//files/screenshot_2_123.jpg http://forum.openscenegraph.org//files/screenshot_1_443.jpg _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org