Previously the STG Loader had a class member keeping track of each WS30 tile that had been loaded, to ensure the terrain was only loaded once. However, this was a class member on a loader, and we have multiple OSG loading threads. So the WS30 terrain was loaded ~6 times. Change to a static, protected with a mutex so we only load the tile once. 50% improvement in fps from the reduction in vertices, and an improvement in loading.next
parent
f7e378a05a
commit
a760730285
Loading…
Reference in new issue