FlyBy Header File Tokens
| Token Name |
Default Value |
Decscription |
| action |
wireframe |
Flyby's rendering mode and initial subsampling. For example
(texture_map, 50, 50). |
| backface |
0 |
Enables backface removal. |
| background |
NA |
Background color components in the form (red, green, blue)
where red, green, and blue range between 0 and 255. |
| clip |
0.1, 1000.0 |
Near and far clipping planes. |
| cmap |
NA |
Colormap file |
| control_points |
NA |
Flightpath mode control points. |
| dimension |
See topo_dimension. |
See topo_dimension. |
| field_of_view |
60.0 |
Field of view in degrees. |
| image_dimension |
value of topo_dimension |
The X & Y dimension of the texture map file. If this
token is not specified, its value will default to the value for
topo_dimension. |
| image_resolution |
value of topo_dimension |
The resolution to which the texture map file should be
reduced to (essentially subsamples the texture map file). If this token
is not specified it defaults to the value for topo_resolution. |
| light |
NA |
Contains eight parameters for specifying an OpenGL light in
the form ("light name", X, Y, Z, on/off, red, green, blue).
"on/off" is either 1 (on) or 0 (off). red, green, and blue
range between 0.0 and 1.0. |
| solid_mesh |
NA |
The name of a 3D-Studio, VRML, OpenInventor or ASCII dat file
describing a solid mesh. |
| tin_mesh |
NA |
The name of a file created using Flyby's mesh
simplification algorithm. |
| model_edges |
-100.0 to 100.0 in both X and Y |
Coordinates for edges of model. Not yet implemented. |
| path |
NA |
Flightpath mode camera orientation points. |
| resolution |
See topo_resulution. |
See topo_resolution. |
| rgbtexmap |
NA |
The names of three files containing the red, green, and
blue color components used to make a color texture image. |
| rotation |
0, 0, 0 |
Rotation of model. |
| texmap |
NA |
Name of file containing a grayscale texture image. |
| topo_dimension |
NA |
The dimension (x & y) of the data stored in the
topographic file specified by the "zmap" token. |
| topo_resolution |
topo_dimension |
The resolution to which the topographic file should be
reduced to (essentially subsample the topographic file). |
| translation |
0, 0, 0 |
Translation of model. |
| winsize |
512,512 |
Size of window for rendering. Not functional at this time. |
| zmap |
NA |
3 values. The first is either a file of elevation points
(.topo) or a USGS One Degree Digital Elevation Model file (.dem). The
second value is the Z scaling. The third value is the number of
surfaces. |
| render_in_spare_time |
DEPRICATED |
DEPRICATED |
| rotation panel showing |
DEPRICATED |
DEPRICATED |
| still |
DEPRICATED |
DEPRICATED |
| translation panel showing |
DEPRICATED |
DEPRICATED |
Sample FlyBy Header File
# comments begin with a "#" just like in a shell
topo_dimension(1024,1024)
topo_resolution(512,512)
image_dimension(1024,1024)
image_resolution(512,512)
zmap(hugo_ir_1k.img,30.000000,0)
texmap(hugo_vi_1k.img,0)
light("one", 10.000000,0.000000,5.000000, 1, 1.000000,1.000000,1.000000)
light("two", 0.000000,10.000000,5.000000, 0, 1.000000,1.000000,1.000000)
light("three", 0.000000,-10.000000,5.000000, 0, 1.000000,1.000000,1.000000)
light("four", -10.000000,0.000000,5.000000, 0, 1.000000,1.000000,1.000000)
action(texture_map,50,50)
rotation(-44.648350,12.148902,18.147110)
field_of_view(20)
translation(0.000000,5.000000,0.000000)
winsize(512,512)
background(0,128,208)
clip(0.500000,1001.000000)
backface(0)
controlpts(3,
-99.596512,127.293732,40.930103, 0.000000,-91.000000,0.000000,
131.521378,81.277267,77.333061, 0.000000,0.000000,0.000000,
117.172348,-136.495605,109.939613, 0.000000,0.000000,0.000000)
path(60,
-99.596512,127.293732,40.930103, 0.000000,-91.000000,0.000000,
-97.854568,132.186874,40.376392, 0.000000,-90.448311,0.000000,
-93.519531,136.012115,40.318279, 0.000000,-88.861496,0.000000,
-86.851410,138.821289,40.714813, 0.000000,-86.341934,0.000000,
-78.110214,140.666107,41.525040, 0.000000,-82.991997,0.000000,
-67.555939,141.598373,42.708008, 0.000000,-78.914062,0.000000,
-55.448608,141.669846,44.222763, 0.000000,-74.210495,0.000000,
-42.048222,140.932297,46.028347, 0.000000,-68.983688,0.000000,
-27.614779,139.437469,48.083820, 0.000000,-63.335999,0.000000,
-12.408298,137.237167,50.348213, 0.000000,-57.369808,0.000000,
3.311203,134.383133,52.780579, 0.000000,-51.187496,0.000000,
19.283749,130.927155,55.339970, 0.000000,-44.891426,0.000000,
35.249306,126.920982,57.985424, 0.000000,-38.583988,0.000000,
50.947868,122.416412,60.675995, 0.000000,-32.367550,0.000000,
66.119431,117.465172,63.370724, 0.000000,-26.344486,0.000000,
80.503990,112.119072,66.028656, 0.000000,-20.617174,0.000000,
93.841530,106.429848,68.608849, 0.000000,-15.287986,0.000000,
105.872047,100.449280,71.070335, 0.000000,-10.459299,0.000000,
116.335541,94.229156,73.372177, 0.000000,-6.233488,0.000000,
124.971985,87.821220,75.473404, 0.000000,-2.712927,0.000000,
131.521378,81.277267,77.333061, 0.000000,0.000000,0.000000,
136.582642,73.692024,79.169708, 0.000000,2.161250,0.000000,
140.938766,64.289078,81.204735, 0.000000,4.095000,0.000000,
144.605896,53.313442,83.401459, 0.000000,5.801250,0.000000,
147.600174,41.010113,85.723190, 0.000000,7.280000,0.000000,
149.937714,27.624056,88.133263, 0.000000,8.531250,0.000000,
151.634705,13.400286,90.594971, 0.000000,9.555001,0.000000,
152.707260,-1.416203,93.071640, 0.000000,10.351251,0.000000,
153.171555,-16.580418,95.526596, 0.000000,10.920000,0.000000,
153.043655,-31.847368,97.923149, 0.000000,11.261250,0.000000,
152.339783,-46.972046,100.224617, 0.000000,11.375000,0.000000,
151.076065,-61.709480,102.394325, 0.000000,11.261250,0.000000,
149.268585,-75.814651,104.395576, 0.000000,10.919998,0.000000,
146.933578,-89.042580,106.191704, 0.000000,10.351248,0.000000,
144.087128,-101.148262,107.746017, 0.000000,9.554997,0.000000,
140.745377,-111.886719,109.021835, 0.000000,8.531247,0.000000,
136.924484,-121.012932,109.982468, 0.000000,7.279995,0.000000,
132.640594,-128.281921,110.591255, 0.000000,5.801243,0.000000,
127.909843,-133.448715,110.811493, 0.000000,4.094993,0.000000,
122.748375,-136.268250,110.606506, 0.000000,2.161242,0.000000,
117.172348,-136.495605,109.939613, 0.000000,0.000000,0.000000,
110.369133,-133.803497,108.656670, 0.000000,-2.712938,0.000000,
101.677971,-128.225815,106.679756, 0.000000,-6.233500,0.000000,
91.342720,-120.059326,104.086510, 0.000000,-10.459313,0.000000,
79.607262,-109.600838,100.954544, 0.000000,-15.288000,0.000000,
66.715431,-97.147034,97.361504, 0.000000,-20.617188,0.000000,
52.911110,-82.994736,93.385048, 0.000000,-26.344503,0.000000,
38.438164,-67.440697,89.102791, 0.000000,-32.367565,0.000000,
23.540459,-50.781666,84.592361, 0.000000,-38.584003,0.000000,
8.461852,-33.314407,79.931412, 0.000000,-44.891445,0.000000,
-6.553778,-15.335697,75.197586, 0.000000,-51.187504,0.000000,
-21.262589,2.857714,70.468483, 0.000000,-57.369823,0.000000,
-35.420685,20.969063,65.821777, 0.000000,-63.336010,0.000000,
-48.784214,38.701572,61.335083, 0.000000,-68.983696,0.000000,
-61.109333,55.758492,57.086040, 0.000000,-74.210510,0.000000,
-72.152138,71.843040,53.152283, 0.000000,-78.914070,0.000000,
-81.668800,86.658478,49.611458, 0.000000,-82.992012,0.000000,
-89.415428,99.908035,46.541191, 0.000000,-86.341949,0.000000,
-95.148163,111.294937,44.019119, 0.000000,-88.861511,0.000000,
-98.623154,120.522430,42.122871, 0.000000,-90.448318,0.000000)
Jeremy Hinegardner
Last modified: Mon May 24 13:18:08 CDT 1999