TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Model.Processor.Plant

Short Name:
  • class Plant
Derived From:
Fields:

A model processor that puts pre-computed coefficients for simple wind animation into the vertex color data.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
optional occlusion number  
0.1

Minimum ambient-occlusion term to put into the alpha channel.

optional wind number  
2.5

The relative distance from the pivot to a vertex if raised by this power and then put into the red channel.

optional pivot number  
0.5

Chooses the plant pivot point for a vertex:
0 : the model origin
1 : projection of vertex onto the XZ-plane.
The pivot coefficient is put into the blue channel.

optional random number  
0.25

Controls randomness of wind, depending on angle between vertex normal and direction from vertex to pivot point. The randomness coefficient is put into the green channel.

optional y number  
1

Relative height where wind has maximum influence.