mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.11k stars 2.21k forks source link

Add support for animated 3d models #10358

Open oguzhanmeteozturk opened 3 years ago

oguzhanmeteozturk commented 3 years ago

Motivation

Now that we are spoiled with all these awesome features like video overlay, 3d terrrain and models. I am curious if it would be possible to animate the three.js objects directly in mapbox. Someone could maybe build a package tracker, where you could see your little 3D truck cruising in the 3D rendered concrete jungle instead of a boring icon.

Design Alternatives

Don't beat me, I have no clue on how it could be implemented. But together with more indoor-map goodness I think it would open up interesting posibilities. I saw a couple mentions and examples about moving the objects but I am spoiled I want to see full three.js.

jscastro76 commented 3 years ago

You can get this feature (and many more) with this plugin AnimationVideo

oguzhanmeteozturk commented 3 years ago

This is awesome!

jscastro76 commented 3 years ago

This is awesome!

Glad you like it! Let me know opening an issue there if you find any problem using it.