threebox icon indicating copy to clipboard operation
threebox copied to clipboard

Resize mapbox window issue

Open patrik-u opened this issue 3 years ago • 3 comments

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

patrik-u avatar Oct 27 '21 21:10 patrik-u

When I zoom in the browser window, three 3D objects will be compressed

yueyanshaosun avatar Nov 09 '21 07:11 yueyanshaosun

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.

EgorKrasno avatar Nov 15 '21 16:11 EgorKrasno

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.

EgorKrasno avatar Nov 28 '21 02:11 EgorKrasno