h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

SpatialNoiseShader Class Reference

#include <AdvancedStrokeShaders.h>

Inheritance diagram for SpatialNoiseShader:

StrokeShader List of all members.

Detailed Description

[ Geometry Shader ]. Spatial Noise stroke shader. Moves the vertices to make the stroke more noisy.
See also:
noise/noise.html


Public Member Functions

 SpatialNoiseShader (float iAmount, float ixScale, int nbOctave, bool smooth, bool pureRandom)
virtual ~SpatialNoiseShader ()
virtual void shade (Stroke &ioStroke) const

Constructor & Destructor Documentation

SpatialNoiseShader float  iAmount,
float  ixScale,
int  nbOctave,
bool  smooth,
bool  pureRandom
 

Builds the shader.

Parameters:
iAmount The amplitude of the noise.
ixScale The noise frequency
nbOctave The number of octaves
smooth If you want the noise to be smooth
pureRandom If you don't want any coherence

virtual ~SpatialNoiseShader  )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual void shade Stroke ioStroke  )  const [virtual]
 

The shading method.

Reimplemented from StrokeShader.


The documentation for this class was generated from the following file: