heremaps/harp.gl

GLTF API to load 3d model

Closed this issue · 3 comments

Is your feature request related to a problem? Please describe.
I was trying to load glb/gltf models in the project using harp.gl but found harp.gl is using FBXLoader to add 3D model for now.

Describe the solution you'd like
It would be great to have an API that allows us to load GLB/GLTF using Three.js GLTF loader through passing URL or the link from the local file system.

@sunyonglincanada , see the PR I created: sunyonglincanada/harp.gl-GLTF#1

It is quite simple to load the GLTF, at least much more simple than I thought it was. I still think we could make an API, but I don't think it is such a high priority because the current GLTFLoader class from three.js isn't too difficult to use.

@sunyonglincanada , see the PR I created: sunyonglincanada/harp.gl-GLTF#1

It is quite simple to load the GLTF, at least much more simple than I thought it was. I still think we could make an API, but I don't think it is such a high priority because the current GLTFLoader class from three.js isn't too difficult to use.

Thanks @nzjony I've tried your method in the PR and it loads GLTF model properly. And yes, we will use this simple method for now to load GLTF models. It would be helpful if harp.gl supports the ability to have an API to load GLTF models and please keep me posted when it is available. Thanks so much for your notes and help!

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.