
A roadmap to source programs in liblight:


api.c
-----
Front-end to the liblight library.


compression.c
-------------
Source with respect to the LFCompress operator.


context.c
---------
Miscellaneous mode setting stuff.


create.c
--------
Source with respect to the LFCreate operator.


dataflow.c
----------
Primary handler for data-flow analysis and optimization as well as
triggering the execution of various functional units in the data-flow.


draw.c
------
Source for drawing lightfields under viewing.


draw_fb.c
---------
Source with respect to the LFDraw operator (it is a wrapper really,
and the meat of drawing code is in draw.c).


fileIO.c
--------
Primary handler for LIF file I/O (aside from the header information,
many details about the lightfield data have been abstracted out in
lif_api.c).


intersect.c
-----------
Source to determine the visible region (with respect to u, v, s, and
t coordinates) of a light slab from the current view position. If a
light slab is determined to be invisible, it is not drawn. 


io.c
----
Source to build the lightfield data structure from multiple ST slices
(each slice corresponds to one point on the UV plane).


irisgl_driver.c
---------------
Device-dependent functions on SGI platforms. 


lif_api.c
---------
An extra layer on top of LIF-I/O to shield LIF I/O from knowing too
many details about other parts of the liblight library (and thus
maintain modularity).


rasterize.c
-----------
Source to scan convert a triangle, compute correct u, v, s, and t
coordinates for pixels on each generated scan-line, and call a
scan-line based function to resample the lightfield function for each
pixel involved.


resample.c
----------
Source for resampling the lightfield function for a scan-line of
pixels using their corresponding u, v, s, and t coordinates under
different resampling filters (point-sampled, UV interpolated, ST
interpolated, and UVST interpolated).


util.c
------
Various utility functions.


fileIO.h
--------
Header file for fileIO.c


lerp.h
------
Macros for pixel resampling under various filters (point-sampled, UV
interpolated, ST interpolated, or UVST interpolated) and different
lightfield file format (VQ compressed, or non-VQ compressed).


lightfield.h
------------
Header file for the liblight library.


descr_file_lex.l
----------------
Token analyzer for the LID file format.


descr_file_yacc.y
-----------------
Parser for the LID file format.


consts.spec
-----------
Specification for exported constants of the liblight library API.
