models/SConscript
author Radek Brich <radek.brich@devl.cz>
Wed, 23 Apr 2008 14:39:33 +0200
branchpyrit
changeset 79 062b1c4143f7
parent 63 440e1ae80459
child 92 9af5c039b678
permissions -rw-r--r--
material and texture classes moved to material.(cc,h) 2D texture mappings from textures.cc polished and moved to material.h add ColourMap class and subclasses to make textures more flexible two example textures: CheckersTexture and CloudTexture (using Perlin noise)

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'])