SUNCUBE(6) — User’s Manual — Games and Demos
NAME
suncube − view 3-D Sun logo
SYNOPSIS
/usr/demo/suncube
DESCRIPTION
Suncube allows the user to view a cube from various positions with hidden faces removed. The faces of the cube consist of the Sun logo. The viewing position is selected using the mouse. Using the SunCore Graphics Package, a 3-D projection is drawn on the Sun Monochrome Bitmap Display.
The program operates in two modes: DisplayObject mode and SelectView mode. The program starts in DisplayObject mode.
DisplayObject: The cube is displayed in 3-D perspective with hidden faces removed. Type "q" while in this mode to exit the program. Hit mouse button 3 to switch to SelectView mode.
SelectView: Schematic projections of the outline of the cube are shown and the mouse is used to select a viewing position. Use button 1 to set x and button 2 to set y in the Front View. Use button 2 to set z in the Top View. Hit button 3 to switch to DisplayObject mode.
The view shown in DisplayObject mode is drawn using the conventions that the viewer is always looking from the viewing position toward the center of the cube and that the positive y axis on the screen is the projection of the positive y axis in 3-D cube coordinates.
Sun System Release 0.3 — 22nd February 1983