SYNOPSIS
ctmconv infile outfile [options]DESCRIPTION
ctmconv is a 3D file converter that can convert 3D model files to and from several different formats.The file infile is loaded, and then saved as outfile in the target file format.
The input and output file formats are determined from the file endings.
OPTIONS
The following options are available:- --scale arg
- Scale the mesh by a scalar factor.
- --upaxis arg
- Set up axis (X, Y, Z, -X, -Y, -Z). If != Z, the mesh will be flipped.
- --flip
- Flip triangle orientation.
- --calc-normals
- If the source file does not contain any normals, calculate them.
- --no-normals
- Do not export normals.
- --no-texcoords
- Do not export texture coordinates.
- --no-colors
- Do not export vertex colors.
- --comment arg
- Set the file comment (default is to use the comment from the input file, if any).
- --texfile arg
- Set the texture file name reference for the texture (default is to use the texture file name reference from the input file, if any).
When exporting an OpenCTM file, the following options are also available:
- --method arg
- Select compression method (RAW, MG1, MG2).
- --level arg
- Set the compression level (0 - 9).
- --vprec arg
- Set vertex precision (only for MG2).
- --vprecrel arg
- Set vertex precision, relative method (only for MG2).
- --nprec arg
- Set normal precision (only for MG2).
- --tprec arg
- Set texture map precision (only for MG2).
- --cprec arg
- Set color precision (only for MG2).