Norman Vine <[EMAIL PROTECTED]> said: > > You can not determine the elevation until the scenery tile is loaded. > > Since this maybe happening in a background thread you have no way > of knowing when this actually happens, it is almost guaranteed that this > is *not* happening immediately apon reading the scenery from the disk. > > The only way I can think of to safely do this is to add a tile specific > deferred work list to each tile as it is read from disk and before it > is entered onto the deferred work queue which would be performed > when the tile is actually loaded. but .......
Maybe I'm misunderstanding, but doesn't the tile actually get read from the disk when it comes off the deferred work queue in the background thread? > IMO this would lead to more 'stutter' so .... > IMO this should all be done off line and not at run time just > as we currently require it to be done It shouldn't be any different. Just run a model loading queue that gets added to by the scenery tile loader. In effect one queue chains off the other. There would be almost no additional overhead and you are (99.9999% of the time) guaranteed that the tile will be there when the model gets through the queue. Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
