rendercodeninja / automotive-configurator

A web demo app for configuring the visual look of a retail car using WebGL rendering. The project was created using ThreeJS WebGL library with model formats in glTF.
MIT License
92 stars 41 forks source link
threejs webgl webpack

Automotive Configurator (ThreeJS)


A web demo app for configuring the visual look of a retail car using WebGL rendering. The project was created using ThreeJS WebGL library with model formats in glTF.

Live Demo

  alt text

Disclaimer

This project is supplied without any warranty and intended for demo purposes only, to experiment with WebGL (threeJS) and the visual quality that could be achieved with it. The model files were downloaded from www.tf3dm.com and optimized using Blender for realtime rendering capability.

Prerequisites

Make sure the following requirements are met.

  1. A system with good specs for consistent FPS (Recommends Nvidia 1050 Ti or above)
  2. NodeJS, npm installed.
  3. Latest Chrome/Firefox with JS enabled

Running the demo

The demo now uses webpack and webpack-dev-server for easy development with hot-loading features and is quiet easy to run by following the steps mentioned below

alt text

Building the demo

The demo can also be built for static hosting. All HTML/JS/CSS and asset files will be packed into the build folder. Build files should be hosted through a server to avoid CORS Policy blocking by browsers. You can create a build by running the following command

User Controls

Dependencies

The project depends on the following libraries

  1. Three.js
  2. Tween.js
  3. GLTF