GithubHelp home page GithubHelp logo

bolsinga / carnival Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 64 KB

A Carnival OpenGL program based on code I wrote in 4/1992 while a senior Computer Science student at University of Illinois.

C 100.00%

carnival's Introduction

Greg Bolsinga 5-11-2003

This program is based upon the program I made in April, 1992. It ran on big & powerful Silicon Graphics (SGI) machines. It was written in a SGI SPI called Iris GL. Over the last 11 years, Iris GL evolved into OpenGL. OpenGL is supported on just about every computer out there today.

I had the sources from 1992, and I decided to get them running on Mac OS X. It took about 2 days of programming.

To run, just double click on the carnival application. Once it is running, you are first riding the roller coaster. Pressing the 't' key will switch you to riding the ferris wheel, and pressing the 't' key again will bring you back ot the roller coaster. Pressing the Space Bar will pause the animation. Pressing the 's' key will set up the program so that you can look around using the arrow keys for left and right and up and down. Using the 'z' and 'x' keys will move the camera forwards and backwards in space. It is a little unusual to look around. I don't have the math quite right, and it can get into an odd position fairly easily. Simply press the Space Bar to start the animation up again.

An interesting fact is that I had to force this program to slow down. Without a forced slowdown in the code (which wasn't there on the super fast SGI machines of 11 years ago), it would draw so fast that it is hard to tell what is going on.

I put a video of the result on YouTube: https://youtu.be/4mO8TaWTE5Y.

carnival's People

Contributors

bolsinga avatar

Stargazers

 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.