| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Face3D
Spyder-generated class
module tarantula
file /home/sjoerd/Spyder-devel/tarantula/Tarantula.spy
Face class, should be part of a class that defines vertices and materials
Material definition is optional;
if none is defined, the material of the parent class should be used
Looking from the outside, vertices should be specified counter-clockwise
If specified, the normal should point inward
Normals for every vertex can be specified, too (for smooth lighting)
Texture coordinates are not yet implemented in Tarantula
http://www.spyderware.nl/wiki/classes/Face3D
>>> return len(vertices) >>>
>>> assert texturecoords == None or len(texturecoords) == len(vertices) assert vertexnormals == None or len(vertexnormals) == len(vertices) >>>
|
|||
|
Inherited from |
|||
|
|||
| IntegerArray |
vertices = []
|
||
| *Material | material | ||
| *Coordinate2DArray | texturecoords | ||
| *Vector | normal | ||
| *VectorArray | vertexnormals | ||
|
|||
|
Inherited from |
|||
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon May 10 22:45:17 2010 | http://epydoc.sourceforge.net |