Demonstrates surface wrapping of pixmaps by wrapping a picture or
Susanna Rubens around a 3-dimensional ball.
The demo prompts your for a mode to be used and several details. Just
follow the instructions on the screen and make your selections.
Once the program runs you can use the following keys:
<Q> and <A> , <Z> and <X> , <O> and <P>
to rotate the plane around the space axes.
<T> and <V> , <F> and <G> , <W> and <S>
to move up, down, north, south, east, west. (world view only)
<Space>
to toggle rendering vs. wire frame.
<W> and <S>
to scale in non-world view compilation -- see plane.h
<1> and <2>
to change rotation increment.
<3> through <9>
to change surface density.
<R>
to change shading method.
<C>
<I>
to reset the rotation to the startup values.
This demo is part of svgalib and can be found in the
threeDkit/
subdirectory of the original svgalib distribution. However, it is not installed in the system
by default, s.t. it is unclear where you can find it if your svgalib was installed by some
linux distribution. Even then, when you have the demo on your system, you probably won't have
the sources s.t. it is only of limited use for you.
In case of any such problem, simply get an svgalib distribution from the net. You even
don't need to install it. Just
make
in the
threeDkit/
subdirectory. As of this writing,
svgalib-1.2.12.tar.gz
is the latest version and can be retrieved by ftp from
sunsite.unc.edu at /pub/Linux/libs/graphics
and
tsx-11.mit.edu at /pub/linux/sources/libs
which will most probably be mirrored by a site close to you.