COS344 - Computer Graphics
Venue of Sick Exam
Students writing the sick exam should go to IT 5-44. First go to COSI and tell them that you have an appointment with me.
WebGL exam - material
Take note that only printed material (textbook and paper-based notes) are allowed. No digital material will be allowed to be taken into and used during the exam.
Booking for WebGL exam
There are still a few students that have not booked for the WebGL exam. I have re-opened the booking slot. Please go and book before 12h00 tomorrow (Wednesday).
Final project: Using threejs
Take note that you are allowed to make use of the external libraries we used in the practicals, as well as threejs in your final project.
Mark allocation of final project released
You can find the mark allocation (break-down of marks) for the final project at: Project/Mark allocation
WebGL exam scope
The WebGL exam will cover all work that was covered in the practicals and assignments, except bump mapping and environment mapping. It will therefore also cover particle systems and lighting, even though we did it later in the semester.
The WebGL exam is an open book exam. It is a written exam, but you can try out your answer on the computer before you write it down. You are allowed to bring the following into the exam: 1) Your textbook 2) Any notes on WebGL that you deem fit (no limit on number of pages) Take note that you will not have access to the Internet or to your normal account (i.e. your pracs and assignments stored in your home directory). Everyone will write during the practical time. Please be at the venue at 14h30 and remember your student card.
Important: Students that only require COS344 for degree
If COS344 is your only missing course for the completion of your BSc degree, then please do not forget to submit your HONOURS ADMISSION APPLICATION during the month of MAY this year! If your application is successful, you will be able to continue with your Honours studies already in the 2nd semester of this year, i.e. from July onwards. If you have any questions in this regard, you can contact Prof. Gruner at: email@example.com
Booking slot for WebGL exam is open
The booking slot for the WebGL exam is open. Please book a slot in one of the two labs.
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
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
Texture mapping and environment mapping
Texture mapping and bump mapping