donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.06k stars 530 forks source link

Love your tool #345

Closed PAGESVFX closed 1 year ago

PAGESVFX commented 1 year ago

Hi, I have been enjoying a lot your tool loading glb files. I was wondering if the tool can be installed on any website, and if so do you have any instructions on how to go about it?

Thank you in advance for your help.

donmccurdy commented 1 year ago

Hi @PAGESVFX! This code is open source and you're welcome to copy the parts you need. The rendering engine is three.js (https://threejs.org/), and I use Vite (https://vitejs.dev/) to compile and build the code. If you're looking for the easiest possible way to get a viewer into your site, I would consider something like https://modelviewer.dev/ instead.

PAGESVFX commented 1 year ago

Thank you very much for your reply Don, I will look into it. Hopefully I can integrate it on my website.

Thanks for your time.