Students

COMP3170 – Computer Graphics

2022 – Session 1, In person-scheduled-weekday, North Ryde

General Information

Download as PDF
Unit convenor and teaching staff Unit convenor and teaching staff Convenor / Lecturer
Malcolm Ryan
Contact via Email
Email for appointment
Lecturer
Cameron Edmond
Contact via Email
Email for appointment
Credit points Credit points
10
Prerequisites Prerequisites
130cp at 1000 level or above including (MATH1010 or MATH135 or MATH1007 or DMTH137) and (COMP2000 or COMP229)
Corequisites Corequisites
Co-badged status Co-badged status
Unit description Unit description

This unit is the study of pictures, images and animations generated by computers, as well as tools used to produce these pictures. This unit introduces the mathematical foundations of computer graphics, examines how to model three-dimensional objects, introduces techniques for creating animations, and explores how realistic scenes are rendered. Practical work involves using a graphics library, such as OpenGL, under Unix or Windows platforms.

Important Academic Dates

Information about important academic dates including deadlines for withdrawing from units are available at https://www.mq.edu.au/study/calendar-of-dates

Learning Outcomes

On successful completion of this unit, you will be able to:

  • ULO1: Understand the fundamentals of vector geometry and employ them in devising algorithms to achieve a variety of graphic effects.
  • ULO2: Program 2D and 3D graphical applications using OpenGL embedded in a programming language (such as OpenGL in Java)
  • ULO3: Apply vector geometry to implement and combine 3D transformations including rotation, translation, scale and perspective.
  • ULO4: Program vertex and fragment shaders to implement effects such as lighting, texturing, shadows and reflections.
  • ULO5: Explain the core concepts behind advanced graphics techniques such as ray-casting and indirect lighting.

General Assessment Information

Weekly Quizzes

The weekly quizzes are provided on iLearn in the weekly content sections.  The quizzes provide weekly feedback on your progress in the unit.  They are intended to help you identify areas that you need to study further.  Each quiz must be done within the designated week or the following week at the latest.  You may attempt each quiz multiple times, and your final mark for each quiz will be the best mark that you achieve on that quiz.  The quiz questions change each time that you attempt it.  Take each quiz early, study anything that you were unable to answer correctly, and take the quiz again for your best mark.

Policy on Late Assignments

No extensions will be granted except in cases of special consideration. Students who have not submitted any work for the task prior to the deadline will be awarded a mark of 0 for the task, except for special consideration cases.  Plan to submit early.

Assessment Tasks

Name Weighting Hurdle Due
Graphics Transformations 25% No Week 8
Online quizzes 10% No Weekly
2D Interactive Graphics Program 25% No Week 7
Workshop Participation 10% No Weekly
3D Interactive Visualisation 30% No Week 13

Graphics Transformations

Assessment Type 1: Problem set
Indicative Time on Task 2: 15 hours
Due: Week 8
Weighting: 25%

 

Use mathematics and sketching to solve computer graphics problems involving 2D and 3D geometric transformations

 


On successful completion you will be able to:
  • Understand the fundamentals of vector geometry and employ them in devising algorithms to achieve a variety of graphic effects.
  • Apply vector geometry to implement and combine 3D transformations including rotation, translation, scale and perspective.

Online quizzes

Assessment Type 1: Quiz/Test
Indicative Time on Task 2: 8 hours
Due: Weekly
Weighting: 10%

 

Weekly online quizzes covering the lecture material.

 


On successful completion you will be able to:
  • Understand the fundamentals of vector geometry and employ them in devising algorithms to achieve a variety of graphic effects.
  • Apply vector geometry to implement and combine 3D transformations including rotation, translation, scale and perspective.
  • Program vertex and fragment shaders to implement effects such as lighting, texturing, shadows and reflections.
  • Explain the core concepts behind advanced graphics techniques such as ray-casting and indirect lighting.

2D Interactive Graphics Program

Assessment Type 1: Programming Task
Indicative Time on Task 2: 26 hours
Due: Week 7
Weighting: 25%

 

Develop an interactive graphics application using only 2D graphics. The application will be built using OpenGL.

 


On successful completion you will be able to:
  • Program 2D and 3D graphical applications using OpenGL embedded in a programming language (such as OpenGL in Java)

Workshop Participation

Assessment Type 1: Participatory task
Indicative Time on Task 2: 0 hours
Due: Weekly
Weighting: 10%

 

Participation in weekly workshop exercises.

 


