Class BumpMap
- java.lang.Object
-
- org.apache.batik.ext.awt.image.rendered.BumpMap
-
public final class BumpMap extends java.lang.Object
Default BumpMap implementation.
-
-
Constructor Summary
Constructors Constructor Description BumpMap(java.awt.image.RenderedImage texture, double surfaceScale, double scaleX, double scaleY)
Stores the normals for this bumpMap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][][]
getNormalArray(int x, int y, int w, int h)
double
getSurfaceScale()
-
-
-
Method Detail
-
getSurfaceScale
public double getSurfaceScale()
- Returns:
- surface scale used by this bump map.
-
getNormalArray
public double[][][] getNormalArray(int x, int y, int w, int h)
- Parameters:
x
- x-axis coordinate for which the normal is computedy
- y-axis coordinate for which the normal is computed
-
-