Re: [osg-users] Simple line construction in a 3d Space

2010-04-28 Thread Jason Daly

Richard Redding wrote:

Hey all!,


I need to use a line in 3d space and hold one end fixed to a wall and then 
P.A.T. the other point through data which I am sending it in real time sort of 
like a tracker.

I have a hunch to do this would be through the:

osg::Geometry* newLine = new osg::Geometry();

but I'm not sure how to go about actually getting the line up and running. If 
you could help me with this preliminary code that would be great!
  


I think the osggeometry example has what you're looking for.

--J

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


Re: [osg-users] Simple line construction in a 3d Space

2010-04-28 Thread Richard Redding
[quote=Jason Daly]Richard Redding wrote:

I think the osggeometry example has what you're looking for.

--J

[/quote]

Hey J, 

I'm really wet behind the ears on this site. Do you think you could link me to 
what you are talking about :D!!!

Thanks for the help! I appreciate it!

Cheers mate,

Rich

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27407#27407





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


Re: [osg-users] Simple line construction in a 3d Space

2010-04-28 Thread Jason Daly

Richard Redding wrote:

[quote=Jason Daly]Richard Redding wrote:

I think the osggeometry example has what you're looking for.

--J

[/quote]

Hey J, 


I'm really wet behind the ears on this site. Do you think you could link me to 
what you are talking about :D!!!
  


Sure.  I'm assuming you've already downloaded OSG.  If you just go to 
the examples directory off the root of the OSG install, there are 
quite a few examples there showing off various features.  The 
osggeometry example showcases the Geometry class.


--J

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