DEBUG Record

Installing VTK with Offscreen Rendering for Python 2.7

First you must know and install your GPU proprietary driver, the default Nouvea driver would not work for GPU volume rendering. For Ubuntu machine with nVidia GPU, you can install the driver from either the Additional Driver gui that comes with Ubuntu or use the command:

# sudo apt-get install nvidia-[version]

Find the libGL.so of your new driver by:

# ldd /usr/bin/glxinfo

For VTK-6.3.0, configure the cmake variables as follow:

OPENGL_LIB
VTK_USEOFFSCREEN
VTK_WRAP_PYTHON

Advertisements