ICE Modeling Problem: Merging Material ID's

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
jacobo
Posts: 41
Joined: 11 Jun 2009, 00:06

ICE Modeling Problem: Merging Material ID's

Post by jacobo » 27 Nov 2013, 08:36

Hi;

I have 3 simple meshes I merged using the Merge Polygon Data Compound. In the help file, it seems that it is as easy as 123 to merge the materials using a Merge Material IDs compound and then a Set Materials from Library compound to set the materials. Yet, in my case that just doesn't work and I get errors in my ICE tree evaluation. In the documentation it says "This works only if all objects use the same Materials attribute value." What on earth does that mean?

Thanx

AJ
Attachments
GUID-01623C44-38B0-49C0-A29C-B037822FDFC7-low.png
Capture.JPG

jacobo
Posts: 41
Joined: 11 Jun 2009, 00:06

Re: ICE Modeling Problem: Merging Material ID's

Post by jacobo » 27 Nov 2013, 18:12

Oh my... No answers? :(

grahamef
Posts: 281
Joined: 23 Jun 2009, 21:01

Re: ICE Modeling Problem: Merging Material ID's

Post by grahamef » 27 Nov 2013, 19:27

The Materials attribute is an array of text strings that tells the renderer which materials to use for which MaterialID. Now if you're going to merge MaterialIDs then the Materials array must be the same, otherwise MaterialID=1 might be, e.g., blue on one object and green on the other.

In your case, it looks like Materials is undefined.

jacobo
Posts: 41
Joined: 11 Jun 2009, 00:06

Re: ICE Modeling Problem: Merging Material ID's

Post by jacobo » 27 Nov 2013, 20:18

Thanx Graham... But, how do I adjust that? What do I need to do?

grahamef
Posts: 281
Joined: 23 Jun 2009, 21:01

Re: ICE Modeling Problem: Merging Material ID's

Post by grahamef » 27 Nov 2013, 20:36

This topic should explain it:

http://download.autodesk.com/global/doc ... 33E396.htm

It sounds to me like you are using regular (non-ICE) material assignments. You need to convert those to ICE-based material assignments.

NNois
Posts: 754
Joined: 09 Jun 2009, 20:33

Re: ICE Modeling Problem: Merging Material ID's

Post by NNois » 29 Nov 2013, 10:57

Hi, for me too, at start it was pretty hard to interpret...
Here a screenshot showing the full process
Attachments
MaterialID.JPG

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests