Lab1
Take the file and
  • Make a program that will work as a virtual trackball for the y direction. Pressing the left mouse button and dragging will rotate the teapot around the y axis correspondingly, moving cursor to the left part of the window will rotate it -180 degrees left, moving to the right corner 180 degrees to the right.
  • Put the following menus there:
    Color->R|G|B|none - selected will be changed by the x coordinate of the mouse position without pressing a key
    Object->teapot|sphere|cube|... - all the wireframe objects from the GLUT
    team->name1|name2|name3
    quit
Submission

Submitt the source and the file project code to the G drive.
Do not submitt the executable. Please erase the Debug and the Release directories.

Deadline: Feb 3rd 2006


Conventions:

  • The submissions will have the following folder name: lab2_lastname_initials
  • The file will be called lab1_lastname_initials.c or lab2_lastname_initials.cpp