Skip to content

Akira-Hayasaka/ofxRayTriangleIntersection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ofxRayTriangleIntersection

Ray casting addon for intersection detection between ray and triangle. Typically useful for judging "point inside 3D object".

Cast 6 rays - along both positive and negative x, y and z directions from point. Count all the intersection with the triangle along each ray. If all of the rays' collision count with the geometry is an odd number, the current point is inside the object (3d hull).

And please check here. http://softsurfer.com/Archive/algorithm_0105/algorithm_0105.htm

usage

see the example_SimpleTri testApp.h/.cpp

About

Ray casting addon for intersection detection between ray and triangle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages