Skip to content

Altitude techniques #1819

Oct 6, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Here is a summary of the various clamping techniques and the various pros and cons.

  • Map samples the elevation at each vertex and alter the "Z" values to line up with the terrain. This happens once when the feature first loads and compiles. By default this will clamp to the highest elevation data available.

  • Scene is similar to Map but re-clamps the geometry when new terrain data pages in. This is more CPU-intensive and it suitable for smaller localized geometries. It only works on Annotations (not on FeatureModel layers) at the moment.

  • Drape renders the geometry to a texture, and then uses projective texturing to render that texture on the terrain surface. You don't have to worry abo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RhythmOfTension
Comment options

Answer selected by RhythmOfTension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants