Up
Next
antiview - interactive OFF file viewer
antiview [options] input_files
Display OFF files in an interactive viewer.
- input_files
- input files in OFF format, or if not given the program reads from standard input
- -h
- program help
- -v <rad>
- radius of vertex spheres, or 'b' to have radius of balls
in the first file of the maximum size without overlap (default:
ball_rad/12)
- -e <rad>
- radius of edge cylinders (default: vertex_rad/1.5)
- -E <col>
- colour for edges, in form "r_val,g_val,b_val", or
'f' to use face colour for edges
- -x <elems>
- hide elements. The element string can include v, e and f
to hide, respectively, vertices, edges and faces
- -w <width>
- width of sphere containing points (default: calculated)
- -I <dist>
- maximum distance from origin for viewable points (default: ignored)
Viewing Options
- -D <dist>
- distance to camera
- -C <cent>
- centre of points, in form "x_val,y_val,z_val" (default: calculated)
- -L <look>
- point to look at, in form "x_val,y_val,z_val" (default: points centre)
- -R <rot>
- rotate about axes through centre of points, in
form "x_val,y_val,z_val" (degrees)
- -B <col>
- background colour, a POV colour vector in form
"r_val,g_val,b_val" with values ranging 0 to 1
There are four main viewing control modes - rotation (default), drag,
zoom, slice. Select a different mode with the following
keys, or right-click on the window and select from the menu
Click and drag on the window with the mouse to move the model,
or use the arrow keys. The zoom and slice are controlled by
forward and backward dragging, or the up and down arrow keys.
Menu Items
- R - Rotate
- turn the model about its centre
- D - Drag
- drag the model around the screen
- Z - Zoom
- Zoom in or out
- S - Slice
- Slice into the model. There is a slicing plane just in front
of the screen which can be moved forward and backwards. It
may take a couple of forward drags with the mouse (or hold
down the the up-arrow key for a few seconds) until this
plane reaches the model and starts slicing into it.
- V - Show/Hide Vertices
- Toggle display of vertex spheres
- E - Show/Hide Edges
- Toggle display of edge rods
- F - Show/Hide Faces
- Toggle display of faces
- Q - Quit
-
Other Keys
- J - Increase Vertex and Edge Size
- j - Decrease Vertex and Edge Size
- K - Increase Vertex Size
- k - Decrease Vertex Size
- L - Increase Edge Size
- l - Decrease Edge Size
Display some polyhedra
antiview poly1.off poly2.off poly3.off
Colour a polyhedron by polygon type and display it
unipoly truncated cubo | off_color -f N -s 60| antiview
Display a ball pack as balls
packer 0.2 | antiview -v b
Draw an icosahedron without its faces
unipoly icosahedron | antiview -x f
Display a proper coloured icosahedron without its vertex or edge elements
unipoly icosahedron | off_color -f P | antiview -x ve
Display an icosahedron with thin vertex and edge elements
unipoly icosahedron | antiview -v 0.01 -e 0.008
Display an icosahedron-based weave, excluding faces, and showing the
edges in the face colour
unipoly icosahedron | poly_weave | off_color -f U | antiview -v 0.1 -E f -x f
Vertices coinciding, or very close together, may cause no elements
to be drawn for the vertices or edges if default sizes are used.
Instead, a value can be set with -v or -e.
Use -v b to draw ball packs.
Up:
Programs and Documentation
Next:
off2pov - converts an OFF file to POV format
Antiprism Documentation 17.11.2006 -
http://www.antiprism.com/