CPSC 453 Tutorial - PowerPoint PPT Presentation

shina
cpsc 453 tutorial n.
Skip this Video
Loading SlideShow in 5 Seconds..
CPSC 453 Tutorial PowerPoint Presentation
Download Presentation
CPSC 453 Tutorial

play fullscreen
1 / 5
Download Presentation
CPSC 453 Tutorial
104 Views
Download Presentation

CPSC 453 Tutorial

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. CPSC 453 Tutorial Xin Liu Sep 23, 2013

  2. OpenGL • An open standard of rendering pipeline • A software interface to graphics hardware • A useful set of APIs for 3D graphics

  3. Libraries for building graphics program • OpenGL • GLU (OpenGL utility) • GLUT (OpenGL utility toolkit) • Window management • User interaction • GLEW (OpenGL extension wrangler library) • To access full OpenGL functionality available via the driver • Included in GLTools • GLTools • Provide stock shaders • Provide a math library • generate and render simple 3D objects • manage view frustum, camera, etc. • Built on GLEW

  4. Get Started • Download MyGLTools from pages.cpsc.ucalgary.ca/~liuxin • Download main.cpp • Create an empty C++ project “MyFirstGL” • Import main.cpp to your project • Setup include paths, lib paths • Properties->C/C++ General->Paths and Symbols • Add include paths • Add library paths • Setup C++ Linker • Properties->C/C++ Build->Settings->GCC C++ Linker->Libraries • X11 GL GLU glut MyGLTools • Build and Run

  5. Assignment 0 • Optional • Try to make and run • Build projects with Eclipse • Play with the code