Ubuntu scene3D installation

From VISTA LAB WIKI

Jump to: navigation, search

The Ubuntu 10.10 installation for ISET-Depth was managed mainly using the debbian apt-get process and SVN. On most systems you need sudo access to install programs.

To use apt-get for the neuro debbian mechanism, you should sync with the proper repository. The instructions on how to synch with the repository are on this page. It requires three or four clicks. The general command to update packages is

sudo apt-get update

After a package is installed, you can learn more about it using the dpkg command. For example, to learn more about openEXR type

dpkg -s openexr

Here is a general 'cheat sheet' for linux-debbian-package management.

Contents

[edit] PBRT

We did not find an apt-get for pbrt, which is surprising. We downloaded it from the pbrt web-site, unzipped the bz2 file with bunzip2, changed into the src directory and typed 'make'.

The make command ran for a while, but it didn't complete because of a problem finding an include file, ImfInputFile.h. To fix this I had to install the openexr development package (libopenexr-dev) using the synaptics package manager (or I suppose apt-get would work, too).

It ran some more and then stopped because of an error at link time, not finding a library called -lfl. This turned out to be the flex library. So I used the synaptics package managerc to load the 'flex' (fast lexical analyzer) package solved that problem. It compiled and ran.

I also downloaded openexr-viewers which brought me exrdisplay, a utility for loading and managing exr images. PBRT has a utility for converting these to tiff, as well (exrtotiff).

In summary, it worked, but only after

 Installing the openexr developer's package
 Installing flex package

[edit] Radiance

Radiance is a ray trace algorithm that is widely used in industry and academia. A simple apt-get call brings it into Ubuntu 10.10.

sudo apt-get install radiance

[edit] openEXR

OpenEXR is OpenEXR is a high dynamic-range (HDR) image file format. The essential libraries must be installed for to work with the Rendertoolbox.

This works in Linux/Debbian systems, like Ubuntu 10.10, via apt-get.

sudo apt-get install openexr

Notice (above) that for PBRT you also need libopenexr-dev.

[edit] Psychtoolbox-3

Psychtoolbox-3 is supported by the NeuroDebbian project.

You can install psychtoolbox-3 using

sudo apt-get install psychtoolbox-3-common

The default, by the way, is the octave version rather than the Matlab version.

[edit] RenderToolbox and SimToolbox

On Ubuntu, we did this

sudo svn co https://platypus.psych.upenn.edu/repos/rendertoolbox/trunk /usr/share/RenderToolbox
sudo svn co https://platypus.psych.upenn.edu/repos/simtoolbox/trunk /usr/share/SimToolbox

This svn checkouts took a fairly long time at home. I think it is the large data (.obj) files. RenderToolbox downloaded 352MB onto our system and SimToolbox downloaded 990MB. Perhaps we should separate the large data files from the code in these archives? Or the large examples could be in a separate repository, and only some small examples in the main repository?

[edit] ISET

See the ISET page for installation instructions.

[edit] Maya

The Maya installation instructions on Ubuntu seem really annoying.

So, we are only running Maya on Windows for now. Maybe the might apt-get people will make Maya installs easier soon.

Apparently, there is a method for doing this with Fedora's RPM method.

In general,

Personal tools