Antiprism Up Next
Home
Programs
Examples
Album
Download
Development
Forum
About

off2obj - convert an OFF file to Wavefront OBJ format

Usage    |    Examples    |    Notes

Usage



Usage: off2obj [options] [input_file]

Convert an OFF file to Wavefront OBJ file format. If input_file is not given
the program reads from standard input.
Note: OBJ does not support colored edges. Any edge colors will be lost.

Options
  -h,--help this help message (run 'off_util -H help' for general help)
  --version version information
  -m <file> generate mtl file. file name is hard coded into obj file
              file is usually the same file name with an .mtl extension
              Note: mtl file perserves face colors
  -d <dgts> number of significant digits (default 16) or if negative
            then the number of digits after the decimal point
  -o <file> write output to file (default: write to standard output)

Examples

Convert cube resource model to Wavefront OBJ format
off2obj cube > cube.obj


Notes

Wavefront OBJ is a fairly common text-based graphics format. It may be useful as an intermediate format for exporting OFF files from programs that do not support OFF.


     Next: obj2off - convert a Wavefront OBJ file to OFF format
     Up: Programs and Documentation


Home   |   Programs   |   Examples   |   Album   |   Download   |   Development   |   Forum   |   About

Contact: adrian@antiprism.com      -      Modified 27.3.2019