FME Transformers: 2024.1

Categories
3D

3D

Rasters

AppearanceSetter

Sets appearance style(s) onto the front and/or back sides of geometries. All Surfaces and most geometry types which are, or can contain, surfaces may have appearances set directly on them.

You may also, at the same time, generate the texture coordinates of the surfaces that are affected. Texture coordinates are only required where Raster textures are used.

The appearance is only directly set on the geometry parts which are specified through the Geometry XQuery selection. However, because appearances may be inherited further down a geometry hierarchy, setting an appearance directly at one level may also have a visible effect further down a geometry hierarchy. Texture coordinates are therefore calculated, if necessary, on every geometry part that is affected by the setting of this appearance.

This transformer accepts appearance values in two ways: input appearance style feature and transformer parameter values. If a value is specified in both places, the parameter value will be the only one used. For example, if an input appearance style feature has the appearance name wall, and the appearance name is also set in the transformer parameter as brick wall, then the appearance that is set on the feature will have the name brick wall.

There are also two fundamental modes in which this transformer is used:

  • One mode may send in many Appearance style features and specify, through the two join parameters, which Appearance to apply to each selected geometry part.
  • In the other mode, where no join is specified, a single input Appearance style feature is expected and it is used for all selected geometry parts.

Coordinate Space Terminology

In order to reduce confusion between the real coordinate space of the surface and the texture coordinate space, this transformer uses "u" and "v" instead of "x" and "y" when referencing the latter. Note that this is also reflected in the parameter names.

For more information on appearance support in FME, see Appearances.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the AppearanceSetter on the FME Community.