Hello Robert,

> My modification is in the PrimitiveShapeVisitor, and is based on the
> DrawShapeVisitor - I added methods called createCylinderBody and
> createHalfSphere, and used them in apply(Cylinder&) and
> apply(Capsule&). In my testing they work fine, tested even with
> transforms and moving around the scene.

I forgot to mention that I also did a bit of cleanup in the other  
methods of PrimitiveShapeVisitor, which had clearly also been copied  
from DrawShapeVisitor (they still calculated texcoords even though  
they were not used in the picking). So I just removed unused variables  
and such.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to