Coder Social home page Coder Social logo

eduardo-lp-silva / webgl-armored-car Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 41.03 MB

WebGL based model of an armored car, fully controllable by the user, developed in the Computer Graphics (CGRA) class.

JavaScript 75.19% HTML 0.45% GLSL 24.36%
webgl gui

webgl-armored-car's Introduction

Armored-Car-Modelling

WebGL model of an armored car controllable by the user, among other things.

Features

Controllable Armored Car Model

Fully modelled armored car with several geometric shapes such as:

  • Cubes (and its derivates) for the main structure;
  • Semi-spheres for the headlights;
  • Cylinders for the wheels and cannon barrel;
  • Prysms for the frontal armour;
  • Disks for the mirrors and parts of the wheel.

Each part is also fully textured.

cgfimage-tp6-t4g04-2 4

The car can be controlled through the WASD keys (W - Forward, S - Backwards, A - Left, D - Right). This movement is also animated.

Note: The longer the W/S keys are pressed the faster the car will move in the respective direction. If the one of the keys is pressed and then let go, the car will still move with the appropriate speed.

GUI

A functional GUI which allows the user to:

  • Switch on/off the lights;
  • Turn on/off the central axis;
  • Change the vehicle's textures.

cgfimage-tp6-t4g04-5 2

Uneven Terrain

The terrain surrouding the car is not entirely flat, having several hills around it.

cgfimage-tp6-t4g04-6 3

Magnetic Crane

In the scene is also present a magnetic crane. If the user drives the car to the designated parking spot on the map (and the car is within the boundaries), the crane will pick up the car and drop it on the other side.

cgfimage-tp6-t4g04-7 3

webgl-armored-car's People

Contributors

eduardo-lp-silva avatar

Watchers

James Cloos avatar  avatar

Forkers

mcarolinasoares

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.