tfClamp constrains a height field between two altitude levels by scaling or clipping it.

tfclamp_top_image.png

The terrain on the right has tfClamp enabled, scaling the terrain between the Min and Max settings.


Properties

Min

Sets the minimum altitude of the terrain.

Max

Sets the maximum altitude of the terrain.

Any deformation in the terrain will be scaled within the limits of the Min and Max altitude settings.

Clip

If this is enabled, the terrain will be clipped to the defined range and any part of the scene that is outside of the Min and Max settings will be clipped, as seen in the image below.

tfclamp_clip.png

With Max set at 60cm, all areas above the Max of 50cm have been clipped, resulting in flat plateaus.


Copyright © 2024 INSYDIUM LTD. All rights reserved.