Class SkyFilter

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class SkyFilter
    extends PointFilter
    • Field Detail

      • random

        protected java.util.Random random
    • Constructor Detail

      • SkyFilter

        public SkyFilter()
    • Method Detail

      • setAmount

        public void setAmount​(float amount)
      • getAmount

        public float getAmount()
      • setOperation

        public void setOperation​(int operation)
      • getOperation

        public int getOperation()
      • setScale

        public void setScale​(float scale)
      • getScale

        public float getScale()
      • setStretch

        public void setStretch​(float stretch)
      • getStretch

        public float getStretch()
      • setT

        public void setT​(float t)
      • getT

        public float getT()
      • setFOV

        public void setFOV​(float fov)
      • getFOV

        public float getFOV()
      • setCloudCover

        public void setCloudCover​(float cloudCover)
      • getCloudCover

        public float getCloudCover()
      • setCloudSharpness

        public void setCloudSharpness​(float cloudSharpness)
      • getCloudSharpness

        public float getCloudSharpness()
      • setTime

        public void setTime​(float time)
      • getTime

        public float getTime()
      • setGlow

        public void setGlow​(float glow)
      • getGlow

        public float getGlow()
      • setGlowFalloff

        public void setGlowFalloff​(float glowFalloff)
      • getGlowFalloff

        public float getGlowFalloff()
      • setAngle

        public void setAngle​(float angle)
      • getAngle

        public float getAngle()
      • setOctaves

        public void setOctaves​(float octaves)
      • getOctaves

        public float getOctaves()
      • setH

        public void setH​(float H)
      • getH

        public float getH()
      • setLacunarity

        public void setLacunarity​(float lacunarity)
      • getLacunarity

        public float getLacunarity()
      • setGain

        public void setGain​(float gain)
      • getGain

        public float getGain()
      • setBias

        public void setBias​(float bias)
      • getBias

        public float getBias()
      • setHaziness

        public void setHaziness​(float haziness)
      • getHaziness

        public float getHaziness()
      • setSunElevation

        public void setSunElevation​(float sunElevation)
      • getSunElevation

        public float getSunElevation()
      • setSunAzimuth

        public void setSunAzimuth​(float sunAzimuth)
      • getSunAzimuth

        public float getSunAzimuth()
      • setSunColor

        public void setSunColor​(int sunColor)
      • getSunColor

        public int getSunColor()
      • setCameraElevation

        public void setCameraElevation​(float cameraElevation)
      • getCameraElevation

        public float getCameraElevation()
      • setCameraAzimuth

        public void setCameraAzimuth​(float cameraAzimuth)
      • getCameraAzimuth

        public float getCameraAzimuth()
      • setWindSpeed

        public void setWindSpeed​(float windSpeed)
      • getWindSpeed

        public float getWindSpeed()
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
        Specified by:
        filter in interface java.awt.image.BufferedImageOp
        Overrides:
        filter in class PointFilter
      • evaluate

        public float evaluate​(float x,
                              float y)
      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        Specified by:
        filterRGB in class PointFilter
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object