obj2pt

NAME

obj2pt - converts an 'obj' file to a point cloud

SYNOPSIS

obj2pt [-c STRING|--color STRING] [-?|-h|--help]

DESCRIPTION

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.

OPTIONS

-c STRING, --color STRING

Save color information in file STRING. If necessary, use see scale(1) to change the rgb format from 0-1 to 0-255

-h,--help,-?

Refer to the manual page

AUTHORS

Written by Pierre Smars (first version: 2017)

BUGS

Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.

COPYRIGHT

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.

SEE ALSO

view_pt(1), obj2tri(1)

Pierre SMARS (tools, home page)