|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraytracer.Map
public class Map
a bumpmap or normalmap
Constructor Summary | |
---|---|
Map(IPainter normalmap_)
|
|
Map(IPainter bumpmap_,
double scale_,
double deltax_,
double deltay_)
|
Method Summary | |
---|---|
Map |
getCopy()
|
void |
modify(IntersectionInfo ri)
modifies the normal with the normal from the texture |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Map(IPainter bumpmap_, double scale_, double deltax_, double deltay_)
bumpmap_
- a painter as a height mapscale_
- scales the height (bumpiness)deltax_
- step in x direction to compute normaldeltay_
- step in y direction to compute normalpublic Map(IPainter normalmap_)
normalmap_
- a painter as a normal mapMethod Detail |
---|
public void modify(IntersectionInfo ri)
ri
- information at the intersection pointpublic Map getCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |