Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Anthony Sottile edited this page Dec 31, 2017 · 6 revisions

PVR - Production Volume Rendering

Building PVR on OS X

Building PVR on Linux

These instructions were written using a default install of Ubuntu 12.04 LTS.

Prep

  • sudo apt-get install cmake scons g++-multilib libboost-all-dev libilmbase-dev libopenexr-dev libpng12-dev libjpeg-dev libtiff4-dev
  • Download HDF5
  • Download Field3D
  • Download OpenImageIO
  • Download PVR

HDF5

  • cd to the unpacked hdf5 directory
  • make install
  • sudo cp hdf5/include/* /usr/local/include/
  • sudo cp hdf5/lib/* /usr/local/lib/

Field 3D

  • cd to the unpacked Field3D directory
  • sudo gedit /usr/include/OpenEXR/ImathRoots.h
  • Change <ImathMath.h> to "ImathMath.h" Issue #13
  • scons do64=1
  • sudo cp -R install/linux2/m64/release/include/* /usr/local/include/
  • sudo cp install/linux2/m64/release/lib/* /usr/local/lib/

OpenImageIO

  • cd to the unpacked OIIO directory
  • make USE_FILED3D=0
  • sudo cp -R dist/linux64/include/* /usr/local/include
  • sudo cp dist/linux64/lib/* /usr/local/lib

PVR

Build GPD

  • cd to the unpacked pvr directory
  • cd libpvr/external
  • scons

Build PVR

  • cd libpvr dir
  • We need to install python2.6
  • sudo add-apt-repository ppa:deadsnakes
  • sudo apt-get update
  • sudo apt-get install python2.6 python2.6-dev
  • export PVR_PYTHON_PATH=~/pythonLibs
  • scons pyinstall