Multi-materials and UVsets...

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
User avatar
Proupin
Licensed Customer
Posts: 735
Joined: Wed Mar 03, 2010 12:01 am
Location: Barcelona
Contact:

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
Win 7 64bits / Intel i5 750 @ 2.67Ghz / Geforce GTX 470 / 8GB Ram / 3DS Max 2012 64bits
http://proupinworks.blogspot.com/
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

multi material meshes ? what do you mean with that ?

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
n1k
Posts: 401
Joined: Mon Jan 11, 2010 7:55 pm
Contact:

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
[email protected], 8gb RAM, Gainward GF 460 GTX 2048mb,Win7 64bit.

http://continuum3d.blogspot.com/
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

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
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
andrian
Licensed Customer
Posts: 641
Joined: Tue Mar 16, 2010 3:48 pm
Location: Bulgaria
Contact:

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
Vista 64 , 2x Xeon 5440 - 24GB RAM, 1x GTX 260 & I7 3930 water cooled - 32GB RAM, 1 x GTX 480+ 1x8800 GTS 512
CGsociety gallery
My portfolio
My portfolio2 - under construction
Web site
Making of : pool scene - part1
andrian
Licensed Customer
Posts: 641
Joined: Tue Mar 16, 2010 3:48 pm
Location: Bulgaria
Contact:

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 ;)
Vista 64 , 2x Xeon 5440 - 24GB RAM, 1x GTX 260 & I7 3930 water cooled - 32GB RAM, 1 x GTX 480+ 1x8800 GTS 512
CGsociety gallery
My portfolio
My portfolio2 - under construction
Web site
Making of : pool scene - part1
User avatar
n1k
Posts: 401
Joined: Mon Jan 11, 2010 7:55 pm
Contact:

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.
[email protected], 8gb RAM, Gainward GF 460 GTX 2048mb,Win7 64bit.

http://continuum3d.blogspot.com/
User avatar
Chris
Licensed Customer
Posts: 439
Joined: Thu Jan 14, 2010 5:01 pm
Location: Norway

It already works very well for me also. I have no problems with objects with different material id`s.

Cheers.

Chris
________________________________________________________
Win 7 64 | 1x GeForce GTX Titan | AMD Phenom II X6 3.20Ghz | 16GB
User avatar
Proupin
Licensed Customer
Posts: 735
Joined: Wed Mar 03, 2010 12:01 am
Location: Barcelona
Contact:

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...
Attachments
This is just a Max shot showing the multi-material with all the slots in Standard. (the right way)...
This is just a Max shot showing the multi-material with all the slots in Standard. (the right way)...
This is the -wanted- result... as long as we use standard materials in all slots everything is allright... One material per slot.
This is the -wanted- result... as long as we use standard materials in all slots everything is allright... One material per slot.
In this second example (next three images), Vray Materials have been used for the two center materials (blue and white logo), and the thee letters material...
In this second example (next three images), Vray Materials have been used for the two center materials (blue and white logo), and the thee letters material...
When re-Importing the .obj back to max, we can see that what was before Vray Material is now a single green standard. The ids for these polygons are now 1 (the same for all)
When re-Importing the .obj back to max, we can see that what was before Vray Material is now a single green standard. The ids for these polygons are now 1 (the same for all)
This shows the result when imported to Octane... The Vray Materials are now one...
This shows the result when imported to Octane... The Vray Materials are now one...
Win 7 64bits / Intel i5 750 @ 2.67Ghz / Geforce GTX 470 / 8GB Ram / 3DS Max 2012 64bits
http://proupinworks.blogspot.com/
Post Reply

Return to “General Discussion”