Copyright Tristan Aubrey-Jones January 2008.
This is an example OpenGL SDL application which creates an animated 3D underwater world (screenshot), with "Thunderbird 4" with headlights moving on a spline path, a randomly generated sand terrain, sunken ship/submarine/treasure chest models, and swaying fish and seaweed. It is designed to demonstrate basic OpenGL features, and the structure is as follows:
Home
(
Download ZIP Archive )
Makefile.win
SDL.dll
SDL_image.dll
Thumbs.db
clipping.cpp
clipping.h
cwk3.dev
cwk3.exe
cwk3.layout
cwk3_private.h
cwk3_private.rc
fish.cpp
fish0.jpg
fish1.jpg
fish2.jpg
fish3.jpg
fish4.jpg
game.cpp
game.h
global.h
gold00.jpg
help.txt
jpeg.dll
libpng12-0.dll
libtiff-3.dll
main.cpp
primitives.cpp
primitives.h
readme.txt
regulargrid.cpp
regulargrid.h
sand02.jpg
screenshot.JPG
seaweed.cpp
splines.cpp
splines.h
staticobjects.cpp
terrain.cpp
terrain.h
textures.cpp
textures.h
vectors.cpp
vectors.h
vehicleobject.cpp
world.cpp
world.h
worldobjects.cpp
worldobjects.h
zlib1.dll