osgvolume

Installing Present3D on OSX

Page still in process of being written.. still..

Installing from Binary :

At this time (Dec 2010), there isn't an up to date binary available, but as soon as there is, it will be available for download from here.

Building from Source :

Present3D is now part of the OpenSceneGraph source so a download of the code from the SVN repository will get the most up to date code, but before you do that you need to make sure you already have the following :

1)  Developer Tools :

If installed you will have a folder called Developer which has Xcode 3.x.x application, if not then you can either install from your system disk or download from the Apple site.

2) Cmake :

The OSG currently uses Cmake to generate either make  files or an Xcode project depending on your preference.

Cmake can be downloaded from here : http://www.cmake.org/cmake/resources/software.html

You want the Mac OSX Unversal .dmg

Present3D : Working with Volumes

How to: Include Volume Rendering in P3D

Volumes can be created from many different types of data, usually by recombining images that have been taken at set intervals through a 3D object, either by using a scanning technology like CT, MRI etc; or by physically slicing an object up and imaging each slice as in the Visible Human project. But there is no reason why it should be limited to this, anything from a series of frames of a movie, to images created in photoshop, could be used to create a volume.

  • Creating Volumes from DICOM Files.
  • Including Volumes in P3D
  • Including Volumes created from an Image Series (.jpg, png, .tif)
  • Including Volumes created from a Movie file

 

Using Volumes in Present3D

Some data types can be loaded directly using the <volume> tag, while others can be preprocessed using OsgVolume and then either loaded using the <volume> or <model> tags depending on how the data has been saved. More on this later. 

How to : Use OsgVolume with Volumetric Data

 

Viewing a volume using OsgVolume

 

There are currently two methods of building volumes for use in Present3D or directly in OsgVolume.

These methods are determined by the source data.  If you have dicom files (.dcm) then follow the Dicom method, if you have .jpg, .tiff etc then use the Non-Dicom method. Both can be saved as .osg or .ive files and then loaded in Present3D.

So why would you use OsgVolume rather than Present3D?

  1. It can be very helpful to preview a volume before including it in your Present3D xml file
  2. If a volume isn't loading in Present3D using OsgVolume will test that it is a valid volume file.
  3. To preprocess your volumes. For example, to create volumes from non-dicom files and save as a .ive file, so that it will load faster.

For information on including volumes in Present3D go here.