- Sat Sep 02, 2006 4:07 am
#182045
I've been working on this one for a week, and I finally got it.
The following two scene files are almost the same:
A: http://funkytroll.com/temp/matbug_indiv ... erials.mxs
B: http://funkytroll.com/temp/matbug_multi_material.mxs
They both contain only three things: a camera, an empty cubic room with a lambertian material, and a tetrahedral emitter.
Yet here is the image produced from rendering A after 20 minutes:

And here is the image produced from rendering B after 20 minutes:

There is only one difference between these two scenes: A has individual materials applied in MAX, whereas B uses a single multi-material in MAX whose two sub-materials are the two materials used individually by A. So in theory, they should have produced indentical MXSes. But as you can see, that is far from the case.
Cursorily, the MXS files that result look the same in Studio, but clearly there is something very important that is different. I, however, cannot seem to figure out what it is. I was able to isolate things down to such a simple situation, but without a better way to compare the MXS files, I can't tell what's different.
Furthermore, it is something very subtle in the MXS files, something that Studio somehow does not pay attention to, because - and here is the truly strange part - the bug only happens if you directly render those two MXS files. If you instead load them in Studio, and then render from Studio which forces a re-export of the MXS file to a temp one for rendering, they both render the same!
The secret thing that is different between them ceases to exist when the file is loaded into Studio and re-saved for a render. But if you run mxcl on them directly, instead of using Studio, the bug is there.
So, Maxwell experts, any ideas about what on earth is happening here?
- Casey
The following two scene files are almost the same:
A: http://funkytroll.com/temp/matbug_indiv ... erials.mxs
B: http://funkytroll.com/temp/matbug_multi_material.mxs
They both contain only three things: a camera, an empty cubic room with a lambertian material, and a tetrahedral emitter.
Yet here is the image produced from rendering A after 20 minutes:

And here is the image produced from rendering B after 20 minutes:

There is only one difference between these two scenes: A has individual materials applied in MAX, whereas B uses a single multi-material in MAX whose two sub-materials are the two materials used individually by A. So in theory, they should have produced indentical MXSes. But as you can see, that is far from the case.
Cursorily, the MXS files that result look the same in Studio, but clearly there is something very important that is different. I, however, cannot seem to figure out what it is. I was able to isolate things down to such a simple situation, but without a better way to compare the MXS files, I can't tell what's different.
Furthermore, it is something very subtle in the MXS files, something that Studio somehow does not pay attention to, because - and here is the truly strange part - the bug only happens if you directly render those two MXS files. If you instead load them in Studio, and then render from Studio which forces a re-export of the MXS file to a temp one for rendering, they both render the same!
The secret thing that is different between them ceases to exist when the file is loaded into Studio and re-saved for a render. But if you run mxcl on them directly, instead of using Studio, the bug is there.
So, Maxwell experts, any ideas about what on earth is happening here?
- Casey