Download presentation
Presentation is loading. Please wait.
Published byMavis Hampton Modified over 9 years ago
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.