bedroom-design
This is an assignment done for my Computer Graphics lab using C++ and OpenGL. The GL, GLU and GLUT libraries were used. The bedroom was designed using cubes, pyramids and one 2D polygon.
The features of the bedroom -
- No lighting, no textures, no curve
- A pendulum clock with a moving pendulum
- A rotating fan (can be turned on/off)
- Change eyepoint and lookat point using keys
The keys used are -
To move Eye point:
- w: up
- s: down
- a: left
- d: right
- i: zoom in
- o: zoom out
To move Camera point:
-
j: up
-
n: down
-
b: left
-
m: right
-
l: move nearer
-
k: move far
-
q to move to default position (both eyepoint & lookat point)
-
f: to turn on/off fan