|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaterial.IsotropicPhongSPF
public class IsotropicPhongSPF
a brdf of a isotropic phong material
Constructor Summary | |
---|---|
IsotropicPhongSPF(IPainter Rd,
IPainter Rs,
IPainter exp)
constructor |
Method Summary | |
---|---|
RGBColor |
getRayColor(IntersectionInfo intersection)
returns the color of the ray at the intersection point |
void |
scatter(IntersectionInfo ri,
ScatteredRayContainer scattered)
generates a specular ray |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IsotropicPhongSPF(IPainter Rd, IPainter Rs, IPainter exp)
Rd
- [in] diffuse reflectionRs
- [in] specular reflectionexp
- [in] phong exponentMethod Detail |
---|
public RGBColor getRayColor(IntersectionInfo intersection)
getRayColor
in interface ISPF
intersection
- [in] intersection information
public void scatter(IntersectionInfo ri, ScatteredRayContainer scattered)
scatter
in interface ISPF
ri
- [in] specular rayscattered
- [in/out] container with the scattered rays
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |