Superficie User's guide | ||
---|---|---|
Prev | Chapter 3. Superficie data format |
This is the simplest object. It is an array of 3*n points. The first 3 numbers are the coordinates of the first point, and so on.
It is basically the same as the POINT object. The numbers of the array are interpreted as the coordinates of a line that joins points 1,2,..., n.
This format is useful for things like vector fields. The vertex array has 3*2*n numbers. Superficie draws n lines: line 1 joins points 1 and 2, line 2 joins points 3 and 4, etc.
The sup:Vertex node contains the n points of an polygon of n sides.
This object is a surface formed from a mesh of triangles. It has 2 arrays: the sup:Vertex and sup:Index. sup:Vertex contains the coordinates of all the points of the surface, in no particular order. sup:Index contains indices, they indicate how the points in the vertex array must be joined in triangles, to form a mesh. That is, the first 3 numbers in the index, indicate what numbers in the vertex will be the coordinates of the 1st triangle, etc. Example:
Similar to TRIANGLES, but the mesh is formed by quadrilaterals.