org.xith3d.effects.bloom
Class BloomFactory

java.lang.Object
  extended by org.xith3d.effects.bloom.BloomFactory
Direct Known Subclasses:
GLSLBloomFactory

public abstract class BloomFactory
extends java.lang.Object

The BloomFactory is a visual effect a GroupNode. It computes in real-time bloom around objects based on their brightness.


Constructor Summary
BloomFactory()
           
 
Method Summary
 float getBloomWeight()
           
 float getSceneWeight()
           
abstract  void prepareForBloom(Xith3DEnvironment env, org.openmali.types.twodee.Sized2iRO resolution, GroupNode group)
           
 void setBloomWeight(float bloomWeight)
           
 void setSceneWeight(float sceneWeight)
           
protected abstract  void updateBloomSettings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BloomFactory

public BloomFactory()
Method Detail

prepareForBloom

public abstract void prepareForBloom(Xith3DEnvironment env,
                                     org.openmali.types.twodee.Sized2iRO resolution,
                                     GroupNode group)
                              throws java.io.IOException
Throws:
java.io.IOException

updateBloomSettings

protected abstract void updateBloomSettings()

setBloomWeight

public void setBloomWeight(float bloomWeight)

getBloomWeight

public final float getBloomWeight()

getSceneWeight

public final float getSceneWeight()

setSceneWeight

public void setSceneWeight(float sceneWeight)