Page 1 of 1

Multi-materials and UVsets...

Posted: Fri May 07, 2010 8:16 pm
by Proupin
Do you any know a way to work with multimaterials made in max for its use in Octane? I mean besides manually detaching the individual IDs... I'm talking about a script that automates this sort of thing, is there any?

Radiance, I guess multi-material meshes are in your plans for future Octane releases? (I see the .obj file format does support multi-materials)... If Octane had this, it would be such a time-saver... Oh, and UV-sets as well :P

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 8:46 pm
by radiance
multi material meshes ? what do you mean with that ?

Radiance

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 9:25 pm
by n1k
It's possibile, in 3ds max, to assign different materials to same mesh through material ID channels which correspond to ID numbers of multimaterial . It's like one material which contains more materials in itself. But I don't have problems exporting such materials to obj files.

Cheers,
n1k

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 9:26 pm
by radiance
n1k wrote:It's possibile, in 3ds max, to assign different materials to same mesh through material ID channels which correspond to ID numbers of multimaterial . It's like one material which contains more materials in itself. But I don't have problems exporting such materials to obj files.

Cheers,
n1k
so practically, what do i need to do ? nothing ?

Radiance

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 9:28 pm
by andrian
Octane currently working very good with multi materials without any need to do anything, below it's an example of an object with 10 materials assigned on every face ,with individual UV set and octane imports and works with them with ease.
me.jpg
mesh+object.jpg

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 9:31 pm
by andrian
radiance wrote:
so practically, what do i need to do ? nothing ?

Radiance

In this case yes, nothing, drink a coffee in that time :) You did your job well done ;)

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 9:37 pm
by n1k
radiance wrote:
n1k wrote:It's possibile, in 3ds max, to assign different materials to same mesh through material ID channels which correspond to ID numbers of multimaterial . It's like one material which contains more materials in itself. But I don't have problems exporting such materials to obj files.

Cheers,
n1k
so practically, what do i need to do ? nothing ?

Radiance
If you like concept of max multi material you can add it to octane, but for me it's not necessary thing to have.

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 9:48 pm
by Chris
It already works very well for me also. I have no problems with objects with different material id`s.

Cheers.

Chris

Re: Multi-materials and UVsets...

Posted: Fri May 07, 2010 11:27 pm
by Proupin
It seems there was a problem with the .obj export settings from another app, I tried again and yes it works... ah.....

EDIT: Ok, I found what was happening... This is a 3dsMax OBJ export limitation: if you have Vray Materials assigned to one or more slots, those materials will be converted to a single standard material and all the polygons Ids reset to 1. (read the image comments, since many of you are probably Vray users this may be of your interest)

In conclusion, some cleaning must be made in all multi-materials with one or more Vray Materials*... or use a script that the conversion automatically such as: http://www.motivacg.com/scripts/script01_en.html

*I guess this does not only happen with VrayMaterials but with other kind of material types...