Messages |
vertices | integer, [integer] | determine the number of vertices |
file | set the surface texture | |
texture | set the surface texture (deprecated) |
Comments |
constructor surface
1 create geode
destructor ~surface
method reset
1 reset number of vertices to 2
2 reset texture file name
method message
1 determine the number of vertices
2 set the surface texture
3 set the surface texture (deprecated)
method createGeometry
1 if geode has been created
1.0.1 delete gset
1.0.1 create geoset
1.0.2 create geostate
1.1 allocate vertex, normal, color, and texture coordinate arrays
1.2 set up vertex, normal, color, and texture corrdinate values
1.3 set up indexing
1.4 add array attributes to geoset
method setTexture
0.1 get number of image components
0.2 if alpha channel then set transparency