Code Monkey home page Code Monkey logo

automotive-configurator's Introduction

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.

ย  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

  • Make sure Node and npm are installed.
  • Clone the repository to any convenient folder using git clone https://github.com/RendercodeNinja/automotive-configurator.git
  • Run npm install to install all dependency libraries.
  • Run npm run dev to start the webpack development server.
  • The app will be served on https://localhost:5000

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

  • Any changes to the sass\style.scss file should be complied separate using npm run build-css before generating builds.
  • Afterwards, you can create a build by running npm run build
User Controls
  • Click and drag using mouse to orbit around the car.
  • Use mouse wheel to zoom-in or zoom-out.
  • Select any of the options at the bottom of the screen to customize .

Dependencies

The project depends on the following libraries

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

automotive-configurator's People

Contributors

rendercodeninja avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.