Stuart wrote > Sent: 26 January 2008 21:18 > To: FlightGear developers discussions > Subject: Re: [Flightgear-devel] trees > > > --- Stuart Buchanan wrote: > > > > --- Stuart Buchanan wrote: > > > Hi All, > > > > > > Just a quick note to mention that I've now implemented > random tree > > > height, > > and > > > multiple textures as suggested by Curt. Screenshot here: > > > > > > http://www.nanjika.co.uk/flightgear/forest2.jpg > > > > > > Still some work to be done, but it is looking more realistic. > > > > > > Tim - I've been cleaning up my code a bit, so unless > you've already > > > started, I'd hold off trying to kick my previous patch into shape > > > for CVS. I should have a new > > > patch fairly soon. > > > > A patch for this is now available from > > http:/www.nanjika.co.uk/flightgear/trees.tar.gz. > > > > Note that there are some additional new files for the tree textures > > and some re-organizing of the code - see the included README. > > Doh! I didn't notice that I had changed the FlightGear source too... > > The patch below adds the appropriate property value check, > and I've updated the tarball and README to include it. > > At some point I'll need to add a setting to the > preferences.xml file too, but first we need to decide whether > the trees should be on by default (like the random objects) or not. > > Any opinions? >
The patch is broken here - there is some corruption in simgear.patch which causes the file to appear empty when it is read by the patch utility, or by Vi etc. Csaba provided me with a complete patched Simgear source (thanks) so I was able to compile and run fg. The trees look very nice, and, at least in the numbers I saw, have a minimal impact on frame rate (2-3). I would think that "on" could be the default mode. Vivian ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel