University home »
Faculty of Science »
Department of Computer Science »
Courses » COMPSCI 372 FC » Lectures »
Computer Science
Burkhard's Lectures
Burkhard's lectures: See the main course page for a lecture schedule.Lectures notes and other handouts.
This web page has been last updated on the 23rd July 2008
Lectures 1: Overview and Introduction to Graphics
- Reading: chapter 1 of the prescribed textbook and the tutorial below.
- Handouts:
- 372Chapter0_Overview_1up.pdf (1 slide/page) or 372Chapter0_Overview_4up.pdf (4 slides/page).
- 372Chapter1_Introduction_1up.pdf (1 slide/page) or 372Chapter1_Introduction_4up.pdf (4 slides/page).
- Demo programs: same as for part 1 and 2 of the tutorial below.
Online Tutorial: Introduction to MS Visual C/C++ and OpenGL
- Part 1: If you work in the lab you will use the .NET IDE. Please read the tutorial IntroductionTo.NET which explains how an OpenGL project is created using MS Visual C/C++ 7.0 under .NET.
Note that the notes were written for .NET 2003 whereas the lab contains the latest .NEt version. Also note that this tutorial shows only how to build C/C++ applications using OpenGL. If you you want to create an application with C# you will need CsGL which implements most of the OpenGL/GLU/GLUT syntax but is not an offical OpenGL implementation.- Example in section 1.1: Available as source file ass1a.cpp
- Example in section 1.4: Available as .NET solution OpenGLExampleNET.zip.
- Part 2: A basic introduction to C/C++.
- Example for sections 2.2.1-2.2.2: Basic types - Available as .NET solution BasicTypesDemoNET.zip.
- Example for sections 2.2.3-2.2.4: Advanced types - Available as .NET solution AdvancedTypesDemoNET.zip.
- Example for section 2.3: Operators - Available as .NET solution OperatorDemoNET.zip.
- Example for section 2.5-2.6: Arrays, Pointers and Strings - Available as .NET solution ArrayAndPointerDemoNET.zip.
- Example for section 2.7: Function definition and declarations, call-by value and call-by-reference - Available as .NET solution FunctionDemoNET.zip.
- Example for section 2.7.2: Project with multiple files - Available as .NET solution MultipleFilesDemoNET.zip.
- Example for section 2.8.3: File Input/Output - Available as .NET solution FileInOutDemoNET.zip.
- Example for section 3: Project with classes - Available as .NET solution ClassDemoNET.zip.
-
Related Programmes