{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

opengl - CAP4730 Computational Structures in Computer...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
CAP4730: Computational Structures in Computer Graphics Introduction to OpenGL
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
What is OpenGL? “A software interface to graphics hardware” Written in C (NOT C++) Very fast (a standard to be accelerated) Portable Open standard Was SGI’s IRIS GL What it isn’t A modeling tool A new ‘language’ Other options: Direct3D MesaGL VirtualGL (Older) Glide Why would you use one over another? What are companies’ motivations?
Background image of page 2
OpenGL/GLU/GLUT/GLUI OpenGL v2.1 (latest) is the “core” library that is platform independent GLUT v3.7 is an auxiliary library that handles window creation, OS system calls (mouse buttons, movement, keyboard, etc), callbacks. GLU is an auxiliary library that handles a variety of graphics accessory functions
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ZIP file Look at ZIP file
Background image of page 4
Headers and Linking OpenGL - main stuff (the only thing that is required) #include <GL/gl.h> Link opengl32.lib (PC) opengl.lib is an SGI implementation opengl32.lib is a Microsoft implementation (what you want) GLU - auxillary functions #include <GL/glu.h> Link glu32.lib (PC)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 21

opengl - CAP4730 Computational Structures in Computer...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online