Erik Hofman wrote:
> Stuart Buchanan wrote:
>> As I recall, the plib code didn't even attempt to make random object 
>> placement
>> consistent across runs and I spent quite some time with help from a number 
>> of people in putting together something that provided that consistency.
> 
> Actually FlightGear did this already for a very long time. I know 
> because I started the discussion about it back then.

looking at the code:
mt_init(&seed, unsigned(123));

Note that back then first I used a random seed of lat*36000+lon*100 (or 
vice versa) of the tile center as a seed, making each tile more random.

Erik

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to