Joined: 11 Apr 2005
|Posted: Sun Apr 22, 2007 8:24 pm Post subject: (31) What the command arguements are Supported by osgconv
|Q: What the command arguements are Supported by osgconv
A: For a full list of command line options supported type:( see http://www.openscenegraph.org/index.php?page=UserGuides.Osgconv as well )
Which will print out out the following:
osgconv [options] infile1 [infile2 ...] outfile
Enable the usage of compressed textures.
Enable the usage of OpenGL ARB compressed textures
Enable the usage of S3TC DXT1 compressed textures
Enable the usage of S3TC DXT3 compressed textures
Enable the usage of S3TC DXT5 compressed textures
load plugin of name libraryName i.e. -l osgdb_pfb
Useful for loading reader/writers which can load other file formats in addition to its extension.
load reader/wrter plugin for file extension i.e. -e pfb
Useful short hand for specifying full library name as done with -l above, as it automatically expands to the full library name appropriate for each platform.
Convert geometry from input files to output files.
Format of orientation argument must be the following:
where X1,Y1,Z1 represent the UP vector in the input files and X2,Y2,Z2 represent the UP vector of the output file, or degrees is the rotation angle in degrees around axis (A0,A1,A2). For example, to convert a model built in a Y-Up coordinate system to a model with a Z-up
coordinate system, the argument may look like
Convert spatial position of output files. Format of translation argument must be the following :
where X, Y, and Z represent the coordinates of the absolute position in world space
- Scale size of model. Scale argument must be the following :
where SX, SY, and SZ represent the scale factors. Caution: Scaling will be done in destination orientation