AC3D file format: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 63: Line 63:
<tt>MATERIAL "Color_F01" rgb ...</tt>    This is <tt>mat 3</tt><br>
<tt>MATERIAL "Color_F01" rgb ...</tt>    This is <tt>mat 3</tt><br>


Now we will look for the object that has <tt>mat 2</tt> further below in the AC file. It is this one:
Now we will look for the object further below in the AC file that uses <tt>mat 2</tt>. It is this one:


<tt>
<tt>
Line 89: Line 89:
</tt>
</tt>


As you can see, <tt>mat 2</tt> is used in this object. Let's imagine that we know that it is a roof. So now that we have named it ''Roof'' we can refer to it from the XML file. Voilá!
As you can see, <tt>mat 2</tt> is used in this object. Let's imagine that we know that it is a roof. So now that we have named it ''Roof'' we can refer to it from the XML file. Voilà!


Note: When you [[Textures & Texture_Maps_in_SketchUp#Loading_your_texture_into_SketchUp|define a new texture in SketchUp]], you can give it a name. Imagine that we use the texture <tt>roof1.png</tt> and that we name the texture <tt>Roof</tt>. The name and the texture filename will appear in the AC file. Yet you will still have to rename the object. The [[SketchUp to AC3D exporter]] will give you this:
Note: When you [[Textures & Texture_Maps_in_SketchUp#Loading_your_texture_into_SketchUp|define a new texture in SketchUp]], you can give it a name. Imagine that we use the texture <tt>roof1.png</tt> and that we name the texture <tt>Roof</tt>. The name and the texture filename will appear in the AC file. Yet you will still have to rename the object. The [[SketchUp to AC3D exporter]] will give you this:
248

edits

Navigation menu