4.4. Section - triangles | 4. SMF/T - Text Encoding | 4.6. Section - metadata |
Previous | Up | Next |
Section - vertices-noninterleaved
Definition
The vertices-noninterleaved section specifies the vertex data that will appear in the model.
The contents of a
vertices-noninterleaved section are a series of
subcommands with at most one subcommand appearing on each line within the section. A
subcommand consists of the subcommand's name and a series of zero or more arguments. Implementations MUST ignore subcommands that have unrecognized names, but SHOULD log warning messages to indicate that unrecognized subcommands have been specified.
Subcommands
This version of the specification defines the following vertices-noninterleaved subcommands:
Subcommand - attribute
The attribute subcommand indicates the start of data for an attribute.
The command takes the following arguments:
The named attribute must have been declared in the
smf section; Implementations MUST raise errors when encountering
attribute subcommands that name attributes that were not declared in the
smf section.
For an attribute
a that specifies
c components of type
t, in a file that is specified to contain
v vertices, the next
v non-empty, non-commented lines will contain exactly
c whitespace-separated values of type
t. Implementations MUST raise errors if there are not exactly
v vertex values specified before section's
end command or the start of the next
attribute subcommand, whichever occurs first.
Previous | Up | Next |
4.4. Section - triangles | 4. SMF/T - Text Encoding | 4.6. Section - metadata |