model_viewer [ options ] transmittal
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):
- LMB: drag to rotate model
- LMB + Shift key: move up/down to zoom out/in
- LMB + Control key: drag to translate model parallel to the view
- LMB + Alt key: move left/right to tilt model to the left/right
See also Part 5, Volume 5 of the SEDRIS Documentation Set, the Model Viewer User's Guide.
- -nt
Don't load textures.
- -nm
Don't load models.
- 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".
The following command (initiated in the "transmittals" directory):
produces the following output:model_viewer test.stfand the following image: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)
See the SEDRIS SDK Runtime Environment variables.
rules_checker, syntax_checker depth, Tools And Utilities document
Copyright © 2006 SEDRIS