Energy Space
The energy space is a 3D space spanned by the 3 basis energies fire, earth and water. The space contains 6 energy zones (denoted A-F) which cotain 4 energies each for a total of 8 Energies:
- Primary energies: fire, earth, water
- Secondary energies: lava, mud, air (steam)
- Tertiary energies: neutral, mana (Element E, not sure about that one yet)
Texture interpolation
Every Energy contains its texture(s). To reduce the workload on the shader, we use 4 energies per vertex. The tertiary energies (neutral and mana), as well as 1 primary and 1 secondary energy are set. A given energy must than be mapped to convex coordinates for texture interpolation. This mapping is achieved by an affine transformation followed by a nonlinear scaling to preserve the length and nonlinearly decay the neutral energy, since we want to have some texture quickly.
--
ThaboBeeler - 25 Feb 2008