578a8acff4
Previously on my system, generating vegetation for a given tile took 0.15-0.2s (for ~ 56k positions), of ~0.4s. While this is done in a separate loading thread, the sheer number of tiles being loaded caused noticeable delays and popping of higher LoD tiles. As a tile at the highest LoD is typically 6x6km, and vegetation is generated on a scanline of individual triangles, there is a _lot_ of temporal locality on the landclass of a series of points. By caching the material information required from the landclass lookup we can avoid a whole much of material lookups for each successive vegetation point. On my system this reduced the time to generate vegetation down to 0.02s per tile, and total tile generation time down to ~0.2s. |
||
---|---|---|
3rdparty | ||
CMakeModules | ||
simgear | ||
.gitignore | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
COPYING | ||
Doxyfile | ||
DoxygenMain.cxx | ||
INSTALL | ||
NEWS | ||
README | ||
README.cmake | ||
README.OSG | ||
README.sound | ||
README.zlib | ||
simgear-version | ||
SimGearConfig.cmake.in | ||
Thanks |
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.