1 / 5

CPSC 453 Tutorial

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 3D graphics. Libraries for building graphics program. OpenGL GLU (OpenGL utility) GLUT (OpenGL utility toolkit) Window management

shina
Download Presentation

CPSC 453 Tutorial

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related