Hi All,

A number of effects files use .dds textures, leading to error messages
on the console.

IIRC in the last release, we suppressed these error messages for the
release, and I think we need
to do something for for 2.8.0 as well.

Of particular concern is terrain-default.eff which uses
Textures.high/Terrain/snow3.dds.

I can see a number of options to resolve this (and I'm sure there are more):

0) Suppress the warnings again.

1) The same texture is available as a .png file, so one option would
be to replace the .dds with .png.

2) Change terrain-default.eff to use the PNG, and then create a
derived dds effect file (terrain-default-dds)
using the DDS.  This would require a cascading set of duplicated
effects files, as terrain-default is
inherited by ~ 10 other effects.

3) Add a "/sim/rendering/use-dds" property,  drop the file extensions
from the effects files (and possibly
materials.xml entries?) and add some logic to check this flag and
search for .dds extensions, and failing
that .png for images.

I suspect that option 3 is the best long-term solution, but we're too
close to the code-freeze to make that
change right now.  Should we therefore suppress the warning messages again?

-Stuart

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to