On Friday 25 March 2011 14:00:20 thorsten.i.r...@jyu.fi wrote:
> > Quick and easy way out, compressed textures for the clouds as in .dds
> > textures
> > 
> > :D
> > 
> > (sorry about that, couldn't help myself :P)
> 
> I doubt it's a general solution since I get 30% framerate reduction for
> dds textures. But you can do it for yourself and see if it helps your case
> - all models and texture sheets are in Models/Weather/.
> 
> Cheers,
> 
> * Thorsten

Well, sorry to "dissapoint" ;) you, but with everything converted to .dds 
(with pregenerated mipmaps), there's a HUGE improvement in performance. Now I 
can have everything maxed out, sure you see some redraw, but there's a very 
small performance hit when that happens.

With "conservative" settings, once evrything is loaded there's almost no 
noticeable impact when rotating the view anymore.

Almost same conditions as before. Almost, because I've done the tests with the 
lowpressure tile, and not with creating a custom setting in the Local weather 
dialogue.

conversion done with :
nvcompress -alpha -bc3 -repeat file.png file.dds

(I'm thinking you have to specify -alpha if the source has an alpha channel, 
maybe there's some optimisation at work there, also pregenerated mipmaps help)
size of all rgb textures is 43.5 MB
size of all dds textures is 38.8 MB , 
so size on disk is a nonissue.. sure in some cases it might increase 
dramatically, but here it isn't the case.

Off to fly the electra in some tropical thunderstorm :P.

Emilian.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to