material_mapping

This module can re-assign data corresponding to:

for the purpose of grouping. This provides great flexibility for exploding models or coloring.

Groups are processed from Top to Bottom.  You can have overlapping groups or groups whose range falls inside a previous group.  In that event, the lower groups override the values mapped in a higher group.  

For example, if you have ten material ids (0 through 9) and you want to have them all be 0 except for 5 & 6 which should be 1, this can be accomplished with two groups:

  1. From 0 to 9 Map to 0

  2. From 5 to 6 Map to 1

Please note that in the animator, you can animate these values.  Each group has From, To and Map To values that are numbered zero through eleven (e.g. From0, MapTo5)

Module Input Ports

Module Output Ports