Jump to content
  • Advertisement
Sign in to follow this  
jsg007

What is the fastest line-poly intersection algorithm?

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

I don't want to know where it intersects, only if intersects at all. I really need something fast, because i'm using this in a glsl pixel shader, and the algorithm i currently use works, but it's slow. The polygon is given by 4 vectors and one normal.

Share this post


Link to post
Share on other sites
Advertisement
Check out the resources from the Realtime Rendering book here...
http://www.realtimerendering.com/int/

They have a really good matrix of the best intersection algorithms.

Share this post


Link to post
Share on other sites
Quote:
Original post by mwnoname
Check out the resources from the Realtime Rendering book here...
http://www.realtimerendering.com/int/

They have a really good matrix of the best intersection algorithms.


Whoa. <Bookmarks page> Thank you...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!