Derek Glascock/

27.02.2010 Professional ProjectsNo Comments

2D Array Lab

This lab was created to build upon the dynamic memory reinforcement that was covered in the string lab. It also gets the student to investigate binary file formats that aren’t their own and understand how the data is stored. To complete the lab the student is tasked with reading in a .bmp file, strip the headers and utilize the information to read in the pixel data. Each pixel’s information is assigned to a separate quad that is created and stored in a 2 dimensional array.

Developed:

  • 3D viewer for lab using OpenGL
  • Lab format, structure and lesson

Full lab and demo as distributed to students can be downloaded here.

Comments are closed.