COS344 - Computer Graphics
Final project spec released
The specification for the final project has been released. You can find it at: Project/Final project specification The upload slot is open. The deadline for the project is 18 May 2016 at 14h00.
Additional approach to calculate vectors
It seems that the website below has suddenly become private, requiring a login. I am uploading the cached version at: Additional Material/Phong model vectors You can view the video on projections at: https://www.khanacademy.org/math/linear-algebra/matrix_transformations/lin_trans_examples/v/introduction-to-projections =========================== An additional approach to calculate the r vector of the Phong lighting model can be found at: https://asalga.wordpress.com/2012/09/23/understanding-vector-reflection-visually
Assignment 2 - spec and upload slot available
The specification for Assignment 2 is available under: /Assignments/Assignment 2 Specification. The deadline for the assignment is 3 May 2016 at 23h30.
Small mistake on slides
Take note that on slide 22 of Lecture 10 w''=1 and not -z.
Links for interaction
The code we discussed in class on Friday 18 February can be found at the following links: Mouse interaction: http://www.cs.up.ac.za/files/COS344/Download/207 Keyboard interaction: http://learningwebgl.com/lessons/lesson06/index.html
EO1 is at COSI
EO1 is available at COSI for collection
Practical on 16 March
There will be a practical on 16 March in the Purple lab. During the practical I will go through the most important concepts of WebGL. In addition, we will work through practical 2, where I will show you one example of implementing a transformation, and then you will work on the other transformations. In addition, we will look at user interaction with WebGL. Do not feel overwhelmed if you do not understand what the WebGL code does at this stage. As we go through specific parts of Computer Graphics in class, we will go into more detail of how that specific part is done in WebGL and how that specific part of a WebGL program works. After the recess we will start with the fun part of the course - looking at things like viewing, lighting and textures.
No lecture on 11 March
Take note that there will be no lecture on 11 March. However, you are required to watch a video on WebGL by the Siggraph University. Siggraph is the leading international organization in the field of Computer Graphics. You can find the video at the following location: https://www.youtube.com/watch?v=tgVLb6fOVVc
Take not that all practical sessions takes place in the Informatorium unless stated otherwise. So today's prac will be at the Purple lab in the Informatorium.
Lecture 5 notes - change 2
Take note of the following on page 5 from Lecture 5 Part II file: On page 2, there is a small error. In the class we did it correctly, the error is only on the notes. 0 . P = 0 1 . P = P (and not 1)
Practical this week
There will be a practical this week. I will also explain some WebGL concepts. Thereafter I will be available to answer questions about the maths part of the work covered in EO1.
You can view a few examples of transformation calculations/questions at the following link: http://www.eecs.qmul.ac.uk/~phao/cg/Exers/transformations_ex.html
Lecture 5 notes - change
Take note of the following on page 5 from Lecture 5 Part II file: The components of the matrix M uses alpha values and not gamma values. It only illustrates the point that it will be the matrix with the components. However, here M^T is the transpose of the matrix M on page 4. Therefore, alpha_12 in matrix M^T is gamma_21, etc.
Exam Opportunity 1
The scope for Exam Opportunity 1 (EO1) is: Chapter 1: Sections 1.1-1.5, 1.7 Chapter 4: Sections 4.1-4.5, 4.7-4.9 EO1 will take place: Date: 10 March Time: 18h00-20h00 Venues: GW/HB 3-14 (Surnames A-Ma), and GW/HB 4-13 (Surnames Mb-Z) Take note that it is a closed book exam.
Lecture on Wednesday during Practical
The first hour of the practical this week (Wednesday 2 March) I will give a normal lecture. This will allow us to catch up so that we can start with the practical fun part of the course next week. During the second hour I will be available to explain the Mathematical concepts to students that are still struggling. I will post the venue for this session on the website by tomorrow afternoon.
Classes this week
Take note of the message on ClickUP with regards to lectures this week. On Monday 29 February I will repeat the lecture given on Monday 22 February. For the students that were at class this Monday, the lecture will be optional.
Graphics Systems and Models
Graphics Systems and Models (cont.)
Geometric Objects and Transformations
Geometric Objects and Transformations (cont.)
Lecture 5 Part I
Illustrates the need for changing between various coordinate systems
Lecture 5 Part II
Changing coordinate systems using homogeneous coordinates
Transformations - scaling and shearing
Notes on Phong model
Shading approaches: simple, smooth or Gouraud, and Phong