Author: ArcRiley
Date: 2008-02-01 13:45:51 -0500 (Fri, 01 Feb 2008)
New Revision: 808
Modified:
trunk/pysoy/examples/bumpmap_example.py
Log:
to show detail more finely
Modified: trunk/pysoy/examples/bumpmap_example.py
===================================================================
--- trunk/pysoy/examples/bumpmap_example.py 2008-01-30 19:40:48 UTC (rev
807)
+++ trunk/pysoy/examples/bumpmap_example.py 2008-02-01 18:45:51 UTC (rev
808)
@@ -52,10 +52,10 @@
sce = soy.Scene()
cam = soy.bodies.Camera(sce)
- cam.position = (0,0,10)
+ cam.position = (0,0,5)
lig = soy.bodies.lights.Light(sce)
- lig.position = (-10, 1, -2)
+ lig.position = (-5, -5, -5)
decal_tex = soy.transports.File('media/decal.soy')['gimp']
normal_tex = soy.transports.File('media/normal_map.soy')['gimp']
@@ -69,6 +69,7 @@
test_mesh = create_quad_mesh(decal_mat)
test_mesh_b = soy.bodies.Body(sce, mesh=test_mesh)
+ test_mesh_b.rotation = (.1,.05,.5)
scr = soy.Screen()
win = soy.Window(scr, 'Bumpmap example', background=soy.colors.Black(),
@@ -84,7 +85,7 @@
while True:
sleep(0.3)
- lig.position = (20*abs(cmath.sin(time())) - 10, 1, -2)
+ #lig.position = (20*abs(cmath.sin(time())) - 10, 1, -2)
#test_mesh_b.position = (10*abs(cmath.sin( time()))- 6,
10*abs(cmath.sin( time()))- 6, 2)
if __name__=='__main__':
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn