material
Class LambertianBRDF

java.lang.Object
  extended by material.LambertianBRDF
All Implemented Interfaces:
IBSDF

public class LambertianBRDF
extends java.lang.Object
implements IBSDF

brdf of a lambertian material


Constructor Summary
LambertianBRDF(IPainter reflectance_)
          constructor
 
Method Summary
 RGBColor value(Vector3D vLightIn, IntersectionInfo intersection)
          return actual BRDF value as a RGB value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LambertianBRDF

public LambertianBRDF(IPainter reflectance_)
constructor

Parameters:
reflectance_ - [in] diffuse reflection
Method Detail

value

public RGBColor value(Vector3D vLightIn,
                      IntersectionInfo intersection)
return actual BRDF value as a RGB value

Specified by:
value in interface IBSDF
Parameters:
vLightIn - [in] vector of the incoming light
intersection - [in] intersection details for point of intersection
Returns:
the color at the intersection