Sign in to follow this  

Möller–Trumbore intersection algorithm

Recommended Posts

football94    211

HI guys


 I just wanted to get some more advice on triangle intersection, Ive looked at

different approaches when it comes to  ray triangle intersection and was just wondering is the

Möller–Trumbore intersection algorithm the best one to use and is it used in

AAA games or does it even matter.







link is wikipedias definition



 a youtube link of a project Ive seen not using Möller–Trumbore

Share this post

Link to post
Share on other sites
Vilem Otte    2938
It heavily depends on how do you define "best".

If you aim for speed in F.e. ray tracing, you most likely want either Wald's test or Woop's test (note that both need non-standard definition of triangle).

If you aim for precision, MT test isn't the best either, you most likely want some test that doesn't use ugly epsilon.

If you aim for good test (in terms of speed) and pretty precise test, you most likely want some kind of barycentric intersection test (MT is one of them) - so basically it should work for this purpose.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this