Silhouettes
- Last UpdatedApr 28, 2023
- 2 minute read
Rendering silhouettes
The AVEVA™ XR engine can automatically render silhouettes around the meshes.
Each Silhouette can have its own color and alpha value.
Silhouettes are enabled when one of the following render pipelines are enabled:
-
Default pipeline
Only 'simple' meshes are supported. There is no clipmap support.
How to
-
Silhouettes are enabled from the config file: silhouettes à enable.
-
There are no export parameters to enable the silhouettes on the meshes because the application code does this.
Anti-aliasing options
Silhouettes support two custom forms of anti-aliasing that can be enabled from the configuration file.
These anti-aliasing options are independent from the engine's other anti-aliasing parameters.
The available anti-aliasing options are:
-
FXAA
-
Enable this by setting the configuration file parameter silhouettes à antialiasingType to FXAA.
-
This is based on a double pass of FXAA.. Once for the colors; again for the alpha channel.
-
-
SMAA
-
Enable this by setting the configuration file parameter silhouettes à antialiasingType to SMAA.
-
This is based on a single pass of SMAA.
-
-
None
-
Set the configuration file parameter silhouettes à antialiasingType to None.
-
Size
-
The size of the silhouettes can be modified through the config file parameter: silhouettes à size
-
Only the values 1 and 2 are supported. 1 is standard size, 2 is twice that.
-
The size of the silhouettes does not depend from the size of the screen, so if the silhouette is N pixels at 640×480, it is also N pixels at 1920×1280.
Limitations
The engine can render any number of silhouettes, but if the number is more than 255 some blend between nearby silhouettes may appear.