EAE6320Assignment2

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

Write Up:

Question:

What was the point of the assignment?

Answer:

The point of this assignment was to learn about different ways to handle platform specific code and how to implement a platform independent interface. We also learned about the difference between right handed OpenGL and left handed Direct 3D.

Question: 

What did you do personally to complete the assignment?

Answer:

For this assignment I created to classes called cGeometry and cEffect in order to store the information used by the Graphics project as detailed in the instructions. I then used them to create a square image rather than the initial triangle.

Question: 

Did you get any help from a fellow student?

Answer:

Yes, I received some help from Boson and Emma on this assignment. I had a few issues with passing in pointers and Boson was able to help me out. Emma also helped me with getting the GPU captures.

Question:

Tell us (in general terms) what the remaining differences are between Graphics.d3d.cpp and Graphics.gl.cpp. Discuss any ways that you can think of to use platform-independent code to eliminate those differences so that only a single platform-independent Graphics.cpp file would be necessary.

Answer:

Differences:

  1. Platform specific code that creates the window where graphics are displayed.
  2. Platform specific clean up.
  3. Platform specific buffer clearing.

Differences can be eliminated by using preprocessor logic and putting it all in one platform independent implementation. We could create a single class that initializes and maintains the window that under the hood would use either OpenGL or Direct3D logic.

All required screenshots can be found on the screenshot panel on the right  ->

Platforms
Release date
Developer
Luis Garcia Remes
Age rating
Not rated
Edit the game info
Last Modified: Sep 6, 2019

Where to buy

itch.io