Difference between revisions of "GAM531/Team A"
(→Assigned Tasks) |
(→Assigned Tasks) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{GAM531/DPS931 Index | 20143}} | {{GAM531/DPS931 Index | 20143}} | ||
+ | |||
+ | == Group Repository == | ||
+ | [https://bitbucket.org/GAM531-TeamA/assignment Link to the assignment repository] | ||
== Team Members == | == Team Members == | ||
Line 10: | Line 13: | ||
− | {| class="wikitable" | + | {| class="wikitable" cellpadding="5" cellspacing="1" border="1" |
− | ! Team Member !! Task | + | ! Team Member !! Task !! Location |
|- | |- | ||
− | | Justin Wilkin || Frame Rate Calculator | + | | 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 | + | | 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 || lod variable is located under the template function void ActorManager<RS>::render() which is located under Engine/Managers.cpp. the variable lod increases or decreases depending on the variation of distance between the camera and the Actor in the scene. In order to see the change, the file enhancedTechniques.emtl needs to be modified and the Technique needs to be assigned to different values of lod. | ||
+ | |} | ||
+ | |||
+ | == Lab contribution == | ||
− | | Davson Wandja || | + | {| class="wikitable" cellpadding="5" cellspacing="1" border="1" |
+ | ! 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; |
Latest revision as of 00:28, 8 December 2014
GAM531/DPS931 | Weekly Schedule | Student List | Project Requirements | Teams and their Projects | Student Resources
Group Repository
Link to the assignment 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 | lod variable is located under the template function void ActorManager<RS>::render() which is located under Engine/Managers.cpp. the variable lod increases or decreases depending on the variation of distance between the camera and the Actor in the scene. In order to see the change, the file enhancedTechniques.emtl needs to be modified and the Technique needs to be assigned to different values of lod. |
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;