Class DiffuseLightingRed

java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.DiffuseLightingRed
All Implemented Interfaces:
RenderedImage, CachableRed

public class DiffuseLightingRed extends AbstractRed
Version:
$Id: DiffuseLightingRed.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

    • kd

      private double kd
      Diffuse lighting constant
    • light

      private Light light
      Light used for diffuse lighting
    • bumpMap

      private BumpMap bumpMap
      BumpMap source
    • scaleX

      private double scaleX
      Device space to user space scale factors, along each axis
    • scaleY

      private double scaleY
      Device space to user space scale factors, along each axis
    • litRegion

      private Rectangle litRegion
      LitRegion
    • linear

      private boolean linear
      true if calculations should be performed in linear sRGB
  • Constructor Details

    • DiffuseLightingRed

      public DiffuseLightingRed(double kd, Light light, BumpMap bumpMap, Rectangle litRegion, double scaleX, double scaleY, boolean linear)
  • Method Details