Sample implementantion of 3Dviewer react component. It can be used, for example, to display products in full 3D (babylonjs models) or 360 degree rotatable images (sets of jpeg/png files).
Demo http://react3dviewer.aurity.co
Sample implementantion uses:
- webpack
- react + redux + redux devtools + react router
- sass loader
- written in ES6-7 (babel fallback)
- babylonjs library for actual 3d rendering. I find it better than currently the most popular webgl library (threejs).
This project can also be used as a react-redux starting kit to create new project (see starter kit page for more details)
Installation:
- get the project from repo
- cd to project, then npm install
- for development server: 'npm start'
- for production build: 'npm run build' (build placed in /dist folder)