Re: [Flightgear-devel] Random Objects OSG patch

2008-01-06 Thread Tim Moore
Stuart Buchanan wrote: --- Stuart Buchanan wrote: --- Stuart Buchanan wrote: I've uploaded a new patch which includes this feature, along with some changes that Andy and Csaba suggested on IRC to http://www.nanjika.co.uk/flightgear/random.tar.gz. Further updates available at the above

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-31 Thread Curtis Olson
I get this compile fault when I try to build the patch ... :-( matmodel.hxx:38:25: error: osg/BillBoard: No such file or directory I believe I have the official OSG-v2.2 installed. Thanks, Curt. On Dec 31, 2007 11:17 AM, Stuart Buchanan [EMAIL PROTECTED] wrote: --- Stuart Buchanan wrote:

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-31 Thread Frederic Bouvier
Selon Curtis Olson [EMAIL PROTECTED]: I get this compile fault when I try to build the patch ... :-( matmodel.hxx:38:25: error: osg/BillBoard: No such file or directory It should be osg/Billboard ( notice the second upper case B that is not correct ) -Fred -- Frédéric Bouvier

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-29 Thread Erik Hofman
Christian Mayer wrote: This might be a case where the great BOOST Project might help us: http://www.boost.org/libs/random/index.html One thing to keep in mind when using random generators is that it would be realy nice (if not required) to generate the same output on all supported

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-29 Thread Norman Vine
Erik Hofman writes: Christian Mayer wrote: This might be a case where the great BOOST Project might help us: http://www.boost.org/libs/random/index.html One thing to keep in mind when using random generators is that it would be realy nice (if not required) to generate the same

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-29 Thread Stuart Buchanan
--- Stuart Buchanan wrote: I've uploaded a new patch which includes this feature, along with some changes that Andy and Csaba suggested on IRC to http://www.nanjika.co.uk/flightgear/random.tar.gz. A new version of the patch is available from the above location, including the following

[Flightgear-devel] Random Objects OSG patch

2007-12-28 Thread Stuart Buchanan
Hi All, With a lot of help from Time Moore, I've been working on implementing random scenery objects for OSG. The first attempt at this is now available as patch to simgear (simgear.patch) and new source file (simgear/scene/tgdb/SBModelBin.hxx), from

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-28 Thread Curtis Olson
On Dec 28, 2007 8:15 AM, Stuart Buchanan [EMAIL PROTECTED] wrote: Hi All, With a lot of help from Time Moore, I've been working on implementing random scenery objects for OSG. The first attempt at this is now available as patch to simgear ( simgear.patch) and new source file

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-28 Thread Chris Metzler
On Fri, 28 Dec 2007 08:38:48 -0600 Curtis Olson wrote: 2. The random seed could have probably been better chosen because there were areas where you'd get 5 water towers in a straight line. I never chased that one down, but I always suspected it was related to the choice of random seed. This

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-28 Thread Heiko Schulz
--- Stuart Buchanan [EMAIL PROTECTED] schrieb: --- Curtis Olson wrote: Here are a couple of thoughts for whatever they are worth. 1. In the original implementation, the randomness was seeded with some element from the triangle the objects. The way the random object pattern was

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-28 Thread Stuart Buchanan
--- Curtis Olson wrote: Here are a couple of thoughts for whatever they are worth. 1. In the original implementation, the randomness was seeded with some element from the triangle the objects. The way the random object pattern was always fixed. This was critical for multi-PC setups so that

Re: [Flightgear-devel] Random Objects OSG patch

2007-12-28 Thread Christian Mayer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris Metzler schrieb: On Fri, 28 Dec 2007 08:38:48 -0600 Curtis Olson wrote: 2. The random seed could have probably been better chosen because there were areas where you'd get 5 water towers in a straight line. I never chased that one down,