Archived

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

Monder

Simple Ray tracing

Recommended Posts

Monder    993
I've been reading the stuff on ray tracing here. I understand how it all works but I was wondering how you generate the primary rays in the first place? Do you just do several per pixel that fire in certain directions or is it something more complicated? [edited by - Monder on March 21, 2004 11:32:57 AM]

Share this post


Link to post
Share on other sites
Rocket05    152
a ray is taken from the viewer''s eye, (which is an estimated position using calculated field of view), projected to each pixel on the screen, and then into the world. This is not always enough detail, sometimes multiple rays are traced for each pixel and then averaged together.

Share this post


Link to post
Share on other sites