University Of Pretoria Computer Science Department

COS344 - Computer Graphics


Good luck with exam

Posted By: Dr Marde Helbig on 21 May 2015, 10:55
Thank you for your support and being a great group.

Good luck with the exam preparation.

I will announce a breakdown of EO3 once it has been approved by the external examiner.

See you at the exam.

Remember to go to the Prac on Wednesday to get Prac 6 marked. However, that was your last Prac, so no there will not be a new Prac next week.

Demo of Assignment 3

Posted By: Dr Marde Helbig on 20 May 2015, 17:26
If anyone that booked a later slot today (16h30 and later) could not come in earlier to demo your assignment 3, please contact your tutor, Mathys Ellis.

You can then arrange to get your assignment marked in the practical session next week.

There was a sudden change in the honours schedule and he had to attend an important lecture that is compulsory.

Apologies for any inconvenience caused.

Additional Lectures

Posted By: Dr Marde Helbig on 20 May 2015, 11:45
A lecture on hidden-surface removal is now available.
You can find the video at:
You can find the slides used in the video at:
Lectures/Lecture22 - HiddenSurfaceRemoval.pdf

Then, there is a video on the odd-even test explaining why the middle part of a certain polygon is not filled. You can find it at:

If you do not have software to watch the videos, download VLC player.

Take note, this is material that forms part of the scope for EO3. Do NOT just discard it.

Scope of Exam Opportunity 3

Posted By: Dr Marde Helbig on 19 May 2015, 21:40 (last modified on 19 May 2015, 22:40)
Exam Opportunity 3 will cover the following work:
* Sections 6.3.4 to 6.12
* Sections 10.2 to 10.6
* Chapter 8 up until Section 8.12 (not Section 8.13)

Assignment 3 Demo

Posted By: Dr Marde Helbig on 19 May 2015, 19:09
If your demo slot is after 15h00 tomorrow (Wednesday) and you can come to Blue 3 at 15h00, please do so.

In this way we can all finish earlier and enjoy the evening. :-)

If you cannot come earlier than your allocated time slot, please send me an email.

Slides are released

Posted By: Dr Marde Helbig on 18 May 2015, 16:50
The slides of the last 2 lectures can be found at:
Lectures/Lecture20 - Rasterization.pdf and
Lectures/Lecture21 - PolygonRasterization.pdf

Class Test 5 is at COSI

Posted By: Dr Marde Helbig on 18 May 2015, 11:30
You can collect Class Test 5 at COSI

Class Test 4 is at COSI

Posted By: Dr Marde Helbig on 18 May 2015, 11:28 (last modified on 18 May 2015, 11:29)
Class test 4 can be collected at COSI

Sick test (EO1 replacement) is at COSI

Posted By: Dr Marde Helbig on 18 May 2015, 11:29
You can collect your sick test (EO1 replacement) at COSI.

Marks published

Posted By: Dr Marde Helbig on 18 May 2015, 11:28
You will find your newest marks at:

Please check that all of your marks are correct.

Take note, that the final mark does not include the practicals, EO3 or Assignment 3.

Clipping in WebGL - important (add to your project)

Posted By: Dr Marde Helbig on 15 May 2015, 10:26 (last modified on 15 May 2015, 10:26)
For those of you struggling with the clipping part in WebGL, I have uploaded an example where you can see how to implement clipping in WebGL.

Go through it and add it to your project. If you adjust it for a second clipping algorithm, and can switch between the two clipping algorithms with keyboard interaction, you will get bonus marks.

You can find the example at:
Additional Material/

Module Content

Additional Material (8KB)
Additonal library files (15KB)
Example of clipping in WebGL (16KB)
Source code for Chapter 6 (182KB)
Source code for Chapter 7
cos344-marks.xls (18KB)
cos344-marks-18May2015.xls (30KB)
Marks as on 18 May 2015
COS344StudyGuide2015.pdf (339KB)
Study guide - 6 February 2015
cos344-assignment3.pdf (235KB)
Spec for final assignment
cos344-assignment1.pdf (252KB)
Spec of first assignment
cos344-assignment2.pdf (250KB)
Spec of second assignment
Class tests
classtest1-memo.pdf (195KB)
Memo for 1st class test
Lecture5 - Transformations.pdf (352KB)
Notes of 5th lecture
Lecture6Transformations.pdf (1539KB)
Notes of lecture 6
Lecture3 - Geometric Objects and Transformations.pdf (871KB)
Slides of 3rd lecture
Lecture4 - Geometric Objects and Transformations.pdf (864KB)
Slides of 4th lecture
Lecture1 - Graphic Systems and Models.pdf (892KB)
Slides of first lecture
Lecture10 - Viewing.pdf (999KB)
Slides of lecture 10
Lecture11 - TextureMapping.pdf (1745KB)
Slides of lecture 11
Lecture12 - TextureMapping.pdf (995KB)
Slides of lecture 12
Lecture13 - TextureMapping.pdf (746KB)
Slides of lecture 13
Lecture14 - LightingAndShading.pdf (1073KB)
Slides of lecture 14
Lecture16 - LightingAndShading.pdf (905KB)
Slides of lecture 16
Lecture18 - Clipping.pdf (1082KB)
Slides of lecture 18
Lecture20 - Rasterization.pdf (856KB)
Slides of Lecture 20
Lecture21 - PolygonRasterization.pdf (645KB)
Slides of Lecture 21
Lecture7 - Viewing.pdf (1278KB)
Slides of lecture 7
Lecture8 - Viewing.pdf (705KB)
Slides of lecture 8
Lecture9 - Viewing.pdf (994KB)
Slides of lecture 9
Lecture2 - Graphics Systems and Models.pdf (735KB)
Slides of second lecture
Lecture22 - HiddenSurfaceRemoval.pdf (904KB)
Slides on hidden-surface-removal used in the video
Video_OddEvenTest.MOV (167756KB)
Video explaining odd-even test
Video_HiddenSurfaceRemoval.mp4 (25677KB)
Video explaining the hidden-surface-removal (70KB)
Videos in slides of lecture 7
glMatrix-0.9.5.min.js (13KB)
JavaScript file required for practical 1
prac1-spec.pdf (328KB)
Spec for practical 1
prac2-spec.pdf (223KB)
Spec for practical 2
prac3-spec.pdf (260KB)
Spec for practical 3
glMatrix-0.9.5.min.js (13KB)
External library
webgl-utils.js (6KB)
External library
leaves.png (127KB)
Image of leaves
multiTextures2.png (70KB)
Image of multiple images
prac4-spec.pdf (260KB)
Spec for practical 4
Prac5 (16KB)
Files required for Practical 5
prac5-spec.pdf (371KB)
Spec for Practical 5
prac6-spec.pdf (287KB)
Spec for Practical 6

Active Discussions

View All Topics

Module Links

This module has no links


Remember Me

Module Description

The aim of this module is to acquire a sound knowledge of the basic theory of interactive
computer graphics and basic computer graphics programming techniques. The theory will cover graphics...

Show Long Description

Lecturer Information


Dr Marde Helbig


There are no tutors assigned.

Teaching Assistants

Mr Mathys Ellis

Class Representatives

English Representatives

There are no English class representatives.

Afrikaans Representatives

There are no Afrikaans class representatives.

Active Assignments

No currently active assignments

Active Bookings

No bookings available

Active Polls

There are no polls available.
All content copyright © Department of Computer Science, School of IT, University of Pretoria, South Africa