Jump to content
  • Advertisement
Sign in to follow this  
lol

intersection of 2 rays in 3d? [SOLVED]

This topic is 3594 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

Given two rays, both of which are defined by this equation: point = origin + direction * distance does anybody know how to figure out where they intersect? I already figured out how to tell if they are parallel, and if they are on the same line, but I just can't figure out the intersection point. Thanks in advance for your help. Edit: Never mind, I found some instructions at http://forums.sun.com/thread.jspa?messageID=4292423

Share this post


Link to post
Share on other sites
Advertisement
http://www.devmaster.net/articles/raytracing_series/part1.php

Look through this article, it has a lot of information on ray tracing algorithms, definately will help 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!