raytracer
Class OmniLight

java.lang.Object
  extended by raytracer.OmniLight
All Implemented Interfaces:
ILight

public class OmniLight
extends java.lang.Object
implements ILight


Constructor Summary
OmniLight(RGBColor color_)
          constructor
 
Method Summary
 void computeDirectLighting(IntersectionInfo intersection, RayState rs, Raycaster raycaster, IBSDF brdf, RGBColor amount)
          computes the lighting at the intersection point
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OmniLight

public OmniLight(RGBColor color_)
constructor

Parameters:
color_ -
Method Detail

computeDirectLighting

public void computeDirectLighting(IntersectionInfo intersection,
                                  RayState rs,
                                  Raycaster raycaster,
                                  IBSDF brdf,
                                  RGBColor amount)
Description copied from interface: ILight
computes the lighting at the intersection point

Specified by:
computeDirectLighting in interface ILight
Parameters:
intersection - [in] intersection information
rs - [in] state of the raytracer
raycaster - [in]
brdf - [in]
amount - [in/out] the color of the ray