On dimanche 09 novembre 2008, Heiko Schulz wrote:
> Hi,
>
> > I've put together an improved 3D clouds patch,
> > available from here:
> > http://www.nanjika.co.uk/flightgear/clouds2.tar.gz
> > It fixes the following issues (to a greater or lesser
> > extent):
> > 1) Performance. Quad trees used to improve culling, and the
> > sprites are placed on the surface of a sphere rather than
> > randomly throughout the cloud, requiring fewer textures.
> > This saves about 5-10fps on my machine.
>
> Indeed! Much better now! Even switching between None, METAR, fair weather
> make no really difference for me now! But the clouds seems to me that they
> are now to regular and not so random as before.
>
> > 4) The cloud field is shifted as you travel. There's a
> > small bug in that the clouds "jump" as you reach
> > the edge of the field.
>
> How about loading the needed set of cloudfield when approaching the next
> available METAR? In reality weather and clouds are changing even on short
> distances.
>
> > 5) Iterative sorting of sprites. This doesn't appear to
> > solve the alpha blending problem completely, but may help a
> > bit.
>
> There is no much improvement for me- still very visible. I wonder if this
> would disappear if we could add some "volume" to the clouds, but this would
> mean that we have to add some shaders and would also mean a decreasing of
> fps...
>
> Regards
> HHS
>
I do like that new version , i hope that  the next one without that ordering 
problem will be perfect.

http://pagesperso-orange.fr/GRTux/3DClouds-img6.jpg

with that screenshot we may identify where the problem is:

 -no clouds layer behind it is very good  ( bottom part of the sky )
 - with clouds layers behind  ( upper part of the sky ) we get that ugly blue 
color  



-- 
Gérard
http://pagesperso-orange.fr/GRTux/

J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to