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, it's a skill that will help your throughout your career.  We
can point you in the right direction but you need to walk the journey.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[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 topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29257#29257





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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 topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=29257#29257





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org