Skip to content

Instantly share code, notes, and snippets.

@jclosure
Last active August 11, 2023 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jclosure/1dd4c94b4a6ce0738bee8b7ffc6194ee to your computer and use it in GitHub Desktop.
Save jclosure/1dd4c94b4a6ce0738bee8b7ffc6194ee to your computer and use it in GitHub Desktop.
OBJ to GLTF quick conversion
# 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