Go Back   AC3D Forums > General > AC3D Suggestions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 20th August 2009, 12:30 PM   #1
coldby
Senior Member
Professional user
 
Join Date: Jun 2006
Posts: 102
Default naming the materials

Hi all, long time no see... but even though my work coopted the best part of my time, I never actually stopped updating and using AC3D.

Now I'm facing a minor but annoying problem: as I export in .obj format the materials are named "acmat0", 'acmat1', 'acmat2' and so on, 1-to-1 with the standard mats as long as no textures are involved and no new mats were defined, apparently at random as soon as things start to grow more complicated.
Then in the final application I still have to find out what is what (by selectively hiding each part), pencil-write down a correspondence table, run a dumb program I contrived to rename the mats, and eventually reload it all.
Neither difficult nor challenging but undeniably boring and time-consuming.

It would be so much easier to have the possibility of calling each mat, say, "brass", "light wood", "dial", "you name it" directly within AC3D, and then having them exported with the proper names, which would make any further retouching or retexturing a walk on the beach.

Is there any hope?
coldby is offline   Reply With Quote
Old 21st August 2009, 05:07 PM   #2
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: naming the materials

If you go into the settings, on the advanced tab there's a checkbox "enable material name editing". This adds a name field to the material properties dialog.

I don't think all of the exporters will obey this, but many of them will.
lisa is offline   Reply With Quote
Old 24th August 2009, 03:33 AM   #3
coldby
Senior Member
Professional user
 
Join Date: Jun 2006
Posts: 102
Smile Re: naming the materials

WOW, thanks!!!

Going to try it out here and now...
coldby is offline   Reply With Quote
Old 24th August 2009, 04:48 AM   #4
coldby
Senior Member
Professional user
 
Join Date: Jun 2006
Posts: 102
Default Re: naming the materials

Alas, it works, but within AC3D only!
In the exported files (all formats I tried so far) the materials were still named "acmat0, 1, 2...".

Still worse, once materials are renamed those nefarious "acmatX" disappear entirely from the .ac file, thus there seems to be no easy way to build a cross-reference table automatically - unless the exporters number the mats progressively after their order in the .ac file; in that case contriving a simple prog to build the x-ref table and rename them in the .obj shouldn't really take long.

As soon as I can (right now I'm expected to take care of my boring Monday stuff) I'm going to check that last possibility and let you know.
coldby is offline   Reply With Quote
Old 24th August 2009, 05:21 AM   #5
luuckyy
Senior Member
Professional user
 
luuckyy's Avatar
 
Join Date: Jul 2005
Location: France
Posts: 737
Default Re: naming the materials

Another solution here : import your ac file into blender and then export to OBJ from there ... works well
__________________
OL.
luuckyy is offline   Reply With Quote
Old 24th August 2009, 07:56 AM   #6
coldby
Senior Member
Professional user
 
Join Date: Jun 2006
Posts: 102
Default Re: naming the materials

Thanks luuckyy, I'll try that. Dont have Blender but I hear it's shareware - hope I got it right else my wife would kill me

Luuckyy, your bloody avatar... three times I tried to wipe that stupid fly off my monitor before realising what it actually was :-[)))
coldby is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 04:51 PM.


AC3D Forum
(C) Inivis Limited 2020