NAME
xthreed - Threed X widget
SYNOPSIS
/usr/games/xthreed [-display <display>] [-geometry
<geometry>] [-{foreground | fg} <color>] [-{background | bg}
<color>] [-[no]surface] [-object {int}] [-distance {int}]
[-theta {int}] [-phi {int}] [-white {color}] [-[lt|dk]gray
{color}] [-black {color}] [-another {color}]
DESCRIPTION
Press "I" or "i" keys to move block in.
Press "O" or "o" keys to move block out.
Press "S" or "s" keys to change surface.
Press "B" or "b" keys to change object.
Press "Esc" key to hide program.
"Q", "q", or "CTRL-C" keys kill program.
Use the key pad, "R" keys, or arrow keys to rotate object.
Key pad is defined for Threed as:
/ Out
8 Up
^
4<5>6 Left, In, Right
v
2 Down
I debated releasing this, since it needs some work. There
is no way for example to bank the plane and have it pointing
at you. Also I figured there was other 3D viewers out
there. Well, this one is real simple, it only uses the X
libs, so it might be useful to someone out there. If you
have any improvements to make, let me know.
In the sample data, Cubes and F16 are big, so to view them,
back away by using the KP_DIVIDE or 'o' key. Theta = Yaw,
Phi is a combination of Roll and Pitch.
OPTIONS
-display host:dpy
This option specifies the X server to contact.
-geometry {+|-}X{+|-}Y
This option sets the initial position of the threed
window (resource name "geometry").
-{foreground | fg} color
This option specifies the foreground of the threed
window (resource name "foreground").
-{background | bg} color
This option specifies the background of the threed
window (resource name "background").
-[no]surface
This option allows you to access the hidden surface
removal mode and wire mode (resource name "sur-
face").
-object <int>
This option allows you to set the object to be
viewed (resource name "object").
-distance <int>
This option allows you to set the distance of the
object to be viewed (resource name "distance").
-theta <int>
This option allows you to set the angle of the to be
viewed in degrees (resource name "thetaDegrees").
This corresponds to yaw.
-phi <int>
This option allows you to set the angle of the to be
viewed in degrees (resource name "phiDegrees").
This corresponds to a combination of roll and pitch.
-white color
This option specifies the color of the white
paintbrush (resource name "whiteBrush").
-[lt|dk]gray color
This option specifies the color of the gray the
paintbrush (resource name "[lt|dk]grayBrush").
-black color
This option specifies the color of the black of the
paintbrush (resource name "blackBrush").
-another color
This option specifies the of color of the a
paintbrush (resource name "anotherBrush").
SEE ALSO
X(1), xcubes(6), xtriangles(6), xhexagons(6), xmlink(6),
xrubik(6), xskewb(6), xdino(6), xpanex(6), xpyraminx(6),
xoct(6), xmball(6), xabacus(6)
COPYRIGHTS
(Reg.) Copyright 1995-2005, David Albert Bagley
BUG REPORTS AND PROGRAM UPDATES
Send bugs (or their reports, or fixes) to the author:
David Albert Bagley, <bagleyd@tux.org>
The latest version is currently at:
ftp://ftp.tux.org/pub/tux/bagleyd/xpuzzles