BasecodeCSE167S16

From Immersive Visualization Lab Wiki
Revision as of 21:11, 28 March 2016 by Dmccart (Talk | contribs)

Jump to: navigation, search

Contents

Starter Code for Programming Projects

The purpose of this web page is to introduce OpenGL programming and set up your computer so that you can begin developing OpenGL applications.

In order to display an image, you must create a drawing canvas, which is essentially a window. With OpenGL, you create a window and then create an OpenGL drawing context associated with that window, which allows you to use your video hardware to draw 3D objects directly into that window. Opening that window and creating the OpenGL context is cumbersome and varies from system to system. The purpose of GLFW is to simplify and unify this initial step.

The PCs in the computer lab already have GLFW and Visual Studio installed.

For your personal computer we will show you how to download and install GLFW and configure Visual Studio/XCode to use it.

Starter Code on Lab Computer

Starter Code on Personal Computer

Windows

Mac OSX

Install GLFW

Install GLM

Install GLEW