Skip to content

supromikali/react-three-obj-loader

Repository files navigation

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

Screenshot from 2020-04-05 09-07-41

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

About

Simple app that shows how to use OBJ loader of Three.js with React

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published