|
Author |
Topic: how to describe 3d polygons? (Read 218 times) |
|
lunetta
|
how to describe 3d polygons?
« on: Nov 22nd, 2004, 6:04pm » |
|
Hi I'm looking for resources/references explaining how to describe polygons in 3D space; For example: If I want to draw a solid rectangle, I can build a shape like this: beginShape(POLYGON); vertex(0,0); vertex(10,0); vertex(10,10); vertex (0,10); endShape(); But if I want to describe a solid cube, for example, how should I proceed? And when I increase the complexity for other solids? In this rectangle case, each vertex connects two lines; how should be the description so a vertex connects 3 (or more) lines? What's the correct order (if any) for the description? If anyone knows pages with this kind of information, I'm grateful for sharing them...
|
|
|
|
|