On successful completion you will be able to:
  • Understand the fundamentals of vector geometry and employ them in devising algorithms to achieve a variety of graphic effects.
  • Program 2D and 3D graphical applications using OpenGL embedded in a programming language (such as OpenGL in Java)
  • Apply vector geometry to implement and combine 3D transformations including rotation, translation, scale and perspective.
  • Program vertex and fragment shaders to implement effects such as lighting, texturing, shadows and reflections.
  • Explain the core concepts behind advanced graphics techniques such as ray-casting and indirect lighting.

3D Interactive Visualisation

Assessment Type 1: Programming Task
Indicative Time on Task 2: 26 hours
Due: Week 13
Weighting: 30%

 

Create an interactive 3D graphics application using OpenGL. Your program will display on the screen the 3D appearance of a scene.

 


On successful completion you will be able to:
  • Understand the fundamentals of vector geometry and employ them in devising algorithms to achieve a variety of graphic effects.
  • Program 2D and 3D graphical applications using OpenGL embedded in a programming language (such as OpenGL in Java)
  • Apply vector geometry to implement and combine 3D transformations including rotation, translation, scale and perspective.
  • Program vertex and fragment shaders to implement effects such as lighting, texturing, shadows and reflections.

1 If you need help with your assignment, please contact:

  • the academic teaching staff in your unit for guidance in understanding or completing this type of assessment
  • the Writing Centre for academic skills support.

2 Indicative time-on-task is an estimate of the time required for completion of the assessment task and is subject to individual variation

Delivery and Resources

Classes

Each week you should attend two hours of lectures. Each week you should also attend your two hour mixed workshop class (the first hour of this class includes tutorial material; the second hour is practical time). For details of days, times and rooms for classes consult the timetables webpage. Note that mixed workshop classes commence in week 1. You should have selected a mixed workshop class during enrolment. You should attend the mixed workshop class which you are enrolled in. If you do not have a class, or if you wish to change one, you should follow the usual procedures for change of enrolment. Please note that you are expected to attend your mixed workshop class - this is the first place to obtain help with the unit.

Resources to assist your learning

iLearn is your first place to visit for weekly unit information including lectures, workshops, assignment specifications, discussion forums and other resources. 

Echo360 Lecture Recordings and live lecture streaming are available - for more information, see the Echo360 student guide. If using lecture recordings, be sure to keep up to date with the lectures each week.  The lectures will present material that is relevant to asignments and workshops, so keeping up with lectures is important for your progress in the unit.

The required textbook for this unit is Computer Graphics Programming in OpenGL with Java 2nd edition, by V. Scott Gordon and John Clevenger, 2019.  This textbook is available for purchase through Booktopia (which has acquired the University Coop Bookshop).  It is also available as an ebook in the library.

There are a number of online resources about OpenGL. You can use http://www.opengl.org/, as your starting point or use Google to look for specific items.  The JOGL interface to OpenGL is described at https://jogamp.org/.

Technology used and required

We will use Java JDK, Eclipse and JOGL to develop and debug OpenGL programs.  See iLearn for more details.

Websites

We will be using the University's online learning system iLearn. Students should check COMP3170 on iLearn regularly for updates.

Discussion Boards

We will use the forums hosted within iLearn. Feel free to post questions there. Important announcements (such as tips and clarifications on assignments) will often be posted there.

Teaching and learning strategy

COMP3170 is taught via online video lectures, live-streamed demos and mixed workshop classes in a laboratory.  The work you do and the feedback that you receive play a crucial role in your learning. Lectures are used to introduce new material, give examples of the use of programming methods and techniques and put them in a wider context. Furthermore, to highlight the relationship between teaching, research and learning, an advanced topic will occasionally be introduced during the lectures. This additional material will not be examined as such but may prove useful to complete the assignments.

You learn by processing concepts, not just by hearing them. Mixed workshop classes are small group classes in the laboratories which give you the opportunity to do exactly that by interacting with a tutor who has a sound knowledge of the subject and with your peers. This also gives you a chance to practice your programming skills. You have many opportunities to seek and to receive feedback. During lectures, you are encouraged to ask the lecturer questions to clarify anything you might not be sure of. Each week, you will be given problems to solve in the mixed workshop classes. The discussion and the solutions provided will help you to understand the material in the unit, to do the work for the assignments, and to prepare you for the final exam. It is important that you keep up with these problems every week. Each week you should:

  • Attend lectures, take notes, ask questions
  • Study the on-line lecture slides/notes and textbook as directed by the lecturer
  • Attend your mixed workshop class and seek feedback from your tutor on your work
  • Attempt the weekly online quiz and study/seek assistance with any questions that you do not know how to answer correctly
  • Start working on any assignments as soon as they have been released.

