Skip to content

A bedroom designed using OpenGL (gl, glu, glut libraries). No lighting or texture applied.

Notifications You must be signed in to change notification settings

n-gauhar/bedroom-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

picture alt

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:

  1. w: up
  2. s: down
  3. a: left
  4. d: right
  5. i: zoom in
  6. o: zoom out

To move Camera point:

  1. j: up

  2. n: down

  3. b: left

  4. m: right

  5. l: move nearer

  6. k: move far

  7. q to move to default position (both eyepoint & lookat point)

  8. f: to turn on/off fan

About

A bedroom designed using OpenGL (gl, glu, glut libraries). No lighting or texture applied.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages