Production Volume Rendering: a follow-up

Previous: 3.0 plans

Posted: 10 Mar 2013 15:03
Tags: pvr


Just a quick note to let you know that a slew of modications that I made to compile and render PVR on Windows have been accepted by Marcus Wrenninge and are now available to everyone at the PVR GitHub repository. The vast majority of the code changes have been made to please the VC++ 2010 compiler and to export DLL symbols. I have also fixed a number of Python scripts that were not in sync with PVR Python binding.

I have also contributed a VC++ 2010 solution for PVR. It probably would have been better to add WIN32 support to the existing SCons project or to provide files for CMake but I am not an expert for these tools. If someone wishes to step in, I'll be happy to provide help for testing. In the meantime, this will save mucho typing for Windows users. However, there is still quite a lot of work to perform to have a working platform. If this is your first time, expect to spend a whole day downloading, compiling and organizing the whole shebang.

First, you need to compile Field3D, OpenImageIO dependencies (which also have a large number of dependencies). You also need to install boost-1.44 (other versions will probably do; the solution is just set for this very version).

Next, the solution expects to find libs and includes in a well behaved environment, ie your dependencies file structure should look like this

Third party tools -->
| Field3D -->
| | lib
| | include
| OpenImageIO -->
| | lib
| | include
| others -->
| | lib
| | include

which is probably the ugliest graphics ever published on this blog but you get the *cough* picture *cough*. “Third party tools” root directory can be any name of your liking but, before starting the solution itself, you need to set a THIRD_PARTY_TOOLS_HOME environment variable with this name for the solution to find PVR dependencies. A .bat file is supplied to perform these duties. Others dependencies are hdf5 and ilmbase-1.0.1 (from the OpenEXR distribution) that are subdependencies from Field3D and OpenImageIO.

Finally, you will need to copy libpvr/export to libpvr/pvr and libpvr/external/GPD-pvr/export to libpvr/external/GPD-pvr/GPD-pvr.

You are now ready to compile PVR. Happy rendering !

Rate this post:

rating: 0+x

Comments: 0