Difference between revisions of "BasecodeCSE167S16"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Created page with "=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 appli...")
 
(Starter Code for Programming Projects)
Line 11: Line 11:
 
==Starter Code on Lab Computer==
 
==Starter Code on Lab Computer==
  
==Starter Code on Personal Computer or lab computer without pre-installed GLUT==
+
==Starter Code on Personal Computer==
  
 
===Windows===
 
===Windows===

Revision as of 22:11, 28 March 2016

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