|
Usage: m2off [options] [input_file] Convert files in 'm' format, used by LiveGraphics3D, to OFF format. 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 -l <lim> minimum distance for unique vertex locations as negative exponent (default: 12 giving 1e-12) -o <file> write output to file (default: write to standard output) Scene Options -x <elms> hide elements. The element string can include v, e and f to hide, respectively, vertices, edges and faces -b use back face colors instead of front ones, if available -v turn model to LiveGraphics3D viewpoint -C <file> dump color lights into OFF file
m2off snub_dod.m > snub_dod.off
m2off -C color.off snub_dod.m | off_color -f L -l color.off | antiview
If faces in the .m file are displayed using LiveGraphics3D lighting it is possible that they may not also have particular colors assigned to them. In this case the color used in the OFF file will be inherited from another element. It is likely that this will not be what is wanted, in which case the faces can be recolored using off_color.
Up:
Programs and Documentation
Next:
off2m - Convert an OFF file to LiveGraphics3D 'm' format