Lab 03: Sep 25, 2018

Overview

Today's lab is to show you how to load and apply textures to primitives using OpenGL.

Task

We are to find a bmp file on the internet, save it to our lab folder and attempt to load it in our program.

The provided code should render a quad but has no texture (uv) coordinates applied. Your task is to apply texture coordinates.

With texture coordinates applied, try animating one (or both of them) as we did last class. Try it with different clamping modes. Try different textures with different blend modes.

You are free to modify (add to) the lab03.cpp or makefile as you wish.

Code Files

Lab3.cpp
mathvector.h
bitmap.h
makefile