Skip to content
README 1.15 KiB
Newer Older
This program compiles on GNU/Linux, Mac and Windows (this port is currently
in development). It requires:
Luis Penaranda's avatar
Luis Penaranda committed
-qmake,
-make,
-g++ in GNU/Linux or Mac
-Visual C++ in Windows
Luis Penaranda's avatar
Luis Penaranda committed
-Qt 4,
-OpenGL 3.1 or GLew 1.5.2,
-freeglut (maybe it also works with glut),
-libjpeg, and
-libnetpbm (if using any compiler other than Visual C++).
Luis Penaranda's avatar
Luis Penaranda committed

In windows, you need to get some libjpeg and libnetpbm from the GnuWin32
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
would be easier to go thru QtCreator.

To configure, you can set in the file ~/.panorc the following options.
        shader_dir=<path to directory containing the shader files>
        image_file=<path to the desired input file>
        max_fov=<starting value of max_fov, in degrees>
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
file chooser will be shown at startup. The default value of max_fov is 60
degrees.