Giter VIP home page Giter VIP logo

1794530's Introduction

final-project-for-interactive-graphics-course-1794530

final-project-for-interactive-graphics-course-1794530 created by GitHub Classroom Animation and mouse control is enabled by default. Controls are:

Keyboard:

A: Move camera left D: Move camera right W: Move camera up S: Move camera down E: Move forward Q: Move Backward Space bar: stop moving


R: Start/stop animation M: Enable/disable mouse

Mouse:

It changes the lookAt of the camera (doesn't affect the movement, it only looks on that direction)

Description:

The surroundings are a representation of the solar system.

  • Planets are created using hierarchies
  • Each planet has its own texture
  • The galaxy is another sphere.
  • There is rotation and translation for all planets
  • The moon rotations/translates around the Earth
  • There is a lighting source placed at the Sun, as well as ambient light.
  • Environment can be controlled using keyboard and mouse
  • It is possible to select a planet to place the camera behind and follow it around the sun.

2 buffers are used, one for the solar system, another one for the spaceship. The spaceship details are:

  • Comprises of 3 part: the body (parent) and the 2 wings (childs)
  • The shape of the ship is a single trapezoid used for the 3 parts. The wings are scaled wider and shorter
  • The body and wings rotate differently when moving forward/backward/sideway.
  • It is fixed on a position in front of the camera

1794530's People

Contributors

1794530 avatar

Watchers

 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.