|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraytracer.OmniLight
public class OmniLight
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 |
---|
public OmniLight(RGBColor color_)
color_
- Method Detail |
---|
public void computeDirectLighting(IntersectionInfo intersection, RayState rs, Raycaster raycaster, IBSDF brdf, RGBColor amount)
ILight
computeDirectLighting
in interface ILight
intersection
- [in] intersection informationrs
- [in] state of the raytracerraycaster
- [in]brdf
- [in]amount
- [in/out] the color of the ray
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |