# LIF1.0 # Lightfield library, version 1.0 # # Copy and modify this file to describe a set of images for # generating a light field. # # Any line beginning with '#' is a comment. # # The light field is made up of "slabs". Each slab is # a regular array of images, taken from regular intervals # on a uv plane, looking at an st plane. # # ==================== slab specification ==================== # # The first line gives the slab number (each number must be unique, # and less than LF_MAXSLABS (currently 30). It also lists the # basename for the array of images. For example, the line # SLAB 0 data/lion # would tell the program to look in the data directory for files # of the format "lion.u.v.rgb", i.e. # lion.0.0.rgb, lion.0.1.rgb, ..., lion.16.16.rgb, etc. SLAB 0 /n/blueridge/home/levoy/vq/plion1/plion1_project # These next four lines describe the location of the uv plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_UV -2.320500 -0.160000 2.320500 1.000000 0 0 -2.320500 -0.160000 -2.320500 1.000000 1 0 -2.320500 1.773750 -2.320500 1.000000 1 1 -2.320500 1.773750 2.320500 1.000000 0 1 # These next four lines describe the location of the st plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_ST 0.000000 -0.719195 -0.643370 1.000000 0 0 0.000000 -0.719195 0.569205 1.000000 1 0 0.000000 0.492470 0.569205 1.000000 1 1 0.000000 0.492470 -0.643370 1.000000 0 1 # This line describes the dimensions of the light field array in # u and v. (i.e. the size of the array of images.) SAMPLES_UV 32 16 # This line describes the dimensions of the light field array in # s and t. (i.e. the size of each image (in pixels)). SAMPLES_ST 256 256 # This line describes the format of the images. FORMAT RGB # -------------------- end of slab -------------------- # ==================== slab specification ==================== # # The first line gives the slab number (each number must be unique, # and less than LF_MAXSLABS (currently 30). It also lists the # basename for the array of images. For example, the line # SLAB 0 data/lion # would tell the program to look in the data directory for files # of the format "lion.u.v.rgb", i.e. # lion.0.0.rgb, lion.0.1.rgb, ..., lion.16.16.rgb, etc. SLAB 1 /n/blueridge/home/levoy/vq/plion2/plion2_project # These next four lines describe the location of the uv plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_UV 2.320500 -0.160000 2.320500 1.000000 0 0 -2.320500 -0.160000 2.320500 1.000000 1 0 -2.320500 1.773750 2.320500 1.000000 1 1 2.320500 1.773750 2.320500 1.000000 0 1 # These next four lines describe the location of the st plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_ST -0.643370 -0.719195 0.000000 1.000000 0 0 0.569205 -0.719195 0.000000 1.000000 1 0 0.569205 0.492470 0.000000 1.000000 1 1 -0.643370 0.492470 0.000000 1.000000 0 1 # This line describes the dimensions of the light field array in # u and v. (i.e. the size of the array of images.) SAMPLES_UV 32 16 # This line describes the dimensions of the light field array in # s and t. (i.e. the size of each image (in pixels)). SAMPLES_ST 256 256 # This line describes the format of the images. FORMAT RGB # -------------------- end of slab -------------------- # ==================== slab specification ==================== # # The first line gives the slab number (each number must be unique, # and less than LF_MAXSLABS (currently 30). It also lists the # basename for the array of images. For example, the line # SLAB 0 data/lion # would tell the program to look in the data directory for files # of the format "lion.u.v.rgb", i.e. # lion.0.0.rgb, lion.0.1.rgb, ..., lion.16.16.rgb, etc. SLAB 2 /n/blueridge/home/levoy/vq/plion3/plion3_project # These next four lines describe the location of the uv plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_UV 2.320500 -0.160000 -2.320500 1.000000 0 0 2.320500 -0.160000 2.320500 1.000000 1 0 2.320500 1.773750 2.320500 1.000000 1 1 2.320500 1.773750 -2.320500 1.000000 0 1 # These next four lines describe the location of the st plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_ST 0.000000 -0.719195 0.643370 1.000000 0 0 0.000000 -0.719195 -0.569205 1.000000 1 0 0.000000 0.492470 -0.569205 1.000000 1 1 0.000000 0.492470 0.643370 1.000000 0 1 # This line describes the dimensions of the light field array in # u and v. (i.e. the size of the array of images.) SAMPLES_UV 32 16 # This line describes the dimensions of the light field array in # s and t. (i.e. the size of each image (in pixels)). SAMPLES_ST 256 256 # This line describes the format of the images. FORMAT RGB # -------------------- end of slab -------------------- # ==================== slab specification ==================== # # The first line gives the slab number (each number must be unique, # and less than LF_MAXSLABS (currently 30). It also lists the # basename for the array of images. For example, the line # SLAB 0 data/lion # would tell the program to look in the data directory for files # of the format "lion.u.v.rgb", i.e. # lion.0.0.rgb, lion.0.1.rgb, ..., lion.16.16.rgb, etc. SLAB 3 /n/blueridge/home/levoy/vq/plion4/plion4_project # These next four lines describe the location of the uv plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_UV -2.320500 -0.160000 -2.320500 1.000000 0 0 2.320500 -0.160000 -2.320500 1.000000 1 0 2.320500 1.773750 -2.320500 1.000000 1 1 -2.320500 1.773750 -2.320500 1.000000 0 1 # These next four lines describe the location of the st plane. # Each line describes one vertex of the quadrilateral. The first # four numbers of each line give the x,y,z,w coordinates of the # corner vertex, and the last two numbers give texture coordinates, # describing how to map u and v to the quadrilateral. # # The four vertices should be coplanar. SLAB_ST 0.643370 -0.719195 0.000000 1.000000 0 0 -0.569205 -0.719195 0.000000 1.000000 1 0 -0.569205 0.492470 0.000000 1.000000 1 1 0.643370 0.492470 0.000000 1.000000 0 1 # This line describes the dimensions of the light field array in # u and v. (i.e. the size of the array of images.) SAMPLES_UV 32 16 # This line describes the dimensions of the light field array in # s and t. (i.e. the size of each image (in pixels)). SAMPLES_ST 256 256 # This line describes the format of the images. FORMAT RGB # -------------------- end of slab --------------------