Building ParaView
WARNING! Building ParaView from source is a complicated and time-consuming process, and is only required if you want to build your own plugins, or for enabling shading in the Volume Visualization exercise. It is recommended to do these exercises on the computers in the practical rooms. For all other exercises, you can use a normal installation of ParaView, which can be downloaded from http://paraview.org/
If you run into any problems using your own ParaView, first try the version available in the practical rooms. We did not test ParaView or the plugins on other platforms such as Windows or OSX, and you may run into unexpected problems.
Getting everything ready
We use ParaView 3.4, so download the source from http://paraview.org/paraview/resources/software.html. You'll also need CMake 2.4 or 2.6 (http://www.cmake.org/) and Qt 4.3 (ftp://ftp.qt.nokia.com/qt/source/, or check your package manager if you're on Linux).
Build Qt if you need to. ParaView officially only supports versions 4.3.x, but this check can be removed from the CMakeLists.txt file in its source directory (at your own risk). If you are using Visual Studio, you may have to use a newer version, as earlier Qt open source versions don't support this compiler. Compiling Qt may take a while, especially when using newer versions like 4.5.
Compiling ParaView
First apply our modification for enabling shading in volume rendering. Download rendering.xml and use it to replace the file in Servers/ServerManager/Resources in the source tree. This file is suitable for ParaView 3.4.0 only!
Use CMake to generate the project files or makefiles for ParaView. The programming exercises give some hints on using ccmake. Windows users can use cmake-gui. It is recommended to use a build directory separate from the ParaView source directory. Next, use your compiler to build the resulting project or makefiles. Compiling may take a while; be prepared to wait a few hours.
More detailed instructions on building ParaView can be found at http://paraview.org/Wiki/ParaView:Build_And_Install
