Computer Graphics
(fall 2016)
School of Computer Science / University of Seoul
home
syllabus
schedule
homeworks
projects
materials
links
Lecture materials
Course samples
README.txt
for build instruction
samples.html
file for detailed description.
Lecture slides
Modern OpenGL samples
(2013 course) (NOTE: Refer to
README.txt
file for more details.)
Lecture slides of 2013 course (OpenGL)
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
OpenGL ES 2.0
my_gl_jni.cpp
Lecture slides of 2010 course (OpenOffice Impress format)
p08.odp
p05-handout.pdf
p04-handout.pdf
(updated 28 Sep)
p03.odp
p02.odp
p01.odp
rendering.odp
OpenGL.odp
Tutorials
Compiling OpenGL program with Visual Studio 2008
freeglut-2.6.0.zip
Samples (for modern desktop OpenGL)
On linux, compile by typing (without the extension
.c
)
make PROG=
prog_name
makefile
sample01.c
sample02.c
sample03.c
sample04.c
sample05.c
mesh.c
UI using GLUT
reshape.c
keyboard.c
special.c
mouse.c
motion.c
passivemotion.c
idle.c
timer.c
menu.c
postredisplay.c
viewer.c
: Intuitive UI implemented using GLUT
Transformation
transformation.c
,
transformation2.c
: Hierarchical transformation demo (2D robot arm)
Shading
lighting.c
gouraud.c
,
gouraud2.c
: Demonstrates the artifacts of the Gouraud shading.
movelight.c
: Demonstrates how to transform a light source. (Simple instruction at the beginning.)
normalize.c
: Demonstrates why we need
GL_NORMALIZE
.
back.c
: Demonstrates how to do back face shading. (back-face culling + back-face material + two-sided lighting)
Viewing
projection.c
,
projection2.c
,
projection3.c
: To demonstrate using perspective/orthogonal projection matrices.
Etc.
polyoffset.c
: Demonstrates the effect of
"polygon offset"
.
How to use GLM library to load OBJ files
demo_glm.c
glm.c
glm.h
soccerball.obj
soccerball.mtl
Discrete
rasterpos.c
: Demonstrates how 3D raster position works.
rasterclip.c
: Demonstrates what happens if a raster position is clipped.
hud.c
: Demonstrate how to render HUD (Head-Up Displayh) texts
texmap.c
: Demonstrate texture mapping where the texture data is exported by
GIMP
. (You may also need the file
bricks.c
.)
tex2d.cpp
: 2D texture mapping using
DevIL
(
1.7.8 for Win32
(
texture file
)