|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
com.jme3.post.filters.BloomFilter
public class BloomFilter
BloomFilter is used to make objects in the scene have a glow effect.
There are 2 mode : Scene and Objects.
Scene mode extracts the bright parts of the scene to make them glow
Object mode make objects glow according to their material's glowMap or their GlowColor
see http://jmonkeyengine.org/wiki/doku.php/jme3:advanced:bloom_and_glow
for more details
入れ子のクラスの概要 | |
---|---|
static class |
BloomFilter.GlowMode
GlowMode specifies if the glow will be applied to the whole scene,or to objects that have aglow color or a glow map |
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース |
---|
Filter.Pass |
コンストラクタの概要 | |
---|---|
BloomFilter()
Creates a Bloom filter |
|
BloomFilter(BloomFilter.GlowMode glowMode)
Creates the bloom filter with the specific glow mode |
メソッドの概要 | |
---|---|
float |
getBloomIntensity()
returns the bloom intensity |
float |
getBlurScale()
returns the blur scale |
float |
getDownSamplingFactor()
returns the downSampling factor form more details see setDownSamplingFactor(float downSamplingFactor) |
float |
getExposureCutOff()
returns the exposure cutoff for more details see setExposureCutOff(float exposureCutOff) |
float |
getExposurePower()
returns the exposure power form more details see setExposurePower(float exposurePower) |
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 |
setBloomIntensity(float bloomIntensity)
intensity of the bloom effect default is 2.0 |
void |
setBlurScale(float blurScale)
sets The spread of the bloom default is 1.5f |
void |
setDownSamplingFactor(float downSamplingFactor)
Sets the downSampling factor : the size of the computed texture will be divided by this factor. default is 1 for no downsampling A 2 value is a good way of widening the blur |
void |
setExposureCutOff(float exposureCutOff)
Define the color threshold on which the bloom will be applied (0.0 to 1.0) |
void |
setExposurePower(float exposurePower)
defines how many time the bloom extracted color will be multiplied by itself. default id 5.0 a high value will reduce rough edges in the bloom and somhow the range of the bloom area * |
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 |
コンストラクタの詳細 |
---|
public BloomFilter()
public BloomFilter(BloomFilter.GlowMode glowMode)
glowMode
- メソッドの詳細 |
---|
public float getBloomIntensity()
public void setBloomIntensity(float bloomIntensity)
bloomIntensity
- public float getBlurScale()
public void setBlurScale(float blurScale)
blurScale
- public float getExposureCutOff()
setExposureCutOff(float exposureCutOff)
public void setExposureCutOff(float exposureCutOff)
exposureCutOff
- public float getExposurePower()
setExposurePower(float exposurePower)
public void setExposurePower(float exposurePower)
exposurePower
- public float getDownSamplingFactor()
setDownSamplingFactor(float downSamplingFactor)
public void setDownSamplingFactor(float downSamplingFactor)
downSamplingFactor
- public void write(JmeExporter ex) throws java.io.IOException
Filter
の記述:
Savable
内の write
Filter
内の write
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Filter
の記述:
Savable
内の read
Filter
内の read
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |