This is a program to read a geometrical object description file into an OpenInventor ExaminerViewer. objView supports Wavefront '.OBJ' and ("Stereolithography") '.STL' object files as well as OpenInventor on input.
The SoXtExaminerViewer allows the user to interactively zoom and tumble the object under control of the mouse. The user may also change the style of rendering of the displayed object(s).
The infile.[iv|obj|stl] is assumed to be either an Open Inventor, '.STL' or Wavefront '.OBJ' geometrical object description file.
The default operation is to load all files named on the command-line under an Open Inventor SoSeparator (Group) node, such that all objects will be viewed simultaneously.
The -s option treats the input files as objects to be viewed sequentially. They are loaded under an Open Inventor SoSwitch (Group) node, such that only one object will be viewable at one time. The objects may be viewed in sequence via the Save Image Sequence... menuItem in the user interface (below).
New removes all object geometry from the scene graph.
Open File... Launches a FileSelection Dialog, through which the user can Add the geometrical contents of a file to the displayed scene graph.
Input files are gathered under a root-level OpenInventor SoSeparator (Group) node.
Open Sequence... Launches a FileSelection Dialog. The selected file is treated as a file name pattern of the form: prefix<delimiter><frame_number>.suffix representing an object file sequence. suffix must be 'iv', 'obj' or 'stl'. The geometry from each file is loaded under an OpenInventor SoSwitch (Group) node. delimiter may be either '.' or '-'. suffix must be preceded with '.'.
Save Image... Launches a FileSelection Dialog through which the user may save the current viewer into an SGI/RGB format image file.
Save Image Sequence... is a way to create an animated clip of OpenInventor hardware renderings of the sequence of object files which have been loaded. Save Image Sequence... Launches a FileSelection Dialog. The selected file is treated as a file name pattern of the form: prefix<delimiter><frame_number>.suffix representing an image file sequence. suffix must be 'sgi' or 'rgb'.
The program steps through each group, read in via the command-line -s or Open Sequence..., (above), rendering an image of the geometry to the viewer and dumping the viewer to a uniquely-named SGI/RGB format image file.
Save Geom... Launches a FileSelection Dialog through which the user may save the contents of the current scene graph to an OpenInventor geometry file. This file will contain a concatenation of all files which have been loaded in.
Quit exits the application.
The Save Image... option does a screen-dump of the current viewer. Any X windows partially covering the objView window will corrupt the output images. (See also snapshot(1) and scrsave(1))