Menu

Commit [r53]  Maximize  Restore  History

Nature plug-in update. Functionality of Landmass ability extended.

1.) Segment functionality of the HeightFieldMesh has been moved to a new class HeightFieldSegment. Vector of these segments can be accessed by HeightFieldMesh.
2.) Texture size is now part of GlobalProperties (allowed values: 2^n, where n lies in [1, 10]). Default value is 1024.
3.) Each mesh based on HeightField (Zabaged grid, perlin, random faults, midpoint displacement, raster image) can use segments of a different size. Minimum (and also default) segment size is 32.
4.) User is now provided with progress (useful in case of texture download).
5.) Performance improvements. Invalid segments are now being discarded and their textures are not downloaded. This results in faster loading times and lower memory usage. In case of zabaged grid (segment size = 32), 204 textures are now downloaded (instead of 238).

tisovcik 2014-03-31

changed /trunk/VisualStudio/vreckoAP/Nature/Nature.vcxproj
changed /trunk/VisualStudio/vreckoAP/Nature/Nature.vcxproj.filters
changed /trunk/include/vreckoAP/Nature/Land/LandAbility.h
changed /trunk/include/vreckoAP/Nature/Land/LandUtils.h
changed /trunk/include/vreckoAP/Nature/Land/Mesh/HeightFieldMesh.h
added /trunk/include/vreckoAP/Nature/Land/Mesh/HeightFieldSegment.h
changed /trunk/include/vreckoAP/Nature/Land/Mesh/LandMesh.h
changed /trunk/include/vreckoAP/Nature/Land/Mesh/LandTexture.h
changed /trunk/src/vreckoAP/Nature/Land/LandAbility.cpp
changed /trunk/src/vreckoAP/Nature/Land/Mesh/HeightFieldMesh.cpp
added /trunk/src/vreckoAP/Nature/Land/Mesh/HeightFieldSegment.cpp
changed /trunk/src/vreckoAP/Nature/Land/Mesh/LandTexture.cpp
changed /trunk/src/vreckoAP/Nature/Land/Mesh/TinMesh.cpp
/trunk/VisualStudio/vreckoAP/Nature/Nature.vcxproj Diff Switch to side-by-side view
Loading...
/trunk/VisualStudio/vreckoAP/Nature/Nature.vcxproj.filters Diff Switch to side-by-side view
Loading...
/trunk/include/vreckoAP/Nature/Land/LandAbility.h Diff Switch to side-by-side view
Loading...
/trunk/include/vreckoAP/Nature/Land/LandUtils.h Diff Switch to side-by-side view
Loading...
/trunk/include/vreckoAP/Nature/Land/Mesh/HeightFieldMesh.h Diff Switch to side-by-side view
Loading...
/trunk/include/vreckoAP/Nature/Land/Mesh/HeightFieldSegment.h Diff Switch to side-by-side view
Loading...
/trunk/include/vreckoAP/Nature/Land/Mesh/LandMesh.h Diff Switch to side-by-side view
Loading...
/trunk/include/vreckoAP/Nature/Land/Mesh/LandTexture.h Diff Switch to side-by-side view
Loading...
/trunk/src/vreckoAP/Nature/Land/LandAbility.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/vreckoAP/Nature/Land/Mesh/HeightFieldMesh.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/vreckoAP/Nature/Land/Mesh/HeightFieldSegment.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/vreckoAP/Nature/Land/Mesh/LandTexture.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...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.