AC3D file format: Difference between revisions

Jump to navigation Jump to search
Line 100: Line 100:
The name of the material does not matter at all, it could be anything. The object name is the important thing for reference from XML. Only after renaming the object you will be able to address it from the XML file. (Or, of course, you can refer to the object "blah", if this is the only object with that name in the AC file.)
The name of the material does not matter at all, it could be anything. The object name is the important thing for reference from XML. Only after renaming the object you will be able to address it from the XML file. (Or, of course, you can refer to the object "blah", if this is the only object with that name in the AC file.)


When you are modelling in SketchUp and you want to insure that you can identify one part of it later in the AC file, simply give it a unique color or texture that is not used anywhere else in the AC file.
When you are modelling in SketchUp and you want to ensure that you can identify one part of it later in the AC file, simply give it a unique color or texture that is not used anywhere else in the AC file. An exception to this method exists where you want your object to be invisible until the .xml file animates it (as with some lighting effects) - in that case you MUST use a unique texture. Failure to use a unique texture in these cases will result in your object not showing in FlightGear.


[[Category:Howto|AC files: Understanding and changing .ac code]]
[[Category:Howto|AC files: Understanding and changing .ac code]]
129

edits

Navigation menu