Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

Color tracePixel int  x,
int  y
[protected, virtual]
 

Compute the color of the pixel at (x,y) by raytracing.

The default implementation here just traces through the center of the pixel and sets the output color to white if the ray intersects the scene, and black otherwise. To implement various raytracing techniques, this function should be overridden in a sub class.

Reimplemented in PathTracer, and WhittedTracer.


Generated on Sun Mar 26 19:14:16 2006 for ASR by  doxygen 1.4.4