This assignment will introduce you to 3D modeling and transformations in OpenGL. You will develop a program that allows the user to control a simulated insect, scorpion, or spider.
The emphasis in this assignment is on using hierarchical transformations in OpenGL to define legs and other moving parts of your creature. You will design your own creature using 3D primitives.
We do not provide a template for this assignment. Instead, you are given an example of a working program from a past year's assignment P2: modeling a human hand. You can adapt this working example program if you'd like.
Note: You are to model an insect, scorpion, or spider in this year's assignment. Your model should have a structure that is similar to the anatomy of an insect, scorpion, or spider. In other words, your model's parts, legs, and joints should be based upon a real insect, scorpion, or spider.
PA2.tar source files for a working PA2 from 2011. The description of that assignment and its keyboard interface are available here: 2011 PA2.
An example of a fully functioning scorpion animation tool is available here. Note that you will design your own 3D model for an insect, spider, or scorpion. Search the Web for photos.
Note that you are expected to define your own keyboard interface that is best for controlling the joint angles of your creature. Your interface may be different from the example programs provided here. The user interface for the example program is provided through mouse buttons and keyboard:
Your program's source files are to
be submitted electronically. Use the gsubmit program on the CS cluster.
The code you submit should conform to the program
assignment guidelines.
3D creature model constructed of ellipsoids, cylinders, boxes, and/or spheres | 25 points |
Proper rotation at the joints | 25 points |
Limit rotation so that limbs do not bend in unnatural ways | 10 points |
Your predefined creature poses work properly | 30 points |
Programming style | 10 points |
Texture mapping | 10 extra credit |
3D creature model constructed of ellipsoids, cylinders, boxes, and/or spheres | 20 points |
Proper rotation at the joints | 20 points |
Limit rotation so that legs do not bend in unnatural ways | 10 points |
Your predefinedcreature poses work properly | 30 points |
Eyes, where eyes follow the mouse cursor in the window | 20 points |
Texture mapping | 10 extra credit |
The code you submit must be your own. If you find/use information about specific algorithms from the Web, etc., be sure to cite the source(s) clearly in your sourcecode.
Please be aware that the code submitted for this course is automatically analyzed using a code plagiarism detection program. Code flagged as suspicious by the program will be examined by the teaching staff and action will be taken in cases of plagiarism. BU Academic Conduct Code.
All instances of academic dishonesty will be reported to the Academic Conduct Committee.