Re: [Flightgear-devel] Mipmaps (was: Adventures in dds)

2011-03-23 Thread Emilian Huminiuc
On Wednesday 23 March 2011 13:32:25 Lauri Peltonen wrote:
> 
> Also one thing point mentioning is that DDS format might not be
> supported on older hardware. And I think FG is supposed to support
> also older hardware.
> 

I think BC3/DXT5 is pretty well supported by older hardware. 
There would be issues with the BC5/ATI2 mode (used for normalmaps) which is a 
newer appearance (ATI-x800 timeframe and newer, nVidia too), but then again, I 
don't think the older hardware supports the shaders that would use these 
textures (bumpspec, reflectbumpspec.. etc).

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


[Flightgear-devel] Mipmaps (was: Adventures in dds)

2011-03-23 Thread Lauri Peltonen
Shouting again from the back row, but I want to point out that
pregenerated mipmaps is not something dds specific, it can be done
with any texture format. It's just about storing them. Like in
http://www.ogre3d.org/tikiwiki/img/wiki_up/MipMap_Example_STS101.jpg .

Of course dds has the pro side that it is loaded directly into memory,
no uncompressing is required. With e.g. png and the storing method
above, the image needs to be decompressed properly to allow using the
mipmaps. But it is possible.

If we figured out a format to store mipmaps and how to use them in FG,
it would allow using many more better filters for them, which might
increase graphics quality a lot, just like was seen in the dds
screenshots. And at the same time could allow for better compression
(but slower loading times maybe) to save HD space if that is
necessary.

Also one thing point mentioning is that DDS format might not be
supported on older hardware. And I think FG is supposed to support
also older hardware.


For reference, the dds loader source:
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/osgPlugins/dds/ReaderWriterDDS.cpp?rev=3017

Zan
-- 
Lauri Peltonen
lauri.pelto...@gmail.com

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