Showing posts with label Computer Graphics. Show all posts
Showing posts with label Computer Graphics. Show all posts

OpenGL makefile for Mac

Saturday, February 27, 2010

A sample make file:

-----------------------------------------------
# Initial entry
#
#

APPS = mainz

#OPT = -g
OPT = -O
ARCH = -m32
CFLAGS = $(OPT) $(ARCH)

# MAC needs frameworks
OPENGLLIBS = -L"/System/Library/Frameworks/OpenGL.framework/Libraries"
GLUTLIBS = -lGL -lGLU -lm -lobjc
FRAMEWORKS = -framework GLUT -framework OpenGL -framework glew

all: $(APPS)

mainz: textfile.c ogl.c
$(CC) $(CFLAGS) -o main $(FRAMEWORKS) $(OPENGLLIBS) $(GLUTLIBS) *.c

clean:
if (rm *~ $(APPS) TAGS) then :; fi

#EOF

Read more...

Voronoi Diagram

Sunday, February 14, 2010



Read more...

Modelling with OpenGL

Thursday, February 4, 2010



Model of Kemper Hall lounge, in OpenGL.

(No modeller tools used, E&OE) :-)

Read more...

Todays Ray Traced Image: DOF

Sunday, January 31, 2010




Depth of field ray traced.

Read more...

Rendering Today 01

Saturday, January 9, 2010


Today I woke up to see what happened with my trial on motion blur. I had added motion blur (in its crude form) and anti-aliasing (using super sampling) last night. And this is what I got..


Read more...