Howto:Creating 3D instruments: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 122: Line 122:
</pre>
</pre>


As always, if you need more detailed explanations of any of these animations, remember to RTFM which in this case is the model-howto.html which I've referred to before.
As always, if you need more detailed explanations of any of these animations, remember to RTFM which in this case is the model-howto.html referred to previously.


Each subsequent digit is handled in the same way, though with the object-name, factor and step values modified accordingly.
Each subsequent digit is handled in the same way, though with the object-name, factor and step values modified accordingly.
Line 144: Line 144:


And so on, for the remaining two.  Now, your itt instrument should display the EGT in degC using the needle, and give a "digital" readout of the same in degF.
And so on, for the remaining two.  Now, your itt instrument should display the EGT in degC using the needle, and give a "digital" readout of the same in degF.
The file should look something like this one. [[Media:itt.xml]]


'''Level Of Detail:'''
'''Level Of Detail:'''
Line 156: Line 154:
   <min-m>0</min-m>
   <min-m>0</min-m>
   <max-m>30</max-m>
   <max-m>30</max-m>
  <animation>
  </animation>
</pre>
</pre>
Now, if you've managed to stay with us the whole way through, the file should look something like this one, which you can download and compare with. [[Media:itt.xml]]  Notice that under each new opening xml tag (such as <animation>) the text is indented one more level.  Sensible people(!) use one tab to indent each level, others try to use various numbers of spaces to indent; whatever you use, the single most important thing is to be consistent.  Consistent indentation makes the file much easier to read.
57

edits

Navigation menu