flt2c (tool command)

MultiGen .flt database for converter for a Nintendo 64 graphics data-structure

Syntax

flt2c [-s scale] [-m model] fltfile

Description

flt2c reads a MultiGen .flt database and generates Nintendo 64 C data structures. The vertex and material data structures are written to a .h file, and the texture data structures and mbi commands to construct the scene are sent to standard output. A top-level display list can be called by the application.

If textures are referenced from the .flt file, their paths are replaced with Textures and they are inserted into the C file as an array. See rgb2c for the list of supported texture types. The input texture files must be in SGI RGB format.

Command line options

-m model
Names the top-level data structure and specifies the base name of the output .h file For instance, if "moddel" is defined, references to this model in the application use this name and a length of 1.

-s scale
Scale object coordinates by the real-number scale. This allows the database to maximize object resolution.

Note

Subfaces are not handled very well. A subface may actually get obscured by the parent face. Vertex, texture, and material usage are not optimal. Vertices and textures should be grouped so as not to be redundantly transformed or loaded.

Physical structure definitions may be redundant; currently there is no reuse of previously specified equivalent elements.

See Also

rgb2c

Revision History

1999/04/30 Changed Format