Gary Neely  wrote:
> I'd like to second Gijs' concerns here. I build my models in sub-units
> partly to facilitate ease of maintenance and development, and partly
> for easy LoD range logic. My model units tend to be: airframe,
> external details (antennae, etc), external lighting rig, cockpit,
> instruments, cabin, propellers. IIf I understand the proposal right, I
> would be concerned about losing the propellers in an automatic AI
> implementation.
>
> I wonder if the proposed implementation might benefit from a new
> optional element within <models> that allows the developer to specify
> that the AI scheme must load the sub-model. For example:
>
> ...
> <model>
>  <name>Cockpit</name>
>  <path>Aircraft/Goose/Models/Goose_Cockpit.xml</path>
> </model>
> <model>
>  <name>External Lights</name>
>  <path>Aircraft/Goose/Models/Goose_Lights.xml</path>
> </model>
> <model>
>  <name>Propellers</name>
>  <path>Aircraft/Goose/Models/Goose_Props.xml</path>
>  <force-ai-import>true</force-ai-import>
> </model>
> ...
>
> This might solve Gijs' problem as well.
>
> Just a thought.

Good thought :)

My proposal above was something like this:

....
 <force-ai-import>true</force-ai-import>
 <model>
  <name>Cockpit</name>
  <path>Aircraft/Goose/Models/Goose_Cockpit.xml</path>
 </model>
 <model>
  <name>External Lights</name>
  <path>Aircraft/Goose/Models/Goose_Lights.xml</path>
 </model>
 <model>
  <name>Propellers</name>
  <path>Aircraft/Goose/Models/Goose_Props.xml</path>
 </model>
....

but that would load all the sub-models, while your suggestion would
limit it to just the submodel selected.

-Stuart

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to