Simple app that shows how to use OBJ loader of Three.js with React
https://supromikali.github.io/react-three-obj-loader/
| public | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
The goal of this repo is to showcase how to use Three.js OBJ Loader inside of a simple React component.
Live Demo
Deployed to Github Pages: https://supromikali.github.io/react-three-obj-loader/
Preview
App Features
- loading an OBJ Model into a scene
- Three.js OrbitControls integration
- scene resize on window resize
- display loading progress on Three Model in React app
How to Run an App Locally
This demo app uses react-scripts, so to run the app locally just type in your terminal: npm install && npm start and the app should start in your browser at http://localhost:3000
