io7m | single-page | multi-page | SMF Format Specification 0.16.0-SNAPSHOT
4.4. Section - metadata
Previous
4. SMF/T - Text Encoding
Up
4.6. Section - vertices-noninterleaved
Next

# 4.5. Section - triangles

- 4.5.1. Definition

## 4.5.1. Definition

1
The triangles section specifies triangle data that will appear in the model.

### 4.5.1.2. triangles

    data_command_triangles =
      "triangles" ;

3
The command takes no arguments.
4
In a file that is specified to contain k triangles, the next k non-empty, non-commented lines will contain exactly 3 whitespace-separated unsigned integer values each representing the index of a vertex. Implementations MUST raise errors if there are not exactly k triangles specified before section's end command.
4.4. Section - metadata
Previous
4. SMF/T - Text Encoding
Up
4.6. Section - vertices-noninterleaved
Next
io7m | single-page | multi-page | SMF Format Specification 0.16.0-SNAPSHOT