Additional Files

ZIP
Week 1 Lecture Slides ZIP 3,201Kb

Slides from week 1's lectures!

ZIP
Post Processing Shader ZIP 1Kb

While playing with my double vision shader - I accidentally made this strange kaleidoscope effect. Try not to get a headache!

ZIP
Week 2 Slides ZIP 2,203Kb

Slides for week 2 of the Graphics For Games module.

ZIP
Perspective Correct Skybox Vertex Shader ZIP 1Kb

As mentioned in the lecture notes, the derivation of the skybox perspective is slightly wrong. The following shader will get the correct values out of the perspective matrix, and apply them so that the skybox is correct for differing screen ratios and fields of vision.

 

Don't worry about the inverses - remember, the vertex shader will only be ran 4 times for a triangle strip quad!

ZIP
Material Enabled OBJMesh Class ZIP 5Kb

The OBJMesh class outlined in the tutorial series does not load the in th material files that define the textures used by a mesh. Attached is a modified class that will load and parse these mtl files - .mtl files go in your meshes folder, and the textures go in your textures folder. The class uses the TEXTUREDIR and MESHDIR macros, so make sure they are correct for your project!

ZIP
Week 3 Lecture Slides ZIP 2,726Kb

Lecture slides for week 3, including extra code tutorials.

ZIP
Code 2015 ZIP 2,347Kb

Code for the MSc Graphics module. Everything has been combined into one solution file, with all of the projects updated to be in Visual Studio 2015 format. GLEW has been linked in as a 'static' library in this solution, so there should be no more annoying 'Can't find GLEW32.dll' type errors. There's a coursework project in there, so you don't have to deal with working out include and library paths.

ZIP
Assets 2015 ZIP 4,074Kb

Assets for the Msc Graphics module. Contains the "Meshes" and "Textures" folders, to be combined with the code download.