Time management and programming

COMP3170 is a ten credit point unit.  You are therefore expected to spend approximately ten hours per week on this unit, including the study break weeks - 150 hours in total.  Since each week each student should attend three hours of lectures, and attend a two hour mixed workshop, the remaining five hours per week will be spent on private study and assigned assessable work outside of class. A significant portion of the outside time will be spent on programming.  Mastering some basic skills early in the semester can save you tenfold in time and energy.  In particular, many students have difficulty managing large projects and have problems with some of the trickier aspects of OpenGL in Java.  The textbook provides a good introduction to OpenGL and JOGL - read it!

You cannot learn graphics programming - or any kind of programming for that matter - simply by reading a textbook. You could make a start by copying some of the programs from the unit website, then modifying and running the programs to gain an understanding of how they work. Make sure you try to understand each line of code.  Programming is a science and an art; it is not magic. The assignments in this unit could take many hours to complete. Don't expect to complete any of the assignments over a single weekend. Start each assignment early, get some basic functionality going, and try to become proficient in the parts of OpenGL that will be necessary for the assignment. It is often a good idea to write sample programs that let you test a single feature you are exploring before embedding it in the large project.

Unit Schedule

 

The provisional schedule of lecture content is as follows.  Changes may be made as the session progresses and will be seen on iLearn.

Week Topics Covered
1 Introduction, Pixels & Colors, the OpenGL pipeline, programming the GPU
2 Vector geometry, points and coordinate frames, transformation matrices
3 2D transformation, translation, rotation and scale, vertex shaders, animation
4 2D Camera, Scene graphs, Bezier curves
5 3D Transformations, Meshes, Extrusion
6 3D Camera, Orhogrpahics and Perspective projections, Backface culling
Break  
7 Rasterisation, Anti-aliasing, fragments and the fragment shader, deph
8 Bilinear interpoliation, Lighting basics, Ambient lighting
9 Normals, Diffuse & Specular lighting
10 Gamma correction, Transparency, non-photorealisitc rendering
11 Texture mapping, scaling textures, bump mapping
12 Multipass rendering, Screen-space effects, reflections & shadows
13 Revision

Policies and Procedures

Macquarie University policies and procedures are accessible from Policy Central (https://policies.mq.edu.au). Students should be aware of the following policies in particular with regard to Learning and Teaching:

Students seeking more policy resources can visit Student Policies (https://students.mq.edu.au/support/study/policies). It is your one-stop-shop for the key policies you need to know about throughout your undergraduate student journey.

To find other policies relating to Teaching and Learning, visit Policy Central (https://policies.mq.edu.au) and use the search tool.

Student Code of Conduct

Macquarie University students have a responsibility to be familiar with the Student Code of Conduct: https://students.mq.edu.au/admin/other-resources/student-conduct

Results

Results published on platform other than eStudent, (eg. iLearn, Coursera etc.) or released directly by your Unit Convenor, are not confirmed as they are subject to final approval by the University. Once approved, final results will be sent to your student email address and will be made available in eStudent. For more information visit ask.mq.edu.au or if you are a Global MBA student contact globalmba.support@mq.edu.au

Academic Integrity

At Macquarie, we believe academic integrity – honesty, respect, trust, responsibility, fairness and courage – is at the core of learning, teaching and research. We recognise that meeting the expectations required to complete your assessments can be challenging. So, we offer you a range of resources and services to help you reach your potential, including free online writing and maths support, academic skills development and wellbeing consultations.

Student Support

Macquarie University provides a range of support services for students. For details, visit http://students.mq.edu.au/support/

The Writing Centre

The Writing Centre provides resources to develop your English language proficiency, academic writing, and communication skills.

The Library provides online and face to face support to help you find and use relevant information resources. 

Student Services and Support

Macquarie University offers a range of Student Support Services including:

Student Enquiries

Got a question? Ask us via AskMQ, or contact Service Connect.

IT Help

For help with University computer systems and technology, visit http://www.mq.edu.au/about_us/offices_and_units/information_technology/help/

When using the University's IT, you must adhere to the Acceptable Use of IT Resources Policy. The policy applies to all who connect to the MQ network including students.

Changes from Previous Offering

We have made a major change to the assessment tasks for this offering:

  • The final examination has been removed and other tasks have be reweighted accordingly.
  • The third assignment have been expanded and will now be done in pairs.
  • A participation mark has been added for the weekly workshops.

Unit information based on version 2022.04 of the Handbook