Hey guys, I'm feeling much better today, so we'll definitely have class tomorrow.
We're finishing up with GPGPU stuff and I'll show you some debugging tricks.
Your marks are up-to-date.
Please let me know if anything is amiss.
Hi guys.
You can use GLFW for your projects instead of GLUT. The former has some anti-aliasing built in, looks like, but you'll have to learn some new stuff.
Your choice ;)
Dogs walking up to you, asking if you've seen the specification for assignment three. -- @dogsdoingthings
Of course you have, since I've just posted it.
I'm thinking of adding some additional incentives to making your projects look good. Specifically, instead of me marking your project at a computer, I think I should give you the option of projecting your assignment on the big screen.
Your peers will then form a panel, which will vote on a best assignment, a most creative assignment and things like that.
I don't think I can give you any extra marks for these awards, since people will tend to vote for friends. So maybe there should be some small token for the lucky winner, like cake. Or pizza. Maybe a trophy made of lint and toothpicks.
You have some time, let's talk about it on Friday. I'll make it optional, though, since I don't want anyone to feel extra pressure (since you already have wayyyy too much of that).
I'm always a week ahead...
Posted By : Mr Jan Kroeze on 7 May 2013, 11:12
Hi everyone.
I'll be at the practical tomorrow. It's the week *after* that where I'll be missing for the later two thirds.
Last Minute reminder
Posted By : Mr Jan Kroeze on 30 Apr 2013, 12:57
Hi everyone.
Don't forget your calculators!
Practical 08 Marks
Posted By : Mr Jan Kroeze on 29 Apr 2013, 10:26
Your marks for practical eight are now up to date.
Please let me know if any of your marks are missing.
Thursday, 2nd May
Posted By : Mr Jan Kroeze on 29 Apr 2013, 07:42
Hi everyone.
Just a reminder that Thursday follows a Wednesday timetable, so our practical will be on Thursday this week, at 14:30 as usual.
The topic of the practical will be shadow mapping and frame buffer objects.
Latest Marks
Posted By : Mr Jan Kroeze on 19 Apr 2013, 09:30
Your latest marks have been posted to the Google spreadsheet.
Please make sure that everything is correct.
Extension: Practical 8
Posted By : Mr Jan Kroeze on 19 Apr 2013, 09:23 (last modified on 19 Apr 2013, 09:23)
Hi everyone.
Just a reminder that you have extension for practical eight until next week.
So we'll mark Assignment 2 and Prac 8 in that slot.
Shadow Mapping - Not so hard after all.
Posted By : Mr Jan Kroeze on 15 Apr 2013, 13:23
Hi all.
So I figured out what was wrong: I accidentally transposed a matrix. Yeah.
So I (re-)learned a couple of lessons:
1. debug output is useful,
2. always derive things yourself,
3. always check from first principles.
Yes, even I have to constantly be reminded of these things. So if I tell you to do any of the above, keep in mind that I'm telling myself at the same time.
The good news: our shadow map practical will continue as planned. The bad news: you have to write a shadow mapping implementation.
It's not as hard as I make it look, I promise ;)
Small Correction - Texture Unit Count
Posted By : Mr Jan Kroeze on 15 Apr 2013, 11:33
Hi there.
So I mentioned that we're guaranteed at least one texture unit: GL_TEXTURE0.
Turns out that I understated the situation a little.
We're actually guaranteed at least 80 texture units. Eighty. Count 'em: http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml
Of course, there's no telling which driver implements this properly, and which doesn't (I'm looking at you, Intel), so it's probably still better to check.
Specification for Assignment 2
Posted By : Mr Jan Kroeze on 12 Apr 2013, 13:08 (last modified on 12 Apr 2013, 13:08)
Hi everyone.
I posted the spec for assignment 2.
Sorry, I thought I'd posted it earlier :/
TAs for COS222
Posted By : Mr Jan Kroeze on 9 Apr 2013, 13:59
Hi everyone.
As you might know, I'll be teaching COS222 this year.
I'll need some TAs, so if you think that you'll enjoy working for me, please apply.
The deadline is the first of May, so don't delay :)
Last Minute Errata + Notes
Posted By : Mr Jan Kroeze on 20 Mar 2013, 14:37
Hi, there's a small error in your shading notes: namely the first term of the Phong lighting equation should be i_a * k_a, not i_d * k_a or whatever it was earlier.
I've updated your notes on the site, and also put up the notes for output merging.
New notes.
Posted By : Mr Jan Kroeze on 18 Mar 2013, 12:10
I have posted notes on rasterization and shading, make sure you study them for the test on Wednesday.
Marks Updated
Posted By : Mr Jan Kroeze on 14 Mar 2013, 12:43
Your marks are now available up until practical five. Please check that they are correct.
Marks now available
Posted By : Mr Jan Kroeze on 8 Mar 2013, 11:34
You can now find your marks under the mark sheet link under links.
Practical 4 Spec Updated
Posted By : Mr Jan Kroeze on 6 Mar 2013, 18:09
I've updated the spec for practical 4, fixing some minor errors. Please re-download!
Theory Notes
Posted By : Mr Jan Kroeze on 5 Mar 2013, 10:12 (last modified on 5 Mar 2013, 10:12)
With the first examination opportunity drawing close, you're probably wondering about your theory notes.
These notes are not always seperate entities. For example, the input shader's "theory" notes will be in the practical you do tomorrow. The same goes for input assembly and practical three.
Sometimes I'll have additional theory notes for you, and I'll post these as the time arrives.
There won't be any notes on the graphics pipeline, since we finish our discussion of each stage before we get to EO1. So the individual stages' notes make up the notes on the pipeline.
Kindly also refer to the recommended textbook, or any other appropriate source for additional information on the themes we've covered.
Examinable material: everything said in class / practicals, notes, practical tutorial sections, relevant material in the recommended textbook.
Here are the topics we will cover before EO1:
* Linear algebra (find a math book for this one.)
* History of computer graphics.
* The modern graphics pipeline.
* Input assembly.
* Vertex shader, world and view matrices.
* Projection.
* The tesselation stage.
* The geometry shader.
* Clipping.
* Rasterization.
* The fragment shader.
* The output merger.
* GLUT.
* Simple animations.
* Tesselation.
I'm going to ask you things like what the purpose of the projection matrix is and expect a lot of that kind of detail. I'm not going to ask you to derive a general projection matrix.
I'm going to ask you to compare clipping algorithms and say which one is best in a situation, I'm not going to ask you on what date the first PCI-X card came out. I might ask what the significance of hardware T&L is.
I'll ask you to construct the correct world matrix given a case study, how you'd go about constructing the view matrix and how you'd choose to format the vertex buffer. I'm not going to ask you to find the inverse of 11 different matrices and post-multiply them all.
There'll be one or two soft-ball list-type questions, the rest will be insight, application and synthesis.
Don't bother spotting, or learning things by rote - the test WILL wreck you if you try. If you 100% understand the work and can remember the basics like how a rotation matrix works, you're well-prepared.
My tests don't typically require a decade's worth of studying, but they do require insight.
Good luck and god speed.
Assignment 1
Posted By : Mr Jan Kroeze on 5 Mar 2013, 09:49 (last modified on 5 Mar 2013, 09:56)
Tremble mortals, and despair!
Assignment one's specification has been released. It should not give you too much trouble.
Your test is on the 20th (don't forget). So I thought it wise to make the deadline a week after that, but that's in the recess, so I postponed it one more week.
Therefore, your deadline is 14:00 on the 3rd of April. Why 14:00? Well, because we're going to mark the thing at 14:30!
PS: this gives you plenty of time to finish Heart of the Swarm so we can discuss its graphical innovations in class. <_< >_>
PPS: The memo and the spec took me about an afternoon to set up, see if you can beat my time.
PPPS: The enrichment component to this assignment is adding velocity and inertia. No, you don't get extra marks, but you get bragging rights and behind on your other projects.
Poll on Input Assembly
Posted By : Mr Jan Kroeze on 25 Feb 2013, 10:49 (last modified on 5 Mar 2013, 09:55)
It's sometimes hard for us to guage the level of understanding in a group of students. This is because you don't know whether you understand something (those unknown unknowns we were talking about) and due to something called a dialectic circle (which is going to make a nice tangent later on). Students are also sometimes embarrassed to admit that they're lost in front of their peers.
So please answer the poll on the right, so I can get a totally anonymous feel for if people are on the right track.
Question from today's class.
Posted By : Mr Jan Kroeze on 25 Feb 2013, 10:44 (last modified on 5 Mar 2013, 09:55)
I must have been experiencing a brain fart during class today.
The "3" in the glDrawArrays call was indeed the amount of vertices to draw, and the "0" was the offset to start at.
You can see the formal (pedantic, over-complicated) definition of the function here: http://www.opengl.org/sdk/docs/man/xhtml/glDrawArrays.xml
Projection Matrices
Posted By : Mr Jan Kroeze on 4 Mar 2013, 09:55 (last modified on 5 Mar 2013, 09:54)
Hey everyone.
I realize today's lecture was a little dense in terms of information.
The practical should nicely explain everything. So don't worry if you didn't understand everything.
I'm also not going to ask you questions about deriving the general projection matrices. Tests are supposed to make sure that you have retained the required knowledge.
I don't see what memorizing that derivation buys you. As long as you understand /why/ we have a projection matrix, and /why/ it takes certain things into account, I'm satisfied.
In addition, that derivation is not complicated because it's conceptually difficult, it's just that it has so many moving parts to keep track of. So asking for it would be a little pedantic ;)
Reconsidering the first assignment.
Posted By : Mr Jan Kroeze on 1 Mar 2013, 10:59 (last modified on 5 Mar 2013, 09:54)
Hey everyone.
I'm reconsidering your first assignment, as there are very nice libraries available for linear algebra: have a look at Armadillo and Boost for example.
Maybe it would be nice to rather take a head start on Assignment 2 and roll the marks for the first one into that?
Come to class on Monday and we'll have a discussion about it.
Maybe I'll give people a choice between two options.
New Poll
Posted By : Mr Jan Kroeze on 28 Feb 2013, 13:11
There's a new poll on input assembly / specification for me to judge your revised attitudes after the last practical.
Kindly answer it, so I know how to pitch the remedial lecture(s) :)
Examination Opportunity Dates, Times and Venues
Posted By : Mr Jan Kroeze on 28 Feb 2013, 12:18
Esteemed gentlemen, honoured ladies and others,
I have the pleasure to present the details of the first two of three contests of will:
Examination Opportunity 1
Date: 20 March 2013
Time: 17:00 for 17:30 till 19:30
Venue: HSB 3-14
Examination Opportunity 2
Date: 30 April 2013
Time: 17:00 for 17:30 till 19:30
Venue: HSB 3-14
Each of these will cover the work we discussed up to that point. Work which has already been examined will not be tested again, but will be useful as background knowledge. In other words, it is assumed that you have mastered the work that has been covered by at least one test.
God speed, and may the best entity prove victorious.
Practical 2 - Updated Spec and Memo
Posted By : Mr Jan Kroeze on 22 Feb 2013, 12:11
I updated practical two's specification to incorporate everything we've learned. Please read the last section again. I'll ask in the next class whether it makes more sense now and get some more feedback.
The memo has also been published.
Consultation Hours Poll
Posted By : Mr Jan Kroeze on 11 Feb 2013, 15:39 (last modified on 22 Feb 2013, 12:09)
So I posted the poll I promised to.
Please answer it quickly, as I need the information to complete your study guide.
Study guide now available.
Posted By : Mr Jan Kroeze on 19 Feb 2013, 14:06 (last modified on 19 Feb 2013, 14:07)
I have posted your study guide. You can find it, surprisingly enough, under the "files" section below.
Please note that the study guide is accompanied by a handy-dandy Google calendar that I use to coordinate everything.
You can find the link to it at the bottom.
Please let me know if anything is amiss.
Practical 1
Posted By : Mr Jan Kroeze on 13 Feb 2013, 13:41
Hi everyone.
Your practical today is in SIT9. Which is directly across from the department's reception.
We'll start at 14:30 and be done by 17:30 at the latest.
First Meeting
Posted By : Mr Jan Kroeze on 5 Feb 2013, 14:43
Dear Students
Please note that our first meeting will be on Monday the 11th of February at 08:30 in IT2-25.
Your study guide will soon be posted to the website.
Hide Announcement History