de.grogra.ray.light
Interface ShadowProcessor

All Known Implementing Classes:
NoShadows, Shadows

public interface ShadowProcessor

A ShadowProcessor have to decide wether a possibly light/shadow ray realy illuminates the specified intersection point. This interface makes shadow calculations exchangeable.

Author:
Micha

Method Summary
 boolean shadowRay(Ray light, float length, Ray view, IntersectionDescription desc)
          Calculate to shadowed color of the light ray to the specified point.
 

Method Detail

shadowRay

boolean shadowRay(Ray light,
                  float length,
                  Ray view,
                  IntersectionDescription desc)
Calculate to shadowed color of the light ray to the specified point.

Parameters:
ray -
Returns:
True if the the light ray is totally shadowed.