react-three-obj-loader
react-three-obj-loader copied to clipboard
Simple app that shows how to use OBJ loader of Three.js with React
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
- auto centering of the loaded model
- 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 vite, 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:5173