Difference between revisions of "GAM531/Team A"

From CDOT Wiki
Jump to: navigation, search
(Assigned Tasks)
(Assigned Tasks)
 
(9 intermediate revisions by 2 users not shown)
Line 14: Line 14:
  
 
{| class="wikitable" cellpadding="5" cellspacing="1" border="1"
 
{| class="wikitable" cellpadding="5" cellspacing="1" border="1"
! Team Member !! Task !! Status
+
! Team Member !! Task !! Location
 
|-
 
|-
| Justin Wilkin || Frame Rate Calculator || Completed - Not pushed
+
| 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 || Completed - Not pushed
+
| 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 || Completed - Not pushed
+
| 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.
 
|}
 
|}
  
Line 26: Line 50:
  
 
{| class="wikitable" cellpadding="5" cellspacing="1" border="1"
 
{| class="wikitable" cellpadding="5" cellspacing="1" border="1"
! Team Member !! Labs !! OpenGL
+
! Team Member !! DirectX !! OpenGL
 
|-
 
|-
 
| Justin Wilkin || 2, 3, 4 || 8
 
| Justin Wilkin || 2, 3, 4 || 8
Line 34: Line 58:
 
| Davson Wandja || 6, 8, 9 || 9
 
| 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

  1. Justin Wilkin
  2. Dima Rudeshko
  3. Davson Wandja
  4. Email all 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;