David Megginsson wrote: > Marcio Shimoda writes: > > > Well, this is a problem.... > > The current version of ssgLoadMDL just loads the all the information in mdl > > file. It doesn't know what is loading, if is a wheel or other moving part. > > Fortunately, that doesn't matter. We specify animations externally > using an XML config file; see > > http://www.flightgear.org/Docs/fgfs-model-howto.html > > for details. As long as ssgLoadMDL preserves object names inside the > model, we should be able to animate it.
MDL is not a format used for modellers, it's more like a "compiled" binary format used for MSFS. This means that it *does not* contain object names. Hence, ssgLoadMDL does not "preserve" object names, since there are no names to preserve. :-) Having said that, ssgLoadMDL *does* know of some special types of objects in the MDL format (such as gear, flaps, spoilers, rudder, elevator, ailerons) and names the branch nodes appropriately when it finds these nodes. Unfortunately, the detection mechanism might be highly dependant on which version of MSFS the model was designed for, so I don't know how well it will work with models exported from GMAX for MSFS 2002. Regards, Per Liedman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
