Menu

Commit [r77]  Maximize  Restore  History

Nature plug-in update. Minor update of the Land ability.

1.) Index array of the TinMesh has been divided in multiple smaller arrays (so that each array contains at most 65535 indices) in order to prevent rendering errors.
2.) TinMesh::ComputeAltitudeAt() has been implemented. Result is approximated using the elevation of the closest sample (measured by Euclidean distance).
3.) TinData::LowestPoint(), TinData::HighestPoint() and TinData::StretchValues() have been implemented.

tisovcik 2014-04-21

changed /trunk/src/vreckoAP/Nature/Land/Data/HeightFieldData.cpp
changed /trunk/src/vreckoAP/Nature/Land/Data/TinData.cpp
changed /trunk/src/vreckoAP/Nature/Land/Mesh/TinMesh.cpp
/trunk/src/vreckoAP/Nature/Land/Data/HeightFieldData.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/vreckoAP/Nature/Land/Data/TinData.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/vreckoAP/Nature/Land/Mesh/TinMesh.cpp Diff Switch to side-by-side view
Loading...