807d2cc3ca
2. I made YASim query the the ground cache at the wrong place. This one fixed this, one can now land the bo105 on top of the oracle buildings :) 3. Is a followup of the scenery center update code: Register the scenery center transform at the time it is put into the scene graph not at creation time. 4. I held that part back from the past hitlist patch, because I hoped that it will be sufficient (and the last one was in fact the biggest part) without. As some test cases from Melchior showed me, it is not. We have additionally to the wrong computed transform from the prevous patch some roundoff problems. This patch adds some small tolerance to for the point in triangle test. ... may be one even needs to increase the eps value further if starting at some tile boundaries still fails. 5. That is a big chunk. Tested now for two days while hunting the second patch :) . That is a partial rewrite of the groundcache to use its own datastructures for that flat scenegraph in the cache. The basic advantage is, what Erik suggested, to precompute some often used values of these triangles. Also allmost all computations are now in double precision which should decrease (hopefully fix), together with a similar tolerance for some point in triangle tests, the problems with 'no ground below aircraft'. I am playing with octrees for the groundcache, that will finally solve the performance problem when high triangular count models end up in the groundcache. This patch is also some prework for those octrees ... |
||
---|---|---|
.. | ||
.cvsignore | ||
design | ||
FGTileLoader.cxx | ||
FGTileLoader.hxx | ||
hitlist.cxx | ||
hitlist.hxx | ||
Makefile.am | ||
maptest.cxx | ||
newcache.cxx | ||
newcache.hxx | ||
scenery.cxx | ||
scenery.hxx | ||
test.cxx | ||
tileentry.cxx | ||
tileentry.hxx | ||
tilemgr.cxx | ||
tilemgr.hxx |