Mapping layer

The mapping attribute layer wizard allows the most generic form of attribute definition in which you can create mappings from an image file to attribute values.

Typically, mapping attribute layers are used to control CGA shape grammar rule attributes; if an attribute defined in an attribute layer matches an attribute defined in a rule file, the attribute layer can be selected as a source for the rule attribute in the Inspector. See Map image data to rule attributes.

To create a mapping layer, do the following:

  1. Select Layer > New Map Layer.
  2. Click Mapping.
  3. Select the image map in the wizard.
  4. Set the dimensions and location of the attribute layer in the scene.
  5. Click the upper left insert-row button (left of Attribute) to create an attribute.

    An arbitrary number of mappings can be defined per layer.

  6. Right-click in the attribute area and select Add Row to create an attribute.
  7. Enter the attribute name.
  8. Select the source channel and the mapping range.
  9. Click Finish.

    The result is a mapping attribute layer with the named attribute function that returns values between Minimum and Maximum by sampling the given Channel from the image map file.

    Note:

    All attribute layer properties can still be changed after creation through the Inspector.