TGEA 1.8.1 Bugs
by Markus Enkelmann · in Torque Game Engine Advanced · 02/20/2009 (1:48 pm) · 1 replies
With "two sided Ambient" on, the Slider "Ambient" on the color Tab in the Light-Editor works opposite to terrain and dif´s(left: full ambient at terrain, right: full ambient at dif´s)
Create a landscape with a highmap: on the +X and +Y side i got a wall in the same line of the opposed side of the landscape (tile is off).
Create a landscape with a highmap: on the +X and +Y side i got a wall in the same line of the opposed side of the landscape (tile is off).
About the author
Associate Rene Damm
Re base edge mirroring on terrain:
Yep, that's an ugly legacy in how the TGE terrain renderer works. Hope it'll disappear with Torque 3D.
The problem is that the renderer works in pow2 steps (locked to 256) like any other heithtfield renderer. However, to do this, you'll need pow2+1 vertices along an edge, i.e. 257 vertices in Torque's case. Otherwise, stepping 256 vertices along one edge will end up nowhere and since Torque's heightmap is programmed to wrap (or jump over to edge terrains in the case of MegaTerrains), you'll end up wrapping around.
When this thing was written, this was intentional as terrains were meant to tile. Now it's a problem.