sfview

NAME
SYNOPSIS
DESCRIPTION
AUTHOR

NAME

sfview − surface file viewer

SYNOPSIS

sfview [OPTION]... FILE [FILE]...

DESCRIPTION

Loads the file(s) designated in the command line, displaying their contents in one common window. It recognizes the PTS and RBN file formats.

−g, −−geometry=WIDTHxHEIGHT

Geometry of the window at startup. 800x600 by default.

−h, −−help

Print help information and exit.

−q, −−quads=NUMBER

Maximum number of quads in low-density mode. 2500 by default.

−t, −−texture−size=WIDTHxHEIGHT

Texture size of the curvature maps for B-Spline surfaces. 256x256 by default.

−v, −−version

Print version information and exit.

The view can be manipulated by dragging the mouse (LMB: rotation, RMB: zoom, MMB: pan). There are also several keyboard commands for changing the view of one surface. All of them can be prepended by the number of the surface (1-9), otherwise they work on the last used surface. A ‘!’ prefix adds 10 to the surface number, so e.g. surface 23 can be selected by ‘!!3’. Setting the active surface to ‘0’ means that the following command(s) act on every surface - which is the default when the program starts up. The commands that only apply to B-Spline surfaces or quadrilateral meshes are marked with [B] and [Q], respectively.

c

Cycles the control net between the modes: None, Lines, Lines&Points, Borders [B].

g

Changes the visualization of the surface to Gauss map.

h

Shows/hides the surface.

i

Changes the visualization of the surface to isophote map.

k

Changes the visualization of the surface to contour-style multicolor slicing map.

l

Changes the visualization of the surface to slicing map.

m

Changes the visualization of the surface to mean map.

n

Changes the visualization of the surface to no map (only shading).

p

Changes the visualization of the surface to points [Q].

r

Reloads the surface.

w

Changes the visualization of the surface to wireframe [Q].

y

Calculates the high-quality textures for the gauss and mean maps [B]. The texture size can be set with the −t option. The size of low-quality textures is 64x64.

+

Increases the density of the surface’s isophote/slicing lines.

-

Decreases the density of the surface’s isophote/slicing lines.

Other useful commands:

d

Toggles high-density view. The surfaces are always displayed in low-density while moving.

s

Saves the actual view to a file named sfview-<pid>-<#>.png.

q

Quits the program.

AUTHOR

Peter Salvi <vukung@yahoo.com>