/react-three-obj-loader

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

Primary LanguageJavaScriptMIT LicenseMIT

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
  • 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