Model Viewer Tool

SEDRIS SDK Release 4.1.0

July 26, 2006

   

  1. Synopsis
  2. Description
  3. Options
  4. Examples
  5. Sample Run
  6. Environment
  7. See Also

SYNOPSIS

model_viewer [ options ] transmittal

DESCRIPTION

model_viewer displays the 3D geometry (including colours, textures, level-of-detail, state, articulated parts, and shading) of the <Model>s and <Image>s of the given transmittal using OpenGL. Other data, such as such as <Data Tables>, features, geometry under <Environment Root>, and topology are not viewable with this program. The GLUT libraries are required to compile this application (see Build Requirements). Editing of data is not supported by this application.

Information about the images and models being loaded from the SEDRIS transmittal are printed to stdout. Once the images and models are loaded, the viewer will open the 3D-view window and proceeds to sequence through and display all of the images loaded. After all of the images have been displayed, the first root model in the model library is displayed. The window then waits for user control from the keyboard. The 3D-view window can be moved, resized, minimized, and maximized. When the 3D-view window is selected, the models and images can be selected, viewed, and controlled via keyboard and mouse commands.

The mouse controls for the viewer are as follows (LMB = Left Mouse Button):

See also Part 5, Volume 5 of the SEDRIS Documentation Set, the Model Viewer User's Guide.

OPTIONS

-nt

Don't load textures.

-nm

Don't load models.

EXAMPLES

model_viewer transmittals/test.stf

Loads all the models and textures in transmittal "test.stf".

model_viewer -nm transmittals/test.stf

Only loads the textures in transmittal "test.stf".

SAMPLE RUN

The following command (initiated in the "transmittals" directory):

model_viewer test.stf
produces the following output:
Opened SEDRIS Transmittal test.stf.
Please be patient while the textures are loaded

The Textures will be listed as they are loaded.

Now loading textures.  Please wait...
Warning - can't find an <Image Library>, turning off texture processing

There are 0 SEDRIS Images in the Transmittal.

0 textures loaded.

There are 1 SEDRIS Models in the Transmittal.
Only the names of root models will be printed as they are loaded.

model 0 = Model 1

There are 1 root models in the Transmittal

Closed SEDRIS Transmittal test.stf.

	Display Mode = Models

model (1 of 1) = Model 1 (0 levels)
Current Level of Detail index = 0
Current range  = 0.00  (model has NO LOD ranges)
and the following image:

ENVIRONMENT

See the SEDRIS SDK Runtime Environment variables.

SEE ALSO

rules_checker, syntax_checker depth, Tools And Utilities document

Copyright © 2006 SEDRIS