OBJTOIV(1) OBJTOIV(1)
ObjToIv - convert a Wavefront .obj file to Open Inventor 2.0 format
ObjToIv [-h] [-g] [-m] [-n]
[-v] [-q] <infile> <outfile>
ObjToIv converts 3D model files in Wavefront .obj format (versions 3.0
and 4.0) into Open Inventor 2.0 files. The program converts ASCII files
in .obj format, .pv files are not handled. NURB and cardinal surface,
polygons, groups, textures are converted into equivalent Open Inventor
objects. For textures, convert the bitmap texture image to an SGI .rgb
file. Place it in the same directory as the .obj file. Use the function
fromrla to convert .rla files into .rgb files. For materials, either the
materials (.mtl) file must be referenced within the .obj file, or the
WF_MTL_LIB environment variable must be set to the file that has defines
the materials referenced in the .obj file. If no -g flag is given the
translator will take all the entities in the .obj file and group them
under one Open Inventor separator node. Copyright (c) Abaco Systems,
Inc. 1995.
Command Line Options
Typically, ObjToIv expects a Wavefront .obj file to be specified on the
command line after all command option switches. If no .obj file is
specified on the command line, ObjToIv will read from standard input
(stdin). By default, ObjToIv writes the converted data to standard
output (stdout) and messages to standard error (stderr).
-h Prints a program usage message to standard error (stderr).
-g Separate the contents of the .obj file by groups. The default
is to separate by groups and materials.
-m Separate the contents of the .obj file by materials. The
default is to separate by groups and materials.
-n Perform no separation the contents of the .obj file. The
default is to separate by groups and materials.
-v Turn on verbose output. Verbose output is off by default.
-q Turn on quiet mode. Quiet mode is off by default. When in
quiet mode, no output is written to stderr, including the
copyright notice.
Page 1
OBJTOIV(1) OBJTOIV(1)
<infile> Specifies the name of the file to read and convert to Open
Inventor. If no file is specified, the program will be read
from standard input (stdin).
<outfile> Specifies the name of the Open Inventor file to use for output.
If no file is specified, the program will output to standard
out (stdout).
/usr/Inventor/bin/ObjToIv Program file
Wavefront is a trademark of Wavefront Inc., Open Inventor is a trademark
of Silicon Graphics Inc.
ObjToIv is a Copyright (c) of Abaco Systems Inc., 1995 Abaco Systems Inc.
35468 Purcell Place, Fremont, CA 94536 - Tel. 510 494 0690 - Fax. 510 494
0893 e-mail: 3dsoftware@abaco.com
AliasToIv, DxfToIv, SlaToIv, SoftimageToIv and IvToRib.
PPPPaaaaggggeeee 2222 [ Back ]
|