obj2pt - converts an 'obj' file to a point cloud
obj2pt [-c STRING|--color STRING] [-?|-h|--help]
obj2pt converts the vertices of the 'obj' file (Wavefront's Advanced Visualizer format) to a Points&Forces point cloud. 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 point cloud format in the manual page view_pt(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
Refer to the manual page
Written by Pierre Smars (first version: 2017)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2020 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_pt(1), obj2tri(1)