CPSC 611 Project #3
Roman Odeion and Park
Hampton Smith and Trae Murray
Assignment: Design a structure based on virtual history, using the viewer project as a base.
Our Project: for this project we created a Roman 'theator' or meeting hall based on the Odeion in Athens. we implemented the FOB code with the viewer to create an imersive fly-through expirience.
To build the source code, issue:
./makeNavigator
Then, to run the navigator in Flock of Birds mode, issue:
./navigator (filename) -b
The environment we have created is in roman/roman_w_groups.obj.
If you prefer to use mouse controls, issue:
./navigator (filename)
Once in the navigator, the user interface is:
- Left mouse - forward,
- Right Mouse - reverse,
- VR Helmet- look around and point
Type 'q' in the terminal and press Return to exit the program.
Features:
- Baked vertex color - adds some shadowing and highlights without extra lights.
- True stereoscopic display - looks like it's coming right at you
- File input and mouse/FOB control setup selectable from command line
- Texture mapping for all objects, including per-face texturing for objects
- Rendering procedure is highly optimized. Our environment is build out of more than 50,000 polygons. Two preprocessing phases are used to speed performance:
- Nearby vertices are merged.
- Faces with the same material and texture are grouped and drawn all in a row in a single glBegin()
Both of these steps are generalized and not obj-file dependent. The first was inherent in the library we based our obj-file loader on, the second was hand-coded.
- While the basic library we used (citation in its intial comments) provided functionality to load vertices and faces, all texture code (except for "vt"s) was added.
Screenshots