EAE6320Assignment3

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 make the Graphics system completely platform independent. it was a continuation of what we learned in the last assignment.

Question: 

What did you do personally to complete the assignment?

Answer:

I merged both Graphics.gl.cpp and Graphics.d3d.cpp into one file. I also created a few functions that house all the platform dependent logic in the GraphicsAssistant namespace. I then rendered to geometry objects using two effects objects.

Question: 

Did you get any help from a fellow student?

Answer:

Yes, I received some help from Emma,  Kent, Sumi , and Byreave. I had a few questions particularly about why we would go through the trouble of merging the graphics system when we still had to create another class or namespace that housed platform dependent code anyway. 

Question:

Explain how you made Graphics.cpp platform-independent

Answer:

I made it independent by moving all of the platform dependent code into a GraphicsAssistant.cpp where I used some platform independent code in the form of precompiler defines to house the platform dependent code. Regardless of what platform the user use they will still be using all of the same method calls. 

Question:

Explain what data the user is required to specify to initialize an effect

Answer:

To initialize an effect a user must give two strings each with the location of the vertex and fragment shader that they wish to use.

Question:

Explain what data the user is required to specify to initialize a 3D object

Answer:

To initialize a 3D object a user must give a vertex count, an index count, vertex data, and index data. I decided to go with a left handed order so regardless of the platform the user must enter their index  data left handed order and my interface handles the rest.  I also made sure to comment the initialize method to specify left handed order.

Question:

Tell us how much memory a single object takes up in both platforms (use sizeof() with a debugger rather than guessing). Is there any way to make it smaller?

Answer:

x64 each takes up 8 and x86 each takes up 4 bytes.  Probably, but I can't really think of anyway to. From what I understand some people had larger values for their objects.

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

Platforms
Release date
Developer
Luis Garcia Remes
Age rating
Not rated
EAE6320Assignment3 screenshot, image №2171379 - RAWG
Edit the game info
Last Modified: Sep 13, 2019

Where to buy

itch.io