]> git.mxchange.org Git - flightgear.git/commit
Mathias Fröhlich:
authorehofman <ehofman>
Mon, 30 May 2005 08:48:27 +0000 (08:48 +0000)
committerehofman <ehofman>
Mon, 30 May 2005 08:48:27 +0000 (08:48 +0000)
commit807d2cc3ca8092c7bbcb310e614d0d27839eaeb8
tree28cd59be16f0df2ab1f79e0efa696bc123f8dab8
parent8ff709439b3da0766306994f53eba2f0e03218f2
Mathias Fröhlich:

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 ...
src/FDM/YASim/YASim.cxx
src/FDM/groundcache.cxx
src/FDM/groundcache.hxx
src/Scenery/hitlist.cxx
src/Scenery/tileentry.cxx