mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

Handle cases when terrain elevation imagery and terrain imagery don't have the same zoom level #43

Closed avi-c closed 5 years ago

avi-c commented 5 years ago

Handle cases when terrain elevation imagery is not available at the same zoom level as terrain imagery. Scale the resulting elevation image to the proper size for generating the texture heightmap and for looking up height values at a given location.

This includes backing off the zoom level when there is no imagery available and then scaling the resulting bitmap image that is used for height lookup.

avi-c commented 5 years ago

@natalia-osa - Please review the PR.

avi-c commented 5 years ago

Closing this PR since it was addressed by PR #45