CMPS-4490 - Game Dev

Spring physics cloth animation

Elements of this lab:
    • Spring physics
    • Texture mapping

Step 1:
Do your work in Odin directory: 4490/flag_lab

Start by copying the lab files from:
   /home/fac/gordon/public_html/4490/flag/*

files...
Makefile
felt512.jpg
fonts.h
log.cpp
drshasta.jpg
flag.cpp
libggfonts.a
log.h


Build with make.

Improve the flag animation.

1. Give the cloth your own texture. Flag, clothing, sign, etc.
2. Give the floor surface a new texture. Wood, concrete, grass, etc.

A new flag image should be named: flag.jpg
A new floor surface image should be named: floor.jpg


program original output...