demos/SConscript
author Radek Brich <radek.brich@devl.cz>
Wed, 23 Apr 2008 14:39:33 +0200
branchpyrit
changeset 79 062b1c4143f7
parent 72 7c3f38dff082
child 90 f6a72eb99631
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)

Import('pymodule')

env = Environment()
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
files = [
	'boxes.py', 'buddha.py', 'bunny.py', 'car.py', 'dragon.py',
	'spheres_ao.py', 'spheres_glass.py', 'spheres_shadow.py',
	'triangles_monkey.py', 'triangles_sphere.py',
	'objreader.py', 'plyreader.py', 'lworeader.py',
	'vector.py', 'render_nff.py']

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

import os
l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) )

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