com.jme3.post.ssao
クラス SSAOFilter

java.lang.Object
  上位を拡張 com.jme3.post.Filter
      上位を拡張 com.jme3.post.ssao.SSAOFilter
すべての実装されたインタフェース:
Savable

public class SSAOFilter
extends Filter

SSAO stands for screen space ambient occlusion It's a technique that fake ambient lighting by computind shadows that near by objects would casts on each others under the effect of an ambient light more info on this in this blog post http://jmonkeyengine.org/2010/08/16/screen-space-ambient-occlusion-for-jmonkeyengine-3-0/


入れ子のクラスの概要
 
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース
Filter.Pass
 
コンストラクタの概要
SSAOFilter()
          Create a Screen Space Ambiant Occlusion Filter
SSAOFilter(float sampleRadius, float intensity, float scale, float bias)
          Create a Screen Space Ambiant Occlusion Filter
 
メソッドの概要
 float getBias()
          Return the bias
see setBias(float bias)
 float getIntensity()
          returns the ambient occlusion intensity
 float getSampleRadius()
          returns the sample radius
see {link setSampleRadius(float sampleRadius)}
 float getScale()
          returns the scale
see setScale(float scale)
 boolean isUseAo()
          debugging only , will be removed
 boolean isUseOnlyAo()
          debugging only , will be removed
 void read(JmeImporter im)
          Override this method if you want to load extra properties when the filter is loaded else only basic properties of the filter will be loaded This method should always begin by super.read(im);
 void setBias(float bias)
          Sets the the width of the occlusion cone considered by the occludee default is 0.1f
 void setIntensity(float intensity)
          Sets the Ambient occlusion intensity default is 1.2f
 void setSampleRadius(float sampleRadius)
          Sets the radius of the area where random samples will be picked dafault 5.1f
 void setScale(float scale)
          Returns the distance between occluders and occludee. dafault 0.2f
 void setUseAo(boolean useAo)
          debugging only , will be removed
 void setUseOnlyAo(boolean useOnlyAo)
          debugging only , will be removed
 void write(JmeExporter ex)
          Override this method if you want to save extra properties when the filter is saved else only basic properties of the filter will be saved This method should always begin by super.write(ex);
 
クラス com.jme3.post.Filter から継承されたメソッド
getName, isEnabled, setEnabled, setName
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SSAOFilter

public SSAOFilter()
Create a Screen Space Ambiant Occlusion Filter


SSAOFilter

public SSAOFilter(float sampleRadius,
                  float intensity,
                  float scale,
                  float bias)
Create a Screen Space Ambiant Occlusion Filter

パラメータ:
sampleRadius - The radius of the area where random samples will be picked. default 5.1f
intensity - intensity of the resulting AO. default 1.2f
scale - distance between occluders and occludee. default 0.2f
bias - the width of the occlusion cone considered by the occludee. default 0.1f
メソッドの詳細

getBias

public float getBias()
Return the bias
see setBias(float bias)

戻り値:

setBias

public void setBias(float bias)
Sets the the width of the occlusion cone considered by the occludee default is 0.1f

パラメータ:
bias -

getIntensity

public float getIntensity()
returns the ambient occlusion intensity

戻り値:

setIntensity

public void setIntensity(float intensity)
Sets the Ambient occlusion intensity default is 1.2f

パラメータ:
intensity -

getSampleRadius

public float getSampleRadius()
returns the sample radius
see {link setSampleRadius(float sampleRadius)}

戻り値:

setSampleRadius

public void setSampleRadius(float sampleRadius)
Sets the radius of the area where random samples will be picked dafault 5.1f

パラメータ:
sampleRadius -

getScale

public float getScale()
returns the scale
see setScale(float scale)

戻り値:

setScale

public void setScale(float scale)
Returns the distance between occluders and occludee. dafault 0.2f

パラメータ:
scale -

isUseAo

public boolean isUseAo()
debugging only , will be removed

戻り値:

setUseAo

public void setUseAo(boolean useAo)
debugging only , will be removed


isUseOnlyAo

public boolean isUseOnlyAo()
debugging only , will be removed

戻り値:

setUseOnlyAo

public void setUseOnlyAo(boolean useOnlyAo)
debugging only , will be removed


write

public void write(JmeExporter ex)
           throws java.io.IOException
クラス Filter の記述:
Override this method if you want to save extra properties when the filter is saved else only basic properties of the filter will be saved This method should always begin by super.write(ex);

定義:
インタフェース Savable 内の write
オーバーライド:
クラス Filter 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
クラス Filter の記述:
Override this method if you want to load extra properties when the filter is loaded else only basic properties of the filter will be loaded This method should always begin by super.read(im);

定義:
インタフェース Savable 内の read
オーバーライド:
クラス Filter 内の read
例外:
java.io.IOException