# Any plane tutorials explaining how to use them etc?

This topic is 4987 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I'm starting to use planes alot in my calculations, eg collisions etc. So basically I want a tutorial that explains how to do 2d calculations on a 3d surface, that is treating the 3d surface(eg a triangle) as a plane. Thanks

##### Share on other sites
Quote:
 So basically I want a tutorial that explains how to do 2d calculations on a 3d surface, that is treating the 3d surface(eg a triangle) as a plane.
Can you be more specific? What sort of calculations are you wanting to do?

##### Share on other sites
check this site out. go to the HyperMath section they have a lot of good stuff.

##### Share on other sites
Quote:
Original post by jyk
Quote:
 So basically I want a tutorial that explains how to do 2d calculations on a 3d surface, that is treating the 3d surface(eg a triangle) as a plane.
Can you be more specific? What sort of calculations are you wanting to do?

Like finding the point where a line is hitting the triangle(plane). eg collision detection.

To see if the point is inside of the triangle plane or not.

##### Share on other sites
Quote:
 Like finding the point where a line is hitting the triangle(plane). eg collision detection.To see if the point is inside of the triangle plane or not.
Topics to google/search the archives/check the faq/look in the articles section for:

"ray plane intersection"
"ray triangle intersection"
"ray polygon intersection"
"point in polygon"
"point in triangle"
"pluecker (or plucker) coordinates"
"barycentric coordinates"
"tomas moller"

References:

geometrictools.com intersection code.
This book, p. 293.
This book, p. 84.
This book, p. 190.

And so on. Just remember that not all ray-tri tests are created equal; each has its own strengths and weaknesses (sometimes mostly weaknesses...).

• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

• 17
• 14
• 10
• 9
• 11
• ### Forum Statistics

• Total Topics
634097
• Total Posts
3015505
×