Repository

Topics

j3d.org

Geomtery Intersection Tools Implementation

Unlike the generalised picking tools that sun provides with its standard utility classes, these tools are a limited function, but more highly optimised for their intended use.

General layout

The intersection utilities class is layered so that you can use any particular test that you need. We provide everything from the really low level ray to polygon intersection test to a high level tests where you can ask for intersection information or highly detailed information like texture coordinates of the intersecting ray.

Ray-Polygon Intersection

When dealing with ray polygon intersection tests, we use the standard inside-outside test. This algorithm is described in almost every single 3D graphics textbook available. For an online reference, we point you to the Siggraph educational materials site.