Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPSC 453 Tutorial Xin Liu Sep 23, 2013. OpenGL An open standard of rendering pipeline A software interface to graphics hardware A useful set of APIs for.

Similar presentations


Presentation on theme: "CPSC 453 Tutorial Xin Liu Sep 23, 2013. OpenGL An open standard of rendering pipeline A software interface to graphics hardware A useful set of APIs for."— 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


Download ppt "CPSC 453 Tutorial Xin Liu Sep 23, 2013. OpenGL An open standard of rendering pipeline A software interface to graphics hardware A useful set of APIs for."

Similar presentations


Ads by Google