Open main menu

CDOT Wiki β

GAM531/Team A

Revision as of 01:19, 8 December 2014 by Dmytro Rudeshko (talk | contribs)

Group Repository

Team Members

Assigned Tasks

Team Member Task Location
Justin Wilkin Frame Rate Calculator FPS enhancement class located in Graphics/FPS.hpp

Engine.hpp updated to hold pointer to FPS instance:

   FPS* fps;

Engine.cpp updated to initialize FPS:

   //Within Engine<RS>::initialize
   
   fps = new FPS();

Engine.cpp updated to update FPS calculation:

   //Within Engine<RS>::render
   
   if (fps) {
       
       fps->update();
       fps->getFPS();
       fps->display();
       
   }
Dima Rudeshko Scene Ordering reorderScene() function is located in Managers.cpp file and is called from Engine.cpp right after updateValues().

The enhancement provides +70fps advantage, and can be tested by removing a function call from Engine.cpp. reorderScene() function also includes an output of lengths of the objects at the end of it, in order for you to see the changes(needs to be un-commented).

Davson Wandja LOD Calculator

Lab contribution

Team Member DirectX OpenGL
Justin Wilkin 2, 3, 4 8
Dima Rudeshko 1, 5, 7, 10 7, 10
Davson Wandja 6, 8, 9 9

Scene

The scene is created to test all of our enhancements. Speed can be changed on line 129: float increment2 = increment = 0.001;