flt2c.1
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.TH flt2c 1P local "Silicon Graphics, Inc."
.SH NAME
flt2c \- MultiGen .flt database to Ultra 64 graphics data-structure
converter
.SH SYNOPSIS
\f3flt2c\f1 [-s scale] [-m model] fltfile
.SH DESCRIPTION
.I Flt2c\^
reads a MultiGen .flt database and generates Ultra 64 C data
structures. The vertex and material data structures are written to a .h
file, 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.
.PP
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 \f2rgb2c\f1(1P) for the list of supported texture
types. The input texture files must be in SGI RGB format.
.PP
Command-line options are:
.RS 5
.TP 12
.B \-m model
Names the top-level data structure and specifies the base name
of the output .h file. Defaults to "model".
References to this model in the application uses this name and a length of
1.
.TP
.B \-s scale
Scale object coordinates by the real-number "scale".
This allows the database to maximize object resolution.
.SH BUGS
Subfaces are not handled very well. A subface may actually get obscured
by the parent face.
.PP
Vertex, texture and material usage is not optimal. Vertices and
textures should be grouped so as to not be redundantly transformed or
loaded. Material structure definitions may be redundant; currently
there is no reuse of previously specified equivalent materials.
.SH "SEE ALSO"
.IR rgb2c (1P)