Giter Site home page Giter Site logo

graphics-project-locomotive's Introduction

Graphics Project
Peter McPadden

Base code was taken from my own hw6, which was based on ex15, there are also a few lines of code adapted from ex21.

Everything was implemented using code. The smoke was done using my own sphere code.

Main things to pay attention to:
Movement of the rods with the wheels
Movement of trees/landscape especially with respect to the wheels. The wheels should not look like they are sliding on the rails.
Smoke movement/fade-away
General quality of geometry of the train itself (given that it is done entirely in code). The cab has been modified to have a more detailed and less boxy look.
Wheels on each side are 90 degrees out of phase like on a real locomotive, allows movement from any wheel position.
Spotlight on the front of the train. This is better seen when night mode is on, but is visible in day mode as well.

I also left the controls unlocked so you can zoom out really far to see how everything works, and look at things from all angles.

Key bindings

  s/S	 Decrease/increase speed
  d/D  switch day/night mode
  arrows     Change view angle
  PgDn/PgUp  Zoom in and out
  0          Reset view angle
  ESC        Exit

graphics-project-locomotive's People

Contributors

vindication1118 avatar

Watchers

James Cloos avatar  avatar

Forkers

himanshu9201

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.