Importing material attributes

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Bucket
Posts: 4
Joined: Tue Jan 03, 2006 7:02 am
Location: Australia

Importing material attributes

Post by Bucket »

Hello im just asking if there was a way to import the material attrubutes that a model has in to Irrlicht e.g. transparency and colours.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

this should really be done in the mesh loader code, but I don't think it is.
you can either do it manually after loading each mesh, or you could fix the mesh loader(s) and post a patch
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Bucket
Posts: 4
Joined: Tue Jan 03, 2006 7:02 am
Location: Australia

Post by Bucket »

I will look in to the matter because its a pain at the moment :x
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

materials created in 3dsmax (not multi subobject materials) can get their attributes exported using My3d. Check the sample app that comes with the tools for the kind of materials supported:
http://www.my3dproject.nm.ru/

You can also create your level in 3dsmax, create materials for it, export to 3ds and then import your stuff into Giles. Giles will respect your material properties as well. You can also export to My3d from Giles. (export dlls for 3dsmax and giles are included with the Irrlicht engine in the "exporters" folder).

info on Giles:
http://www.frecle.net/giles/
Bucket
Posts: 4
Joined: Tue Jan 03, 2006 7:02 am
Location: Australia

Post by Bucket »

Thanks, it has helped alot.
Post Reply