gestalt.extension.gpgpu.particles
Class AttributeParticleDrawer

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.extension.gpgpu.particles.AbstractParticleDrawer
          extended by gestalt.extension.gpgpu.particles.AttributeParticleDrawer
All Implemented Interfaces:
Drawable

public class AttributeParticleDrawer
extends AbstractParticleDrawer


Field Summary
 float collision_ratio
           
 Vector3f flow_direction
           
 float point_size
           
 float size_threshold
           
 float velocity_threshold
           
 
Constructor Summary
AttributeParticleDrawer(ShaderManager theShaderManager, java.lang.String thePointSpriteAttributeShader)
           
 
Method Summary
 void draw(GLContext theRenderContext)
          this method is used to draw the drawable, when the context is ready.
 void init(JoglFrameBufferObject theFBO)
           
 
Methods inherited from class gestalt.extension.gpgpu.particles.AbstractParticleDrawer
getVBO, material
 
Methods inherited from class gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isActive, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

velocity_threshold

public float velocity_threshold

size_threshold

public float size_threshold

point_size

public float point_size

flow_direction

public Vector3f flow_direction

collision_ratio

public float collision_ratio
Constructor Detail

AttributeParticleDrawer

public AttributeParticleDrawer(ShaderManager theShaderManager,
                               java.lang.String thePointSpriteAttributeShader)
Method Detail

init

public void init(JoglFrameBufferObject theFBO)
Overrides:
init in class AbstractParticleDrawer

draw

public void draw(GLContext theRenderContext)
Description copied from interface: Drawable
this method is used to draw the drawable, when the context is ready. although the behavior sometimes varies and doesn t always need to have a visual representation depending on the implementation.

Specified by:
draw in interface Drawable
Overrides:
draw in class AbstractParticleDrawer
Parameters:
theRenderContext - GLContext


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009