Slate : A responsive theme for GitHub Pages

OpenGL Amusement Park

Meera Murali

OpenGL primitives used to model a 3D amusement park scene including trees, buildings, stalls and animated rides

overall park view

The following modeling techniques were explored:


Hierarachical Animated Modeling

A hierarchical animated model combines multiple components in a transformation hierarchy.

ferris wheel Ferris Wheel (animation: wheel rotates about horizontal axis)
merry-go-round Merry-go-round (animation: rotates about center pillar, seats move up and down in alternate order)

Parametric Instancing

An object is described by parameters. Variations of the objects can be rendered by varying the parameters.

trees Trees (parameters: trunk radius, trunk height, foliage width, foliage height, relative_x, relative_y)
buildings Buildings (parameters: length, width, height, relative_x, relative_y)
stalls Stalls (parameters: table_ht, table_radius, umbrella_ht, umbrella_radius, support_radius, relative_x, relative_y)

Sweep Objects

A sweep object is created either as an extrusion (surface formed by the edges when a polygon is moved along a path) or a surface of revolution (formed by the edges when a polygon is rotated about an axis).

stall Individual stall modeled as a surface of revolution of specified profile
ferris wheel Ferris wheel rims (extrusion)

Navigation System

roller coaster ride Implemented the following views:
  • Riding the roller coaster (hotkey: 'shift')
  • Zoom into merry-go-round (hotkey: 'm')
  • Zoom into trees (hotkey: 't')
  • Zoom into stalls (hotkey: 's')
  • Zoom into ferris wheel (hotkey: 'f')