Function Layer

The Function Layer wizard lets you create the most generic form of an attribute layer. You can write any mathematical function by using a subset of the CGA Shape Grammar language.

Create a Function Layer

You can create a function map in the following ways:

  • From the main menu, click Layer > New Map Layer...
  • From the Scene Editor, right-click New > New Map Layer....

After the New Map Layer dialog opens, click Function.

After the type Function has been selected in the wizard, the function attribute layer can be created in the Function dialog by entering a function which defines an arbitrary attribute. The "u" and "v" parameter correspond to normalized coordinates in the range [0..1] in x and z direction. After creation, the dimensions and the location of the layer can be edited as well (resulting in a scaling and translation of u and v accordingly).

The syntax is similar to the shape grammar and described in more detail in Editing Map Layer attributes.


In this topic
  1. Create a Function Layer