Skip to content

Pure React WebGL Wavefront Obj renderer with simple light and shadow

Notifications You must be signed in to change notification settings

moskopio/react-obj

Repository files navigation

Simple WebGL Obj Rendered

This project is a simple pure React + WebGL 1.0 Wavefront Obj rendered with lights and shadows, (pseudo) point clouds and some various rendering styles. preview

Preview of the application is available on Github Pages: https://moskopio.github.io/react-obj

Project was created mostly as a learning excersise with some self-imposed limitations to make it more fun ( : It depends only on React and browser calls to WebGL 1.0 API. All of the obj file parsing, math operations, rendering, WebGL, GLSL code, UI, events handling etc is self-contained in this repository.

Installation:

yarn

Running Locally:

yarn dev

Acknowledgements

The Stanford Bunny model is courtesy of the Stanford University Computer Graphics Laboratory. The original file can be found at http://graphics.stanford.edu/data/3Dscanrep/ with additional information on the model's venerable history at http://www.cc.gatech.edu/~turk/bunny/bunny.html.