|
From: David M. <da...@me...> - 2001-06-19 20:07:50
|
Wolfram Kuss writes: > This leads to a hit in the intersection!! I would guess that jsb then > runs, since it gets the real height of the scenery. Of course my code > is completely temporary; For example I hardcoded lat, lon of KSJC. > The only reason for the code is to find the reason for the bug. I hope > this helps more knowledgable people than me forward. Obviously, the > problem is with the code for the threaded loading, although I don't > use threads. But it seems even then tiles that are loaded into a queue > and then at an possibly other time taken out of that. Obviously, not > one tile has been attached to the variable "terrain" when the > intersection test between the ray and the terrain is done. The code does attempt to run the queue once, before trying to get the elev, and it reports that it has loaded a tile; I wonder why it's not attached to "terrain". All the best, David -- David Megginson da...@me... |