Below you will find information related to the installation of the DIVERSE interface to OpenGL (DGL). DGL also includes support for Coin3D, OpenSceneGraph, and VTK. All dependencies must be installed prior to building this package. It is safe to disregard the optional dependencies if you do not already have them installed though the functionality will be unavailable.
The dependencies for DGL include OpenThreads and Producer both of which can be obtained separately or together with OpenSceneGraph. We recommend downloading the combined source code package from the OpenSceneGraph download page. This file is normally named OSG_OP_OT-x.x.zip.
The DIVERSE Toolkit (DTK) should be installed prior to building DPF.
To install OpenThreads, simply unzip the file, cd into it's directory, and then:
cd OpenThreads make make install
For 32 bit support under 64 bit Linux: Unfortunately the developers did not provide an easy means of building 32 bit code on an x86_64 machine. It requires minor modifications to the Make/makedefs file in each of the OpenThreads, Producer, and OpenSceneGraph directories.
To install Producer, simply unzip the file, cd into it's directory, and then:
cd Producer make make install
For 32 bit support under 64 bit Linux: Unfortunately the developers did not provide an easy means of building 32 bit code on an x86_64 machine. It requires minor modifications to the Make/makedefs file in each of the OpenThreads, Producer, and OpenSceneGraph directories.
To install OpenSceneGraph, simply unzip the file, cd into it's directory, and then:
cd Producer make make install
For 32 bit support under 64 bit Linux: Unfortunately the developers did not provide an easy means of building 32 bit code on an x86_64 machine. It requires minor modifications to the Make/makedefs file in each of the OpenThreads, Producer, and OpenSceneGraph directories.
Coin3D provides a scenegraph which supports VRML97 and OpenInventor files. It can be downloaded from the Coin3D website. There are additional packages such as simage, dime, and profit which provide additional functionality used in conjunction with Coin3D. These are also available from the same website.
To install Coin3D, simply untar the file, cd into it's directory, and then:
./configure --enable-3ds-import make make installFor 32 bit support under 64 bit Linux:
./configure CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 --enable-3ds-import --x-libraries=/usr/X11R6/lib make make install
VTK (Visualization Toolkit) provides an extensive set of 2D and 3D algorithms. It can be downloaded from
The installation of VTK requires the use of cmake which can be downloaded from the CMake website. To install cmake, cd to /usr/local and as root untar the binary archive.
To install VTK, simply untar the file, cd into it's directory, and then:
cmake -i make installFor 32 bit support under 64 bit Linux:
CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 linux32 cmake -i make install
The latest version of DGL can be downloaded from SourceForge.
To install DGL, simply untar the file, cd into it's directory, and then:
./configure --with-coin --with-osg --with-vtk --prefix=/usr/local/diverse/dgl-2.4.3 make make install ln -s /usr/local/diverse/dgl-2.4.3 /usr/local/diverse/dglFor 32 bit support under 64 bit Linux:
./configure --enable-32bit --with-coin --with-osg --with-vtk --prefix=/usr/local/diverse/dgl-2.4.3 make make install ln -s /usr/local/diverse/dgl-2.4.3 /usr/local/diverse/dgl