View Single Post
Old 16th July 2010, 11:36 AM   #1
barre
Junior Member
Junior member
 
Join Date: Jul 2010
Posts: 4
Default Material Parsing Question

I am importing a .3DS model of an aircraft and modifying it in AC3D to create an .AC file. The textures seem to not be converted in the process and I will have to manually add them in AC3D, but for now I have the whole model set to no texture. The goal is to create the .AC file as an input into a flight simulator (FlightGear).

The model looks great in AC3D however I'm having an issue when trying to read the resulting .AC in FlightGear, the message says the material cannot be parsed.

Material cannot be parsed:
MATERIAL "Material__0" rgb 0.584314 0.584314 0.584314 amb 0.584314 0.584314 0.584314 emis 0 0 0 spec 0.898039 0.898039 0.898039 shi 12.8 trans 0

So i deleted the 87 odd material definitions with a text editor in the .AC file and replaced it with a material defintion i knew worked, and pointed all surfaces to it. The model loaded correctly (with one material).

Can be parsed:
MATERIAL "white" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0

Any ideas? or where is a doc that specifically defines the material property? (Not: http://www.inivis.com/ac3d/man/ac3dfileformat.html )

Thanks!
barre is offline   Reply With Quote