Double buffering
http://dis.dankook.ac.kr/lectures/cg07/entry/reshape-doublesingle-buffering
Display list
http://dis.dankook.ac.kr/lectures/cg07/entry/display-list-예제
Picking
http://dis.dankook.ac.kr/lectures/cg07/entry/pick-예제
GLUT keyboard
1023972059.cpp
GLUT menu
1255506022.cpp
GLUT mouse/motion
1070433326.cpp
paint
1141491316.cpp
scribble
1078000526.cpp
OPENGL geometry primitives
-circle
-cube
-cylinder
-sphere
-square
OPENGL geometry primitives & attribute example
1117722675.cpp
별 GL_POINTS:
별 GL_LINES
별 GL_LINE_STRIP
별 GL_LINE_LOOP
팔각형 GL_POLYGONS
팔각형 GL_QUADS
팔각형 GL_TRIANGLES
팔각형 GL_TRIANGLE_FAN
팔각형 GL_TRIANGLE_STRIP
팔각형 GL_QUAD_STRIP
clear.cpp – 파란 배경색을 칠하는 예제
1143593694.cpp
simple.cpp – RGBY색이 있는 사각형 그리기 예제
1214752897.cpp
triangle.cpp – RGB 색이 있는 삼각형 그리기 예제
1066383241.cpp
Your First OpenGL Program:
o Windows Visual C++ (.NET 2005)
http://dis.dankook.ac.kr/lectures/cg07/entry/Your-first-OpenGL-program
OPENGL/GLUT 설치:
o Windows Visual C++ (.NET 2005)http://dis.dankook.ac.kr/lectures/cg07/entry/OPENGLGLUT-Installation
o LINUX Makefile
###################################################################_M#]
# Makefile for clear.c
#################################################################### include directories for linux, sun, sgi, and os-x
# note that if you try to compile a glut-based application on red-hat 9
# (at least as of summer 03) you will need to install an older version of
# glut on your system, or rebuild it yourself. For more info on this you
# can type glut XFreeDeviceList into google and you will get a bunch of links
# to various solutionsINCLUDE_DIR = -I/usr/local/X11/include
#sun INCLUDE_DIR = -I/usr/local/glut-3.7/include/GL
#SGI O2 INCLUDE_DIR = -I/usr/include/GL
#OS-X INCLUDE_DIR = -I/System/Library/Frameworks/GLUT.framework/HeadersLIBRARY_DIR = -L./. -L/usr/local/X11/lib -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/lib
LIBRARIES = -lglut -lm -lGLU -lGL -lXmu -lXext -lXt -lX11
#OS-X LIBRARIES = -framework GLUT -framework OpenGL -lobjcCOMPILER_FLAGS = -O
COMPILER = gcc
OBJ_FILES = clear.o
EXEC = clear$(EXEC): $(OBJ_FILES)
$(COMPILER) $(COMPILER_FLAGS) -o $(EXEC) $(OBJ_FILES) \
$(LIBRARY_DIR) $(LIBRARIES)
#OS-X needs this too /Developer/Tools/Rez -t APPL -o shell1 mac.rclear.o: clear.c
$(COMPILER) $(COMPILER_FLAGS) $(INCLUDE_DIR) -c shell1.cclean:
\rm -f $(OBJ_FILES) $(EXEC)