Hi Zach,

  I was hoping my application wouldn't require an OpenGL graphics
context since Robert said it shouldn't be neccessary as in his
osgintersection example:

Robert> The code also doesn't require the use of OpenGL graphics context so
Robert> you do all the tests in non graphics applications, yes even I have to
Robert> recognise that such applications do exist :-D

Thank you,

Linh

Zach> Linh,
Zach> 
Zach> Now that I think about it there must be a way.  When you hit 3 to go into
Zach> driving mode you follow the terrain normal.  Take a look at
Zach> osgGA::DriveManipulator.  It does this with
Zach> hitList.front().getWorldIntersectNormal();
Zach> 
> -----Original Message-----
> Hi,
> 
>   I was wondering if there is a "getWorldIntersectNormal" for the
> corresponding LineOfSight "getIntersections", ie, can I get the
> WorldIntersectNormal (los.getWorldIntersectNormal(i)?) for the intersection
> point I get back from "los.getIntersections(i)"?
> 
> Thank you,
> 
> Linh
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to