README 1.89 KB
Newer Older
1
This program compiles on GNU/Linux, Mac and Windows (this port is currently
2
in development and may not run). It requires:
Luis Penaranda's avatar
Luis Penaranda committed
3
4
-qmake,
-make,
5
-g++ in GNU/Linux or Mac
6
-Visual C++ or MinGW with g++ in Windows
Luis Penaranda's avatar
Luis Penaranda committed
7
-Qt 4,
8
-OpenGL 3.1 or GLew 1.3.5,
9
-freeglut (maybe it also works with glut),
10
11
-libjpeg,
-libpng, and
12
-libnetpbm (if using any compiler other than Visual C++).
Luis Penaranda's avatar
Luis Penaranda committed
13

14
In windows, you need to get libjpeg, libpng and libnetpbm from the GnuWin32
15
16
17
18
project (http://gnuwin32.sourceforge.net). Additionally, you need flex
because it contains an implementation of unistd.h.

To build in GNU/Linux and Mac, simply run qmake and make. In Windows, it
19
20
would be easier to go through QtCreator (of course, you can also use
QtCreator on GNU/Linux and Mac).
21

22
23
24
25
By default, the interface lets the user choose, beyond our method, between
common projection methods. The compilation flag PANO_EXTENDED_CONTROLS can
be added to show controls for other state-of-the-art projection methods.

26
27
To configure, you can set in the file ~/.panorc the following options.
        shader_dir=<path to directory containing the shader files>
28
29
30
        image_file=<full path to the desired input file>
        image_dir=<path to directory containing the input files>
        fov=<starting value of fov, in degrees>
31
        max_fov=<starting value of max_fov, in degrees>
32
33
34
If the program is compiled with the PANO_EXTENDED_CONTROLS flag, these
options are also available.
        pd=<Pannini d parameter>
35
36
        zblambda=<Zorin-Barr lambda parameter>
        zbR=<Zorin-Barr R parameter>
37
38
39
Lines in the file must start with option names, and no spaces should go
between option names, equal signs and values. If no shader path is set, the
default is ./shaders/. If no input file is set, or the file is missing, a
40
file chooser will be shown at startup. The default value of max_fov and fov
41
42
are 60 degrees. pd, zblambda and zbR are specified in floating-point,
following machine locales.