Archive for October, 2008

Computer Graphics Algorithms (first assignment)

Wednesday, October 22nd, 2008

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.