A filter which produces lighting and embossing effects.
AMBIENT
public static final int AMBIENT
BUMPS_FROM_BEVEL
public static final int BUMPS_FROM_BEVEL
Use a custom function as the bump map.
BUMPS_FROM_IMAGE
public static final int BUMPS_FROM_IMAGE
Use the input image brightness as the bump map.
BUMPS_FROM_IMAGE_ALPHA
public static final int BUMPS_FROM_IMAGE_ALPHA
Use the input image alpha as the bump map.
BUMPS_FROM_MAP
public static final int BUMPS_FROM_MAP
Use a separate image alpha channel as the bump map.
COLORS_CONSTANT
public static final int COLORS_CONSTANT
Use constant material color.
COLORS_FROM_IMAGE
public static final int COLORS_FROM_IMAGE
Take the output colors from the input image.
DISTANT
public static final int DISTANT
POINT
public static final int POINT
SPOT
public static final int SPOT
r255
protected static final float r255
filterPixels
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
- filterPixels in interface WholeImageFilter
getBumpFunction
public Function2D getBumpFunction()
getBumpHeight
public float getBumpHeight()
getBumpSoftness
public float getBumpSoftness()
getBumpSource
public int getBumpSource()
getColorSource
public int getColorSource()
getDiffuseColor
public int getDiffuseColor()
getEnvironmentMap
public Image getEnvironmentMap()
getLights
public Vector getLights()
getViewDistance
public float getViewDistance()
setBumpFunction
public void setBumpFunction(Function2D bumpFunction)
setBumpHeight
public void setBumpHeight(float bumpHeight)
setBumpSoftness
public void setBumpSoftness(float bumpSoftness)
setBumpSource
public void setBumpSource(int bumpSource)
setColorSource
public void setColorSource(int colorSource)
setDiffuseColor
public void setDiffuseColor(int diffuseColor)
setEnvironmentMap
public void setEnvironmentMap(BufferedImage environmentMap)
setFromRGB
protected void setFromRGB(Color4f c,
int argb)
setViewDistance
public void setViewDistance(float viewDistance)
toString
public String toString()