Page 1 of 1

Material import from blocks broken

Posted: Sun Jul 01, 2012 11:12 pm
by Ha_Loe
I cannot get Maxwell to read material definition of linked, linked/embedded blocks. Same for importing geometry with Maxwell material definintion.

All I get is "Maxwell: warning: document-read unsuccessful (caller=ReadDocument)"

Happens for both Rhino4 and 5. All models are created in RH5 and where saved as RH4 to test, so might still be a 5 issue...

Re: Material import from blocks broken

Posted: Sun Jul 01, 2012 11:25 pm
by Ha_Loe
Just did a quick checkup with another machine. Fresh 2.7 install, as of right now.

Here's what I did:
- Create a simple box.
- Add basic material.
- Save.
- Create new file.
- Import box.
-> Geometry is there, materials are not. Warning as in post above.

Re: Material import from blocks broken

Posted: Mon Jul 02, 2012 4:03 am
by JDHill
Thanks, I see it -- I'll try to find a workaround.

Re: Material import from blocks broken

Posted: Fri Jul 27, 2012 3:54 pm
by JDHill
Please check this again in 2.7.10.

Re: Material import from blocks broken

Posted: Tue Oct 16, 2012 10:27 pm
by Ha_Loe
Sorry, took a while till I came around to test this stuff.

My current project uses the shadow pass and material IDs for an artistic clay-like look and masks. So I didn't test "real" materials. All linked files point to materials from the same library (same mxms). So it's probably ok, that renamed but otherwise unaltered materials don't show up in the database.

But here's where the bad stuff happens:
Shadow tag is ignored for imported materials
Material ID colors for imported material instances differ from their embeded versions

Re: Material import from blocks broken

Posted: Tue Oct 16, 2012 11:44 pm
by JDHill
I'm not able to reproduce these, could you please send me an MXM that fails to import and/or render with its specified shadow switch and material ID color?

Re: Material import from blocks broken

Posted: Wed Oct 24, 2012 5:47 am
by JDHill
Thanks, there is a problem here, related to materials from referenced files not overwriting older versions of themselves when brought into the current document.