Page 1 of 1

Multi/sub-object material support

Posted: Sat Jun 23, 2012 6:22 am
by sandykoufax
Hi,

I have a question about Multi/sub-object material.

In my case, to change legacy maxwell materials of my old scene to newer material system,

First, export it to mxm file. (like this https://lh3.googleusercontent.com/-Nxvx ... well27.JPG )

Second, change materials to New Maxwell Material.

Third, import the mxm file.

This process has automatically change old textures location to newer one if I have all textures within 'map' sub directory of new Max scene file.

So at first step, even though MAX shows warning message about texture location, but at third step, there is no problem 'cause the location has changed correctly.

But within Multi/sub-object material, this process isn't work.


Is this a bug? or limitation?

Re: Multi/sub-object material support

Posted: Fri Jul 06, 2012 12:17 pm
by Mihnea Balta
I'm not sure I understand the problem. Are you saying that if you import a MXM into a Maxwell material which is contained into a multimaterial, the texture paths aren't adjusted? I've just tested this and it seem to work correctly. Could you give me a bit more details about how the multimaterial affects the process?

Re: Multi/sub-object material support

Posted: Fri Jul 06, 2012 2:46 pm
by sandykoufax
Sorry for my poor english.
I'm saying that translating legacy materials of my old scene to new material system.

1. legacy materials have some textures which located in F:\aaa (for example)

2. I opened the old scene and I found that I have no F drive.
So I moved all textures to D:\scene\map
and max scene file is located D:\scene

3. export all legacy materials to mxm (using export button https://lh3.googleusercontent.com/-Nxvx ... well27.JPG )

4. change material slot to Maxwell material (new)

5. Import mxm file.

In this process, maxwell plugin change old texture location (f:\aaa) to new location (d:\scene\map)
But, In multi/sub-object material, this automatic translation is not working correctly.
So new material has old texture location.

I hope you understand my problem.

Re: Multi/sub-object material support

Posted: Fri Jul 06, 2012 2:57 pm
by Mihnea Balta
I don't think it's related to multimaterials, but to the character set problems (which you've also highlighted in the screenshot). We've fixed those already and I tried the export/import process you're describing and it seems to work fine, regardless of whether the Maxwell material is inside a multimaterial or not. We'll release a build which fixes all the character set issues early next week.

Re: Multi/sub-object material support

Posted: Fri Jul 06, 2012 3:07 pm
by sandykoufax
That's strange. My problem has occurred even though all material and texture name and directory has 1byte character.
OK. I'll report again after next build released.
Have a nice weekend. :)