13,212
edits
m (Oops) |
(→Level Of Detail: See also Modeling - Getting Started#Level of Detail (LOD)) |
||
Line 150: | Line 150: | ||
=== Level Of Detail === | === Level Of Detail === | ||
: ''See also [[Modeling - Getting Started#Level of Detail (LOD)]].'' | |||
To prevent objects like this instrument being drawn when the aircraft is actually too far away for them to be seen anyway we use a Level Of Detail section (a "range" "animation".) Notice the <pre><!-- --></pre> section; this is a comment, feel free to add them where you need a reminder of what's going on. | To prevent objects like this instrument being drawn when the aircraft is actually too far away for them to be seen anyway we use a Level Of Detail section (a "range" "animation".) Notice the <pre><!-- --></pre> section; this is a comment, feel free to add them where you need a reminder of what's going on. | ||
Line 162: | Line 164: | ||
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. | 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. | ||
=== Including the instrument in an aircraft === | === Including the instrument in an aircraft === |