Skip to content

bitzhuwei/Polyspasm

 
 

Repository files navigation

Polyspasm

Polyspase
Polyspasm is a demo I created in late 2012 for the course EDAN35 High Performance Computer Graphics.

The code is written in C++ and is quite ugly due to the time requirements that I was working with.

The song used is Kung Fu Goldfish by Linus "lft" Åkesson. Parts of the Minecraft map Broville v10 by oldshoes are also used in the demo.

All code is copyright of Jesper Öqvist, and distributed under the GPLv2 license. See the LICENSE file for the full GPLv2 license.

Usage

  • Press Q to exit.
  • Press SPACE to start or pause the demo.
  • Press RETURN to restart the demo.
  • LEFT/RIGHT switches to the next/previous animation.
  • Press R to reload shaders.

Report

There is a report in the report subdirectory with more details about the effects used in the demo, and some conclusions and thoughts about the development.

Building

Visual Studio 2010 project files are provided to build the demo. A shell script to set up a configure script with autotools is provided but might need tweaking to work.

Ubuntu

Required packages:

  • autoconf
  • libtool
  • g++
  • libgl1-mesa-dev
  • libglu1-mesa-dev
  • libglew1.5-dev
  • libsdl1.2-dev
  • libsdl-mixer1.2-dev
  • libsdl-image1.2-dev

Follow these steps to build after installing the required packages:

  1. sh autogen.sh
  2. mkdir test
  3. cd test
  4. ../configure
  5. make
  6. ./demo

About

EDAN35 Course project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.0%
  • Makefile 6.7%
  • TeX 1.5%
  • GLSL 0.8%
  • C++ 0.5%
  • F# 0.5%