You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Models below surface clipped at certain camera angles #81
Great library. I've been playing with adding models that go below the sea surface.
When viewed at an angle - it renders the model - this is fine, we can apply a transparent 'surface' at sea level
When the move the camera and view it more top down, the model gets clipped.
I'm wondering if it's some depth/distance clipping in the mapbox camera?
Is a tricky one. At the moment the Camera.far attribute is calculated based on the projection matrix we receive from Mapbox/Libre, so not sure how to approach this problem. I could try decreasing Camera.near and see if that helps?
Great library. I've been playing with adding models that go below the sea surface.
When viewed at an angle - it renders the model - this is fine, we can apply a transparent 'surface' at sea level
When the move the camera and view it more top down, the model gets clipped.
I'm wondering if it's some depth/distance clipping in the mapbox camera?
below.sea.level.mp4