Curtis L. Olson writes:

 > I could see that turning the materials.xml file into a complicated
 > nightmare.  However, it would be a nice feature to have.  Perhaps the
 > top level materials.xml could include a .xml for each material that
 > has a long list of conditionals.  That might keep things a little
 > cleaner ... (?)

Sure.  We can do that already, if someone wants to go to the trouble;
just create an $FG_ROOT/Materials/ directory, put one file for each
material in it, then make materials.xml look like this:

  <PropertyList>
   <material include="Materials/grass_rwy.xml"/>
   <material include="Materials/dirt_rwy.xml"/>
   <material include="Materials/lakebed_taxiway.xml"/>
   ...
  </PropertyList>

It will look exactly the same to FlightGear, so no C++ modifications
will be required.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to