threebox
threebox copied to clipboard
Resize mapbox window issue
I have a map that is 100% size of the browser window and when the window is resized the 3-D rendering objects is warped out of sync with the map. Looks like the issue is there in the 12-add3dmodel and 13-eiffel example as well (but not 06-object3d). Any way to correct this?
Gif showing the issue: https://imgur.com/a/i7kepjG
When I zoom in the browser window, three 3D objects will be compressed
My objects aren't resizing, however, the click area of the bounding box seems to not move with the models when the screen size changes.
I have a map that is 100% size of the browser window and when the window is resized the 3-D rendering objects is warped out of sync with the map. Looks like the issue is there in the 12-add3dmodel and 13-eiffel example as well (but not 06-object3d). Any way to correct this?
Gif showing the issue: https://imgur.com/a/i7kepjG
I encountered this problem when using the real sky box, using default lights seemed to fix the problem.