Thursday 12 July 2012

OpenGL Seasonal Snow globe



This was my first application using OpenGL, since previously I had only ever used direct X. This was part of my masters degree in games programming at the University of Hull. All the lighting was done using shaders, per pixel ligthing and normal mapping(for the ground, water and house). The specs were to implement a snow globe, with a house, a pond, grass and a tree. It has/feature 3 seasons, firstly spring which has the tree growing, and then leaves grow on the tree. After the leaves have grown, we have autumn, in which the leaves change colour to yellow and fall and then the tree catches fire and burns away. After that we have winter, in which the snow falls down to the ground and smoke comes out of the chimney. After winter the cycle goes back to spring. Each time, the tree will grow differently. This was achieved by simply using a binary tree for the branches and trunk. The tree is also reflected in the water.

No comments:

Post a Comment