models/SConscript
author Radek Brich <radek.brich@devl.cz>
Mon, 14 Apr 2008 12:51:50 +0200
branchpyrit
changeset 69 303583d2fb97
parent 63 440e1ae80459
child 92 9af5c039b678
permissions -rw-r--r--
move "smooth" attribute from Triangle to Material lwo reader enhancements - implement more chunk types, support for smoothing flag and SMAN (smoothing max. angle)

env = Environment()
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
files = ['lwo/Nissan300ZX.lwo', 'obj/cube.obj', 'obj/sphere.obj', 'obj/monkey.obj']

l = []
for file in files:
	l.append( env.Copy('#build/models/'+file, file) )

env.Alias('local-models', l)

plydir = Dir('#build/models/ply/')
Command(plydir, [], Dir('#models/').abspath+'/download-stanford $TARGET')
Clean(plydir, plydir)

env.Alias('download-models', plydir)

env.Alias('models', ['local-models', 'download-models'])