Jump to content
  • Advertisement
Sign in to follow this  
serious_learner07

Ray tracing

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

Advertisement
I guess you could say:

Ray Tracing: the name under which all ray-tracing related techniques fall

Ray Casting: the act of tracing a single ray (a line basically)

Ray tracing is the simplest graphic technique really. You just cast lines from the camera through the image plane and intersect that ray with objects in the world. You do that for each pixel in the output image.

Supposedly ray-tracing will eventually obsolete most other lighting/rendering techniques once hardware can do it in real time. The other cool thing about ray-tracing is you can make extreme quality images with no special graphics hardware.

There's a ton of tutorials out there:

http://www.google.com/search?hl=en&q=ray+tracing+tutorial

Share this post


Link to post
Share on other sites
However,

I should point out that raytracing isn't standard at all (or even remotely) for games. It's still more expensive than using accelerated graphics cards.

If you're making a "modern" game, you probably want to stick to using OpenGL or DirectX to get your graphics card to do the heavy lifting.

You'll still use raycasting for things like object picking and line-of-sight tests for your game. You just won't do it, typically, for graphics.

-me

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!