2016.2 Advanced Computer Graphics
Lecture 7 : OpenGL Programming (Lecture Note from Dave Shreiner et. al.)
- Student Paper Presentation
- Homework (Choose hw1 or hw2)
- hw1: add smooth shading to CUDA isosurface sample code
- hw2: Using sample OpenGL code, create your own 3D game.
- Deadline: Dec. 13th (submit the result of homework, source code and executable code, to eClass)
- Demo: Dec. 14th (during our class)
- Class begins on Sep. 7th.
- OpenGL Basics (tutorial ppt)
- OpenGL Red Book
- Homework: Develop a new 3D game by modifying given sample OpenGL code.
- You have to show a working demo of your program during our class on Dec. 14th.
- You can get bonus scores if you use GUI libraries such as QT, fltk, glfw, and etc instead of using GLUT.
Point Set Processing
- Install OpenGL and Glut using GLFiles.zip
- unzip GLFiles.zip
- copy .dll files in "dll" directory into "C:\Windows\system" in your PC
- copy GL directory in "include" directory into your PC's Visual Studio 2008's include directory ex) "C:\Program Files\Microsoft Visual Studio 9.0\VC\include"
- copy .lib files in "lib" directory into your PC's Visual Studio 2008's lib directory ex) "C:\Program Files\Microsoft Visual Studio 9.0\VC\lib"
- Sample OpenGL program for implementing Virtual Billiard (download, opengl_test.exe)
- A good example (executable code) : goodexample_VirtualLego.exe - try to run it and compare it with yours. Appropriate library files may need to be installed in your computer for execution.
- another sample game