Bin/dm demo

From Manta

Table of contents

Introduction

The bin/dm_demo program was created before the SGI 2005 Siggraph Demo. Originally the gui front-end was designed to provide more sophisticated camera interaction then the XWindowUI trackball code used by bin/manta. The program supports three camera interaction modes, allows a small subset of image traversers, pixel samples, and camera models to be choosen from menus. The demo also supports adding a clipping plane to the scene graph. Recently sub-mesh picking and removal, kdtree exploration, as well as stereo support and camera path creation have been added.

Usage

Building

Enable the BUILD_FOX ccmake make option. Note that currently all of the fox code is statically linked.

Basic Options

bin/dm_demo supports the following command line options in the same form as bin/manta:

-np -scene -stereo -camera

If -camera auto is specified a pinhole camera will be automatically placed in the scene.

-bookmarks

One new option is -bookmarks file.txt this is used to specify a camera bookmark file. The bookmark file is a simple text file contain entries consisting of a description line followed by a camera specification. Note that it is necessary to use separate bookmark files for different camera types. If you select a normal camera bookmark while rendering in stereo both eyes will end up producting the same image.

Example Invocation

User Interface

Overview

Before Super Computing 2005 the control speed and clipping plane sliders were moved to the bottom of the display frame to provide a more unified look between bin/dm_demo and bin/sc_demo the Media Fusion Manta frontend.

Path Recorder

The bin/dm_demo program contains a GUI for recording and playing back camera paths. The interface is accessed under the Camera menu. Details are available camera path automator.

kd-tree Options

Several GUI options in bin/dm_demo are available on when a kdtree is placed at the top of the scene graph. The -scene command line option will allow any scene to be loaded.

Transparency


kd-tree Explorer