dxfsphere1
Generate a triangle mesh approximating a sphere by recursive subdivision in .dxf format using libdime
Usage
dxfsphere [-c]
[-t]
[-i]
[-o
outfile]
level
Overview
This manual page documents briefly the dxfsphere command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.
dxfsphere is a program that
generate a triangle mesh approximating a sphere by
recursive subdivision. First approximation is an platonic
solid; each level of refinement increases the number of
triangles by a factor of 4.
Level 3 (128 triangles for an octahedron) is a good tradeoff if
gouraud shading is used to render the database.
Options
level-
level is an integer >= 1 setting the recursion level (default 1).
-c,-
causes triangles to be generated with vertices in counterclockwise
order as viewed from the outside in a RHS coordinate system.
The default is clockwise order.
-t,-
starts with a tetrahedron instead of an octahedron
-i,-
starts with a icosahedron instead of an octahedron
-o,-
outfile (default is stdout)
-h,-
Show useage.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 1 time.