I am trying to render a shape which is following terrain. I am tessellating the shape in a web worker. Once the tessellation is complete I am then using the globe getHeight method to determine the altitude height at the given cartographic . Since the shape has several hundred/thousand points calling getHeight that many times makes the UI not as responsive as I would like.
I am wondering if anybody has a good idea on how to determine the terrain height in a web worker?
Thanks in advance
Jerry