ccdemos/SConscript
author Radek Brich <radek.brich@devl.cz>
Sun, 20 Apr 2008 16:48:24 +0200
branchpyrit
changeset 72 7c3f38dff082
parent 65 242839c6d27d
child 84 6f7fe14782c2
permissions -rw-r--r--
kd-tree building - check all axes for best split, add additional shape-bbox check extent Container bounds by Eps to fix invisible triangles on borders new Camera constructor with more intuitive lookat/up vectors fix camera axes (mirrored images) better camera angle-of-view change capitalization of addShape and addLight

Import('env lib')
env.Append(CPPPATH = ['.','#include'], LIBPATH='#build/lib')
env.Prepend(LIBS=['pyrit','png'])

sdlenv = env.Clone()
sdlenv.ParseConfig('sh sdl-config --cflags --libs')

l = []
image_obj = env.Object('image.c', CC="$CXX")
l.append( image_obj )
l.append( sdlenv.Program(['realtime.cc']) )
l.append( sdlenv.Program(['realtime_bunny.cc']) )
l.append( sdlenv.Program(['realtime_dragon.cc']) )
l.append( sdlenv.Program(['spheres_shadow.cc']+image_obj) )
l.append( sdlenv.Program(['textures.cc']+image_obj) )

env.Alias('cc-demos', l)