Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Cipher3D

what is raytracing?

This topic is 5478 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''ve been hearing al about it...is it relatively simple to program? If you have the knowledge to program a simple texture mapped wolf3d-like engine is it relatively easy to program a ray tracer?

Share this post


Link to post
Share on other sites
Advertisement
I you are familiar with 3d algebra, then a ray-tracer is relatively simple to program.

The principle is simple:

Giving the eye position and the X by Y viewing plane, you compute x*y "ray" going from the eye trough the pixel. Then you find the first interception point and calculate the illumination and that point using your favorite method.

With a ray tracer some things that are complex in a z-buffer engines become very simple (like per-pixel shadows, real reflexivity, etc)

Share this post


Link to post
Share on other sites

  • 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!