Hello, 

"I also tested the IntersectionUtils from org.j3d.geom. They seemed
faster, but instead I have problems getting them to work correctly."

I used IntersectionUtils class sucessfully in my app, so perhaps I can help you.

What sort of geometry is used for your shape3D ? (trianglearray, trianglestriparray, ...)

In my case, I added a method in IntersectionUtils class who computes intersection with a triangle

and I make some tests with a subset of triangles containing the point of intersection with the ray and the shape 

________________________________________________________________________

  Roger Berggren <[EMAIL PROTECTED]> wrote:

Hi,

I'm trying to find the closest intersection point between the mouse
position and a huge (700, 000 vertices) Shape3D.

What is the best approach to try to find the closest intersection
point as fast as possible.

I have tried the com.sun.j3d.utils.picking classes, but for this size
they seem a bit slow, but they find the local coordinates correctly.

I also tested the IntersectionUtils from org.j3d.geom. They seemed
faster, but instead I have problems getting them to work correctly.

So I have one that's slow but correct and one that's fast but
not working :-)

How do one best organize the scenegraph with such a large
Shape3D for best picking performance?

Do you have 70 Shape3Ds with 10000 vertices or
1 Shape3D with 70 geometries or a single GeometryArray?

Any ideas, thoughts or examples are greatly appricated.

Best Regards,

Roger Berggren

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

Reply via email to