PR3 final assignment

Programming topics can be found here.
User avatar
130802
Posts: 10
Joined: Tue Feb 18, 2014 5:41 pm
Location: Breda

Re: PR3 final assignment

Post by 130802 » Thu Apr 03, 2014 8:03 pm

You should take a look at how the frames are positioned and then think about how sequential the data is.

EDIT: The cycle count you are getting for copying that data is pretty normal.

- Max Oomen
- Max Oomen 2GA-2PR (Avatar was made by Anthea van Leeuwen)

130048
Posts: 4
Joined: Wed Feb 19, 2014 6:24 pm

Re: PR3 final assignment

Post by 130048 » Thu Apr 03, 2014 9:29 pm

122828, the memcpy for the backdrop roughly has the same amount of cycles for me. Then again, it's a lot of data. Smoke is very slow though.
Eric Polman

User avatar
130802
Posts: 10
Joined: Tue Feb 18, 2014 5:41 pm
Location: Breda

Re: PR3 final assignment

Post by 130802 » Fri Apr 04, 2014 1:01 pm

btw, are we allowed to change the formation of the tanks? because when I spawn like 65536 tanks for P1,most of them are all the way down, outside of the screen. But if I spawn them to left of the screen, they will eventually all reach the screen (if it's not filled with tanks already). It also look way more epic :twisted:.

- Max Oomen
- Max Oomen 2GA-2PR (Avatar was made by Anthea van Leeuwen)

bikker
Posts: 67
Joined: Fri Sep 27, 2013 12:40 pm

Re: PR3 final assignment

Post by bikker » Fri Apr 04, 2014 7:42 pm

You can absolutely change the formation!

130048
Posts: 4
Joined: Wed Feb 19, 2014 6:24 pm

Re: PR3 final assignment

Post by 130048 » Tue Apr 08, 2014 7:10 pm

The delivery requirements tells us to hand-in the .CPP, .H, .SLN, and .VCPROJ. I've done something to loading the smoke image (and the image itself) to make it render faster. Is it a problem if I hand it in including the testdata-folder? Or does it have to work with the original images?
The requirements also say that it should compile in VS2008 and VS2010. I did the project in VS2013, is this an issue?

Thanks in advance!
Eric Polman

bikker
Posts: 67
Joined: Fri Sep 27, 2013 12:40 pm

Re: PR3 final assignment

Post by bikker » Tue Apr 08, 2014 8:27 pm

You can hand in whatever files are needed for your optimized program.
Regarding VS2008/2010 etc.: I don't have 2013, so it would be great if it didn't require that; in previous years I requested 2008/2010 but I forgot to change it in the assignment description, so feel free to use 2013. I will just copy over 2012 project files to make it work on my system.

User avatar
130802
Posts: 10
Joined: Tue Feb 18, 2014 5:41 pm
Location: Breda

Re: PR3 final assignment

Post by 130802 » Tue Apr 08, 2014 10:23 pm

NOTE: In Visual Studio 2013 are C++11 features that are not supported in VS2012.

Just in case someone used those and didn't test it in VS2012 before handing it in.
- Max Oomen 2GA-2PR (Avatar was made by Anthea van Leeuwen)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests