You could inherit from the stock IntersectVisitor and implement
getEyePoint et al.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lionel
Lagarde
Sent: Tuesday, July 10, 2007 8:35 AM
To: osg users
Subject: Re: [osg-users] IntersectionVisitor

 

Thanks for the quick answer.

<mea culpa>
    I've look at the intersection visitor code after sending the mail
</mea culpa>

So, I'll stay with the old IntersectVisitor.



Paul Martz wrote: 

        So, how can it handle LODs ?

 
If you would take a look at the IntersectionVisitor code, you'd see that
IntersectionVisitor overrides apply(LOD&), but the code is identical to
apply(Group&). So that should answer your question.
 
Presumably, it overrides apply(LOD&) because Robert intends to do
something
different with LODs in the future. But for now it just treats them like
Groups.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
303 859 9466
 
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
 

 

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to