org.xith3d.effects.textureprojection
Class FixedFuncTextureProjectionFectory

java.lang.Object
  extended by org.xith3d.effects.textureprojection.TextureProjectionFactory
      extended by org.xith3d.effects.textureprojection.FixedFuncTextureProjectionFectory

public class FixedFuncTextureProjectionFectory
extends TextureProjectionFactory

This TextureProjectionFactory uses the fixed-function-pipeline to realize texture-projection.


Constructor Summary
FixedFuncTextureProjectionFectory()
           
 
Method Summary
 TexCoordGeneration getTexCoordGeneration()
           
 void onProjectiveTextureApplied(Appearance app, ProjectiveTextureUnit projTU)
          This must be called from the scenegraph when a shape's texture-projection-target state is changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedFuncTextureProjectionFectory

public FixedFuncTextureProjectionFectory()
Method Detail

getTexCoordGeneration

public TexCoordGeneration getTexCoordGeneration()
Returns:
the (cached) TexCoordGeneration that calculates the texture-coordinates for shadow-mapping.
Throws:
java.io.IOException

onProjectiveTextureApplied

public void onProjectiveTextureApplied(Appearance app,
                                       ProjectiveTextureUnit projTU)
This must be called from the scenegraph when a shape's texture-projection-target state is changed.

Specified by:
onProjectiveTextureApplied in class TextureProjectionFactory