Filed in: Resources.ProgrammingCodeSnippletsShapeGenerator · Modified on : Sun, 09 Aug 09
There are currently 7 primitives that can be created, each with several parameters. All have normals and uv maps. The cube and icosaeder uv maps could be better, but this also depends on the requirements.
| Form | Parameters |
|---|---|
| Cube | width, height, depth |
| Sphere | radius, segments |
| Tube | outer-radius, inner-radius, length, segments |
| Cylinder | radius, length, segments |
| Capsule | radius, length, segments |
| Icosaeder | radius |
| Pyramid | radius, size |
http://www.nouser.org/WD/resources/codesnipplets/shapeGenerator/shapeGen_2009_08_09.tar.gz
