Hi Stuart,

Stuart Buchanan schrieb am 22.01.2008 23:04:
> Hi All,
>
> I've been working on a shader-based approach to creating random trees with 
> help
> from Tim Moore.
>
> Here's a screenshot of what I've managed to achieve so far:
>
> http://www.nanjika.co.uk/flightgear/forest.jpg
>
> A patch which includes both the shader trees and improvements to the random
> object placement is available from 
>
> http://www.nanjika.co.uk/flightgear/trees.tar.gz
>
>   
very nice. Low-level-flying is much more interesting now.
> This isn't yet ready for inclusion in CVS, but worth having a play about with.
>
>   
Why not? cvs is the place for developing.
> Notes:
> - Currently all the trees of a given type on a tile will be the same size, 
> shape
> and texture.
> - It's highly likely that this code leaks memory like a sieve.
> - The shader currently doesn't perform any diffuse lighting calculations. For
> some reason including the diffuse lighting causes a "flickering" effect, 
> possibly
> due to the light source being so far away.
>
> Comments are of course welcome.
>   
What comes next? Shader driven swarms of birds, flocks, clouds? ;-)
> -Stuart
>
>
>   
Thank you!
Maik


-------------------------------------------------------------------------
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

Reply via email to