home *** CD-ROM | disk | FTP | other *** search
-
- ~4Dgifts/toolbox/src/exampleCode README
-
- This subtree contains source code implementations we collected
- or wrote that presents the developer with very useful and
- helpful "learning-by-example" applications.
-
- `!' indicates new or updated as of version 4.2
-
-
-
- 3Dmodeling : routines (and example programs) to help build solid
- models.
-
- GLX : Mixed model programs (using GL-Xlib or GL-Motif/Xt).
- ! - texvol: performs volume rendering using 2d or 3d textures
- - plus 10 other implementions/sets of examples.
-
- MP : multi-processing/parallel computing examples:
- how to combine mips1 & mips2 objects into a single
- mips1/2 executable thru a jump table implementation,
- and a using a high resolution timer of the io3 board
- on an r4k-based SGI system.
-
- SciTex : a paper and example code describing "Texture Mapping in
- Technical, Scientific and Engineering Visualization".
-
- X : X stuff--and as big as "X" is, its a bum we don't have
- more here than we do.....:
- ! - 2 examples implementing cursors in X--one using "Font"
- and the other "Pixmap" cursors,
- ! - 2 X font examples--one working with glpyhs, the other,
- implementing scalable fonts,
- ! - xshowcmap extension, useful in debugging problems dealing
- with multiple colormaps and/or visuals,
- - Xserver contains PostScript documents on Silicon Graphics
- X server papers:
- -- "A Fully Functional Implementation of Layered Windows"
- -- "Program X Overlay Windows"
- -- "Going Beyond the MIT Sample Server: The Silicon
- Graphics X11 Server"
- -- "A Three Color Cursor for X"
- as well as accompanying sample src and a Makefile to
- build the executables.
- ! - XtAppInitwIcon: generates multi-color icons using Xt.
-
- audio : example code employing functionality in lib*audio*.a:
- ! - harmonizer: real-time audio pitch bender example program,
- ! - example programs using libmidi.a illustrate basic use
- of the MIDI library,
- ! - sonic: real time audio spatialization example w/graphics,
- - aiffdoc.ps--paper on "Audio Interchange File Format
- AIFF-C, A revision to include compressed audio data";
- - ascope--displays the left channel of data coming in
- from an audio port;
- - DAT examples: - dodat: a simple DAT command interface,
- - cdtodat: simple CD-to-DAT copying examp,
- - verifydat: simple DAT checking program;
- - reverb: simulated reverberation for real-time audio
- input and output;
- - rock--the indigo memorial barbeque theme song rapp as
- constructed and sung by mr. totally insane;
- - somePlayback--code to generate a bunch of oscillators,
- waveforms, change playback rate, mix, change pitch,
- loop audio samples and send them to the speaker; and
- - tablenet--generate a small series of waveforms and
- write them into a 16-bit AIFF file.
-
- calc : implementation of a Reverse Polish Notation calculator.
-
- cap : demonstration of a technique to "cap" a clipped
- (cut-away) solid object.
-
- csg : includes ascii-copy of a paper on and an implementation
- of constructive solid geometry.
-
- fconv : a Motif-based numeric format conversion utility for hex,
- octal and decimal equivalents.
-
- games : contains source code for different graphics/audio game
- software, including IndiZone games:
- ! - vroom: swank opengl slot car racing in the future,
- - blix: the mighty mouse hero of indizone,
- - cycles: solo || multiplayer (network) motorcycle game
- - gold: synthetic fish bowl simulation,
- - oort: vehicular combat on an asteroid,
- - sw: (Spacewar) combat in space,
- - tagh: variation on the children's game of tag,
- as well as other perennial favorites:
- - buzzwordBingo: all-time SGI hit, buzzword bingo,
- - cubetris: a 3D IRIS GL tetris game,
- - seahaven: Xlib C++ graphical solitare card playing game.
-
- i18n : examples of internationalization and localization with
- implementation of wide characters for string manipulation
- as well as XPG/3 and MNLS message cataloging. Along
- with 5.1 Irix, Motif 1.2 and X11 R5, some examples also
- require installed images of intl.sw subsystems.
-
- inventor : contains inventor documents plus source examples including:
- ! - Open Inventor prog using draggers for direct manipulation
- of a surface of revolution (includes its own run-time DSO),
- ! - Open Inventor files demo an interactive direct manipulation
- of a Track Light,
- ! - modified inventor_dev.src.sample src implements handling
- for the Spaceball input device,
- ! - sample OpenIV files demo'ing use of draggers and engines in
- "self-manipulating" examples,
- ! - html Inventor documentation files--FAQ + Known Bugs, Fixes,
- and Workarounds--from the Silicon Surf www.sgi.com site,
- - an easy-to-use 3D object-modeler rich in Open Inventor,
- - "How to Write an Open Inventor File Translator" PS doc,
- - hands-on lab + solutions for Open Inventor 2.0 + 38-page
- showcase document on the Open Inventor 3d Toolkit,
- - PostScript "Quick Reference Guide" on Open Inventor nodes
- and the Inventor file format,
- - an extension of the stock SceneViewer enabling 2 or more
- people on the same net to access the same input file
- simultaneously and immediately see each other's changes,
- - soundspheres: Open Inventor-version of a very primitive
- spacial audio program,
- - Open Inventor versions of two example "template" programs
- for a Walk Viewer and a Player,
- - Open Inventor-version of ivcalc, a full function infix
- calculator with audio, textures, (i.e. the works), etc,
- - additional Inventor 1.1.2 Nodes--Audio and Highlight--plus
- audio and Inventor Classes--Play and Record, and Inventor
- Spline,
- - DxfToIv binary+man page--convert DXF files to Inventor.
-
- irix : new tree containing irix-based/related/relative stuff:
- - collection of docs relating to compilers, [p]make, cshell,
- - sproc/semaphore source implements raising a sub-process's
- priority to circumvent preemption,
- - scripts subtree of c-shell script utilities providing,
- if nothing else, shell programming "source" -- 11 general-
- purpose, 11 rcs-specific,
- - tools dir with irix/system -level programs:
- Lastrev: get RCS revisions/symbols info & print to stdout
- chktime: compares 2 file's mod. times returning {-1|0|1}
- getopt: enhanced version of the unix system call
- gettime: get last mod. time of file and writes to stdout
- gpasswd: like passwd, sets the password for a group
- isIn: returns true/false if 1st param equal to any
- other params on command line
- listWMres: lists all resources known to window manager
- printf: better than the IRIX 5 one because it can handle
- all the standard C types
- rcstime: returns time of last RCS update in an RCS file
- strlen: shell-equivalent of strlen(3C) subroutine
- unique: returns all parameters passed on the command
- line removing any duplicates
- vacupd: reads/modifies data in vacation database files
- ! - uucpVadmin: now contains inst image as well as src for
- UUCP vadmin tool, allowing GUI set up of UUCP files and
- confirmation that communication to a modem is good.
-
- networking : contains source code for networking example programs.
- ! - "HIPPI Performance on IRIX 5.2" white paper plus two
- accompanying source programs,
- - ifaddress, prints link-level address of an Ethernet or
- FDDI interface,
- - rpcdemo, an example RPC client and server application,
- ! - short_timer, checks whether remote host responds quickly,
- avoiding long wait for a network timeout.
-
- opengl : OpenGL example progs+libs+docs including:
- ! - OpenGL Attribute Tester tests OpenGL functionality on
- different platforms, with GUI to test most changeable
- OpenGL attributes,
- ! - OpenGL Color Chooser Widget - libGLColorChooser.a,
- identical to IRIS GL version found in libSgm,
- ! - implementation of picking in OpenGL including features of
- an X overlay on top of an RGBA, double- and depth-
- buffered window,
- - three articles on "OpenGL and X", a series published in
- the "X Journal," plus 6 accompanying program examples,
- ! include updated renderboth.c program,
- - sample progs--19 new (2 implement iris-GL-type popup menu
- functionality), 4 updated, 38 total--based solely on Xlib
- for those not inclined to go the toolkits road,
- - "debugHelper" provides a way to override DSO functions to
- trace a program's OpenGL calls without recompiling,
- - sample progs based on the Motif widget, libGLw.a, plus 2
- new examps:
- - textfun: poor-man's OpenGL font manager (uses libXm.so
- only--no libGLw.a),
- - xmblur: motion blur demo,
- - dinomometer: synthetic modeling benchmark for OpenGL
- - tree of implementations of GLX extensions (2 so far)
- - nurbsTrim: makes a trimmed NURBS surface in OpenGL and
- Inventor
- - opengl motif-based interference checking demo,
- - sample programs based on libtk+Xlib,
- - on-line copy of all programs discussed in "The OpenGL
- Programming Guide," book,
- - isfast contains performance measure routines indicating if
- a given OpenGL feature is fast or not,
- - xglinfo displays information about an X server supporting
- the OpenGL extension, especially wrt visuals,
- - 3 PostScript files containing the OpenGL specification.
-
- ! smoke : Texture Mapped `smoke' special effects implementation.
-
- speech : starting to create a bonafide speech recognition subtree:
- - beta inst images of the speech_eoe & speech_dev products,
- - binary utilities to enhance one's speech run-time envm;
- - basic speech recognition example programs,
- - lackey: a speech aware application launcher, lackey was
- developed using the in-development version of SGI's speech
- recognition software. This is an introduction to using
- the speech API and the architechture of the speech
- software system.
-
- stencil : three programs implementing drawing in the stencil
- planes.
-
- stereo : contains src for software-stereo-in-a-window ala irix 5:
- - 2 simple "boilerplate" stereo implementations contained
- in 4 OpenGL/motif programs,
- - software-stereo-in-a-window or "SoftStereo" example code
- using libgl and libX11.
-
- swirl : a texture generator program for texture maps.
-
- video: : contains apps implementing functionality for digital video
- processing including:
- - file listing software configurations for video option
- products running 5.2 IRIX,
- - scrollmon: creates realtime scrolling credits (from
- either anti-aliased text or SGI rgb images) or titles
- for video production,
- - security: security camera for stopframe and motion
- detection,
- - seqgrab: VL sequential frame accurate capture source
- (Galileo/VLAN),
- ! - simpleVideo: library + examples to provide the video
- programmer with a simple programmatic interface on top of
- the video library (VL),
- - vidmap: demos live or movie video texture-mapped to a
- polygon.
-
- !!!! viewkit: : contains program source for viewkit-based applications:
- - VCal: a calendar program with alarms,
- - builderExamples: programs written using BuilderXcessory,
- - xcontact: Address Book and/or Contact Management program.
- PLUS other viewkit stuff in the toolbox:
- ~4Dgifts/toolbox/src/apps/cmapDoctor/cmapdoctor
- ~4Dgifts/toolbox/src/apps/gvi
- ~4Dgifts/toolbox/src/exampleCode/opengl/oat
- ~4Dgifts/toolbox/src/exampleCode/video/security
- ~4Dgifts/toolbox/src/exampleCode/irix/uucpVadmin
- ~4Dgifts/toolbox/utilities/uil2VK
-