OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLPerlinPFXManager

image

Is a particle manager that animates particles using Perlin noise. Perlin noise is random noise thats interpolated. TGLPerlinPFXManager can be used to create realistic snow.

image

Like all effects (eg fire effect) the Perlin noise effect is added to the effects property of a TGLSceneObject as the effects class TGLSourcePFXEffect. The manager of the effect is set to TGLPerlinPFXManager. Refer to the Effects article for more information regarding effects.

Important TGLPerlinPFXManager properties include:
particlesize: Particle size

acceleration: TGLCoordinates The direction in which the particles accelerate. For example it is possible to accelerate particles in the x axis direction to give the effect of particles coming out of a spraycan.

renderer: TGLParticleFXRenderer
TGLPerlinPFXManager requires a second renderer. Please fill in this sentence if you know the reason why. For TGLPerlinPFXManager use a TGLParticleFXRenderer.

lifecolors: TPFXLifeColors
Gives particles a certain life time before they disappear. It allows the color to be set for the particle at a certain time. For example after five seconds the particle is blue.

aspectratio: single Ratio of the width to height for a particle. For example it is possible to have a particle that is wider in the x direction than in the y.


Demo: CVS/Demos/specialsFX/beer

Unit: GLPerlinPFX

Descends from TGLBaseSpritePFXManager.

  Attachment Size Date Added
    
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0603 seconds