4th October, 2009
A C++ Cheat Sheet
Many of my students have small, niggling issues with C++ syntax -v- Java syntax. I’ve put together a syntax cheat sheet.
c++-crib-sheet, now updated with all the feedback from comments. Thanks a lot.
I’d appreciate it if people could point out errors and omissions.
Posted at 10:52 am | Comments Off
10th January, 2009
Final year projects in Launchpad
Two of my students so far have released their (in development) final year project code as Free Software using Canonical’s Launchpad system. I hope a few more of my students will follow suit but, of course, I’m not insisting that they do so. The students are
The project have not been submitted yet so I won’t make any value judgement on them. But, as the code exists, it is obvious that some progress has been made.
Posted at 11:25 pm | Comments Off
22nd October, 2008
Computer Graphics Algorithms (first assignment)
As we discussed last week. I’m not in for lectures on Thursday 23rd of October. That’s why we had two lectures last week and it’s why we’ll have two lectures next week. In the mean time I want you to get started on the assignment.
For the first assignment I want you to load up Suzanne (the blender monkey) from a raw data file into an OpenGL context. You’re to take the raw data and create an onscreen rendering of the model by drawing quads and triangles on an OpenGL canvas. My version of the raw data is here. But you can create your own in Blender if you want.
Quick tip: Have a look at the data in the file using a text editor. Notice the structure of the data on each line? Why is it so regular?
I expect everyone to load the model up and display it onscreen. Of course that means that everyone will get a “B” (under the CMIS marking scheme) in this part of the assignment. Those of you looking for “A”‘s will have to do something I don’t expect – add some value. The second part of the assignment will extend your skills further. However, with the first part, I want to ensure that everyone has basic OpenGL skills.
Posted at 8:54 pm | Comment (0)