CMPS 160 Introduction to Computer Graphics
Lab 2: Robotic Animals
Fall 2007
Description
In this lab, you will create a robotic animal and animate it. All the best animals will be saved and go down in 160 history so do your best!
Screenshots
See in lab demo.
Requirements/Grading
  • Modeling (40 points)
  • Your animal must have:
  • Body (10)
  • 4 Legs: multiple joints (thigh, calf) (10)
  • Head (10)
  • 1 Tail: multiple segments so it can curl (10)
  • If you add more geometric detail and/or color, your animal will enter a heightened state of awesomeness. The more awesomeness your animal achieves, the higher your chances will be of making it to the CMPS 160 Robotic Animal Hall of Legends.
  • Your animal must be made up entirely of geometric primitives. It should have hierarchical structure. The legs and head should be relative to the body's coordinate system. For the legs, the foot should be relative to the leg. This can be tedious but it will make the rest of this lab incredibly easy.
  • Animation (40 points)
  • Make your animal walk in a circle, jump, or stand on two legs, like a horse. Something with fairly complex movement and parts that move at different speeds.
  • Documentation/Style/Efficiency (20 points)
  • Consistent Indentation (2)
  • Meaningful Function/Variable Names (2)
  • Comments in Code (4)
  • README: name and e-mail address (4)
  • README: platform built on (2)
  • README: compile instructions (2)
  • README: list of files and what they do (2)
  • README: efficiencies noted (2)
Resources
  • Code: [zip]
  • Lab2.c - starter code
  • Makefile - associated Makefile
Submit Instructions
  • Using the 'submit' command
  • Submit your source code, Makefile, README, screenshots, video capture, and other files necessary to compile your code.
  • To submit your files, type:
  • submit cmps160-jed.f07 lab2 files
  • Making the video capture for your lab
  • Go to the directory /afs/cats.ucsc.edu/courses/cmps160-jd. There you will find the 'Capture Me' application. (You can also download it from the website: http://www.versiontracker.com/dyn/moreinfo/macosx/15496)
  • Click on the Capture Me icon to get a 'Capture Me' window. You can drag this over to the part of the screen you are trying to capture. You can also resize using the lower right corner of the window.
  • Each time you click inside the window, it captures what is behind this window. In order to record a video clip, first we need to change the settings a bit....
  • Use command (apple key) + Tab to go to the Capture Me application. Then go to 'Preferences.' Under the 'Recording' Tab, change the Frames Per Second to 30 and change the recording time to 60 seconds.
  • Now to record, simply use command + 'R'. You are now recording! The recording will automatically stop after 60 seconds or you can end it by pushing the 'Stop' button. The movie clip is then created on your desktop. If you want to save screen shots and not videos to the desktop, use command + 'S'.
  • In lab demo
  • You will be required to attend the lab session you are enrolled in to demo your submitted code to the TA's.
page last updated: October 17, 2007.