248
edits
Line 25: | Line 25: | ||
The AC3D exporter is set to export textures to RGB format by standard. That means that for FG to be able to display your model correctly, you will have to provide your textures in RGB format. Sketchup, however, cannot read RGB files, so you first have to feed them into Sketchup in another format, e.g. JPG and then convert them after exporting the model. | The AC3D exporter is set to export textures to RGB format by standard. That means that for FG to be able to display your model correctly, you will have to provide your textures in RGB format. Sketchup, however, cannot read RGB files, so you first have to feed them into Sketchup in another format, e.g. JPG and then convert them after exporting the model. | ||
You can change that by telling AC3D exporter to export the textures as PNG files. | You can change that by telling AC3D exporter to export the textures as PNG files. The advantage is that Sketchup and FG can both read PNG and no conversion will be necessary. In order for this to work, open the file <tt>ac3d_export.rb</tt> in any text editor and change two lines as follows: | ||
In order for this to work, open the file <tt>ac3d_export.rb</tt> in any text editor and change two lines as follows: | |||
<tt>return File.basename(n, File.extname(n)) + ".rgb"</tt> becomes<br> | <tt>return File.basename(n, File.extname(n)) + ".rgb"</tt> becomes<br> |
edits