/cs148-project

CS 148 Project -- An interactive exploration of mirrors and lights !

Primary LanguageC++

Setup

The project has two dependencies : assimp and SOIL

To install assimp :

If the library was installed into /usr/local/lib, you may need to copy it into /usr/lib

To install SOIL :

  • Download the latest SOIL version at http://www.lonesock.net/soil.html
  • Extract, open terminal in folder
  • Go to prokects/makefile
  • mv makefile Makefile
  • mkdir obj
  • make
  • sudo make install

For your convenience, copies of the above third party libraries are also available under the third_party_deps/ folder of this project.

Gameplay

Movement : WASD to move the player, mouse to move the camera angle. When close to a mirror (it has to be highlighted) : F1 / F2 to turn it clockwise / counterclockwise.

Edit mode (for debugging / map creation) : press "E" to toggle edit mode, press Enter to stick to the currentlly selected (i.e. "red-tinted") model). When moving around, the model will follow the player. Press Enter again when the model has reached its final destination.

Images

Pyramid Model 1

example_image_1

Pyramid Model Close up

example_image_2

Mummy Model loaded

example_image_3

TODO

  • Update pyramid texture to use more realistic bricks instead of the placeholder wooden texture.

Apply textures in blender

  • Make sure that you're in edit mode for the right hand pane so that when you press 'U', you can "unwrap" the texture.

References

The following resources were consulted in the completion of this assignment: