Introduction to
Computer Graphics
Lab Outline (Winter 2019)


Class Instructor: Dr. Xue Dong Yang
Lab Instructor: Alex Clarke
Lab Information

Lab Schedule

Lab Days Contents
(Subject to change by the class instructor.)
1 Jan. 17 & 18 Getting Started with WebGL
2 Jan. 24 & 25 Points, Primitives and 2D Art
3 Feb. 7 & 8 3D Transformations
4 Feb. 14 & 15 Making a Mesh
5 Feb. 28 & Mar. 1 Basic Mesh Optimizations
6 Mar. 14 & 15 Illumination 1: Ambient and Diffuse Illumination with Multiple Lights
7 Mar. 28 & 29 Illumination 2: Fragment Shading, Specular Illumination and Improved Ambient
8 Apr. 4 & 5 Texture Mapping


Downloads and Instructions

Link Instructions Description
OpenGL Documentation

OpenGL.org and Khronos Group host OpenGL information.

Browse the reference pages online:

Every programmer should frequently consult the reference pages for the APIs they use. It also is sometimes helpful to refer to the specification.

Khronos, the organization that oversees several cross-platform libraries including OpenGL, hosts or provides links to man pages and specifications for OpenGL, OpenGL ES and WebGL.

Textbook materials

Browse the HTML, javascript and shaders for the example you want to try.

If examples don't work, try following the advice in Learning WebGL Lesson 0

Once you know your browser can run the textbook's WebGL, lab 1 will show you how to set up a local and hosted environment of your own so you can modify textbook examples for assignments.

WebGL Anti-patterns   Javascript programming things people often get wrong in WebGL programs. How to do them correctly.


This page last modified:
Thursday, 04-Apr-2019 13:28:48 CST
Accessed   Hit Counter   times.


CS Dept Home Page
CS Dept Class Files

Copyright: Department of Computer Science, University of Regina.