Terrain texture does not map as expected
Status: Beta
Brought to you by:
odet
* Build & launch PigShooter
- View the ground/terrain from several different angles.
EXPECTED: Neatly gridded terrain textures.
ACTUAL: The terrain texture looks correct on some triangles, but is stretched -- sometimes to the extreme -- in others.
This is almost certainly related to accepting the default tx/ty values for the IndexedTriangleStripArray in libs/T3D/Sources/T3DTerrainMesh.java. The ideal solution would be for the T3DTerrainMesh object to have "normal" default behaviour, but to allow the developer-user to override, if they desire. This fix would almost certainly be in (or called from) createGeometryIND_TRI_STRIP()