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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s