Antiprism Up Next
Home
Programs
Examples
Album
Download
Development
Forum
About

obj2off - convert a Wavefront OBJ file to OFF format

Usage    |    Examples    |    Notes

Usage



Usage: obj2off [options] [input_file]

Convert files in OBJ format to OFF format. Only v, e and l statements are
used. Face colors are take from diffuse coloring (Kd) in the mtl file. OBJ does
not support edge colors. If input_file is not given the program reads from
standard input.

Options
  -h,--help this help message (run 'off_util -H help' for general help)
  --version version information
  -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 a Wavefront OBJ file to OFF format
obj2off cube.obj > cube.off


Notes

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


     Next: off2crds - convert an OFF file to a coordinate file
     Up: Programs and Documentation


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

Contact: adrian@antiprism.com      -      Modified 27.3.2019