On Fri, Feb 24, 2012 at 8:00 AM,  Thorsten Renk wrote:
> Not as such, but if the whole file structure gets redone, might we at this
> point consider making regional textures by xml conditionals easy in the
> new file structure?
>
> See here for the concept:
> http://www.flightgear.org/forums/viewtopic.php?f=5&t=12031&start=15

The work I'm doing should make this a bit easier, though I'm not changing
the file format itself.

> If we add something like this in now, we might also come to the point of
> implementing a re-parsing of materials.xml at runtime, so textures could
> switch on a transatlantic flight from US type to Europe type.

Certainly. I'm now familiar enough with the code that this should be fairly
straightforward to implement. I'll add it to my TODO list.  There are already
a couple of conditional statements in materials[-dds].xml that really should be
evaluated at tile-load time rather than startup.

> Regional texturing is a feature which would be nice on GIT - by now, we
> also have enough GPL-compatible textures to pull it off (a while ago,
> Adrian posted a very impressive GLP texture pack in the forum).
>
> I'd be willing to help implementing it.

That would be great. I saw the textures on the forum, but haven't had the
chance to look at them.  I suggest implementing this in a separate directory
(Materials/regional) once the new file structure is in place
(hopefully tonight).

On Fri, Feb 24, 2012 at 8:42 AM, Torsten Dreyer wrote:
> What about having a sub-subdirectory structure to avoid name mangeling, like
> Materials/base/ (contains all common files and includes)
> Materials/default/ (contains the default definitions and textures)
> Materials/dds/ (contains the dds definitions and textures)

Excellent idea. Will do!

I'm going to leave the existing materials[-dds],xml files unchanged for now
so people can easily go back to them if they find bugs in the new versions
of the files.

-Stuart

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to