Last active
August 11, 2023 14:06
-
-
Save jclosure/1dd4c94b4a6ce0738bee8b7ffc6194ee to your computer and use it in GitHub Desktop.
OBJ to GLTF quick conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install converter | |
npm install -g obj2gltf | |
# convert .obj to .gltf | |
obj2gltf -i mesh.obj --separate | |
# install web gltf viewer | |
git clone https://github.com/donmccurdy/three-gltf-viewer.git | |
cd three-gltf-viewer | |
npm install | |
# run the server | |
npm run dev | |
# check out: http://localhost:3000/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment