obj2tri - converts an 'obj' file to a triangle mesh
obj2tri [-c STRING|--color STRING] [-p INT|--precision INT] [-?|-h|--help]
obj2tri converts the triangles of the 'obj' file (Wavefront's Advanced Visualizer format) to a Points&Forces triangle mesh. It takes its input from the standard input and returns the result to the standard output. The obj format specification can be found at http://en.wikipedia.org/wiki/Wavefront_.obj_file and the triangle mesh format in the manual page view_tri(1). Option -c allows to extract the color information of the obj file.
Save color information in file STRING. If necessary, use see scale(1) to change the rgb format from 0-1 to 0-255.
number of decimals (default: 6)
Refer to the manual page
Written by Pierre Smars (first version: 2010)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2023 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
view_tri(1), obj2pt(1)