Author: ArcRiley
Date: 2008-02-12 15:53:04 -0500 (Tue, 12 Feb 2008)
New Revision: 872
Modified:
trunk/pysoy/examples/blocks.py
Log:
This turned white to twilight...
Modified: trunk/pysoy/examples/blocks.py
===================================================================
--- trunk/pysoy/examples/blocks.py 2008-02-12 20:25:25 UTC (rev 871)
+++ trunk/pysoy/examples/blocks.py 2008-02-12 20:53:04 UTC (rev 872)
@@ -4,9 +4,9 @@
class BlockMesh(soy.meshes.Mesh) :
def __init__(self, mycol) :
black = soy.materials.Material()
- black.ambient.hex = '#000'
- black.diffuse.hex = '#222'
- black.specular.hex = '#222'
+ black.ambient = soy.colors.black
+ black.diffuse = soy.colors.Color('#222')
+ black.specular= soy.colors.Color('#222')
black.shininess = 5.0
Vert = VertexGroup(self)
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn