peterqliu / threebox

A three.js plugin for Mapbox GL JS, with support for basic animation and advanced 3D rendering.
MIT License
526 stars 320 forks source link

GLTFLoader #60

Open huashaoxu opened 5 years ago

huashaoxu commented 5 years ago

previous version has supported the glft loader,why it was removed from souce code? Now, how should we add a gltf model?

oleg-prikhodko commented 5 years ago

previous version has supported the glft loader,why it was removed from souce code? Now, how should we add a gltf model?

Use external GLTFLoader

<script src="https://unpkg.com/three@0.102.0/examples/js/loaders/GLTFLoader.js"></script>

Worked for me

mjcc007 commented 5 years ago

previous version has supported the glft loader,why it was removed from souce code? Now, how should we add a gltf model?

Use external GLTFLoader

<script src="https://unpkg.com/three@0.102.0/examples/js/loaders/GLTFLoader.js"></script>

Worked for me

how did you do ti? I want to do the same.