15-462 Computer Graphics I Assignment 1: Height Fields C sample solution /afs/cs.cmu.edu/academic/class/15462/src/heightfield/ Makefile heightfield.c --- sample solution The interface of the sample solution is designed to be simple. It is not meant to be particularly intuitive. USAGE: % make heightfield % ./heightfield .jpg MOUSE DRAGS WITH BUTTONS PUSHED: left --- rotate around x and y axes middle --- rotate around z axis ctrl-left --- translate in x and y directions ctrl-middle --- translate in z direction shift-left --- scale in x and y directions shift-middle --- scale in z direction KEYBOARD COMMANDS: q or Q --- quit f or F --- draw filled (default) l or L --- draw lines p or P --- draw points