On this page I collect a number of rather simple demos.

Inline texture cube

This demo is a simple variation of the cube demos in the "16 simple" set. My standard inline texture "minitex" is applied to each side of a cube. This was an intermediate step towards the more interesting "mipmapcube" and "faked bumpmap". Thus, the whole point was to make a small example with an inline cube with texture coordinates.

Updated 2017 for Linux Mint.


Phong bunny

A prequel to some other demos with Phong shaded bunnies, but now also an example of using the mouse buttons.


Phong Stanford bunny

Many of my demos use the simple, nameless, bunny model of unknown origin, but here I use the well-known Stanford bunny instead.


Simple shadow

The simplest way to make a shadow on a flat surface. Same as in TSBK03 lecture 3.


Planet system

An example of making hierarical animation, witn two spheres and a teddy satellite.


Textured glossy sphere

A simple example of gloss mapping.

Multitextured bunny

This is the multitextured bunny that I show at the lectures.



The simple white triangle demo, here reused as demo for glutWarpPointer. This may help you to make a decent mouse control. The demo locks the mouse pointer in the middle of the window with glutWarpPointer and uses the x offset to rotate the triangle.

Tested on Mac and Linux.

This page is maintained by Ingemar Ragnemalm.