.TH repros2visu 1 "1 Oct 1993" .SH NAME repros2visu \- convert repros surface output to several formats .SH SYNOPSIS .B repros2visu .I \fItriangle_file\fR .I \fIcnt_file\fR.new .I \fIoutput_file\fR [\|\fB\-obj\fR\|] [\|\fB\-off\fR\|] [\|\fB\-dxf\fR\|] [\|\fB\-act\fR\|] [\|\fB\-vera\fR\|] [\|\fB\-idx\fR\|] [\|\fB\-h\fR\|] [\|\fB\-r\fR \fInb\fR\|] [\|\fB\-n\fR \fInb\fR\|] [\|\fB\-t \fIstring\fR\|] [\|\fB\-o \fIobject_name\fR\|] [\|\fB\-max_vertex\fR \fInb\fR\|] [\|\fB\-max_facett\fR \fInb\fR\|] .SH DESCRIPTION .PP .I repros2visu is a program that reads repros surface output data, removes superfluous triangles and interpolates normals for Gouraud shading. .SH OPTIONS .PP .IP "\fB\fItriangle_file\fR" 14 triangle output of \fIrepros(1)\fR. .IP "\fB\fIcnt_file\fR.new" new contour file modified by \fIrepros(1)\fR. .IP "\fB\fIoutput_file\fR" list of triangles and normals. .IP "\fB\-h\fR" remove all horizontal triangles .IP "\fB\-r\fR \fInb\fR" remove all horizontal triangles in cross-section number \fInb\fR. .IP "\fB\-n \fInb\fR" do not interpolate normals at cross-section number \fInb\fR. .IP "\fB\-t \fIstring\fR" insert \fIstring\fR as header in \fIoutput_file\fR. .IP "\fB\-obj\fR" write output in wavefront .obj format (default). .IP "\fB\-off\fR" write output in OFF format. .IP "\fB\-dxf\fR" write output in autocad DXF format. .IP "\fB\-idx\fR" write output in index format. In the first line is the number of slices, indicated by the letter S. The number of slices is equal to the number of cross-sections-1. For each cross-section we have a vertex block, and for each slice we have a triangle block. A vertex block starts with the letter V, then follows the number of vertices, and information about the plane the vertices are lying on. V 23 z 10.000 indicates a Vertex block with 23 vertices, all lying in the plane z=10.0. A triangle block is indicated by the letter T, followed by the number of triangles. A vertex line contains two coordinates and three floating values representing the interpolated normal of that vertex. A triangle line contains three indices in the vertex list. Vertex indices start at 0. .IP "\fB\-vera\fR" write output in vera format. list of triangles and normals. A triangle is represented by p1x p1y p1z p2x p2y p2z p3x p3y p3z n1x n1y n1z n2x n2y n2z n3x n3y n3z with pix piy piz the coordinates of vertex i and nix niy niz the interpolated normal of vertex i (i = 1..3). .IP "\fB\-act\fR" write output in act format. .IP "\fB\-o \fIobject_name\fR" set group name in obj format to \fIobject_name\fR. Default is "object". set object name in act format to \fIobject_name\fR. Default is "object". .IP "\fB\-max_vertex\fR \fInb\fR" Set maxnumber of vertices per cross-section to \fInb\fR. Default is 10000. .IP "\fB\-max_facett\fR \fInb\fR" Set maxnumber of triangles per slice to \fInb\fR. Default is 4*(max_vertex-1). .SH BUGS option -n does not work with first and last cross-section for obj and index format output. .SH SEE ALSO repros(1), prepros(1), repros2tetra(1), nuages(1) .SH AUTHOR Bernhard Geiger Copyright (C) 1993 by INRIA Sophia Antipolis Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and non-profit purposes without fee is hereby granted, provided that the above copyright notice and the original authors name appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.