Re: [osg-users] drawing a line using mouse

2010-07-06 Thread Robert Osfield
Hi Devanshi, On Tue, Jul 6, 2010 at 6:06 AM, Devanshi Tiwari devir...@gmail.com wrote: i have understood the concept but i cant implement it. as in i have all the code in the program but somehow it doesnt seem to run I'm sorry but you'll need to learn how to write and debug programs yourself,

Re: [osg-users] drawing a line using mouse

2010-07-05 Thread Devanshi Tiwari
Hi Robert, i have understood the concept but i cant implement it. as in i have all the code in the program but somehow it doesnt seem to run Thank you! Cheers, Devanshi Tiwari -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29710#29710

[osg-users] drawing a line using mouse

2010-06-24 Thread Devanshi Tiwari
Hi, i am new to osg.i have learnt to plot a scene using a LAS file in osg. now i wish to draw a line using mouse on my scene and using the coordinates of the end points find the distance covered by that line. can anyone guide me plz Thank you! Cheers, Devanshi :P -- Read this

Re: [osg-users] drawing a line using mouse

2010-06-24 Thread Robert Osfield
Hi Devanshi, Have a look at the osgpick example for the mouse to scene intersections, and osggeometry for line rendering. Robert. On Tue, Jun 22, 2010 at 11:15 AM, Devanshi Tiwari devir...@gmail.com wrote: Hi,  i am new to osg.i have learnt to plot a scene using a LAS file in osg. now i wish