Assignment_1

sploshtribeΛογισμικό & κατασκευή λογ/κού

14 Δεκ 2013 (πριν από 3 χρόνια και 3 μήνες)

55 εμφανίσεις

Project

1

CSCI 6350 Topics in Computer Graphics

Due Date:

September 17, 2009


Walking Robot:

T
he goal of
this assignment

is

to play with tran
s
formations.

In this project, it is required to create an
animated walking robot in OpenGL. Camera rotates around

the robot in given direction either x or y.
User inputs these directions
. Upper arrow key represents
-
x rotation, lower arrow key represents +x
rotation, right arrow represents +y rotation, and left arrow represents

y rotation

of the camera
. For
instanc
e
, if “




key is pressed by the user
, then

camera rotates along +y and point of view will be the
center of the
robot.

The robot is constructed of cubes that you scale to different shapes and sizes to give the robot arms,
legs, feet, a torso, and a head. T
he glPushMatrix() and glPopMatrix() functions are used to position the
robot’s body parts in coordinates relative to the center of the robot.

Example Output Screen: