| Project | Description | ||
|---|---|---|---|
| HTML Sheet 17 KB HTML file | This is an HTML file with an overview of the most frequently used HTML commands. | ||
| Video Formats 5 KB HTML file | This is an overview of some well known video formats. | ||
| Metric Conversion 4 KB HTML file | Here are a few conversion tables for the conversion from and to the metric system. | ||
| Java Applet | Check out my first Java applet: a simple Pong type single player game. | ||
| Stopwatch 3 KB ZIP file | A stop watch is not a difficult task to code. It's a bit more difficult to do it system independently. Here is one way to accomplish this, source code is provided. The watch has the following functions: start(), stop(), reset(), and getTime(). It measures wall clock time. | ||
| Source Code Header 77 KB ZIP file | This program loads all files that match a wildcard string and exchanges all comment lines until the first non-comment with text from another file. The binary file, the source code, and an example are included. | ||
| Tokenizer 7 KB ZIP file | This source code provides a stream tokenizer for C++. It splits up an ASCII file into its constituents like words and numbers. The syntax resembles the Java StreamTokenizer. | ||
| VecMath 13 KB ZIP file | Ever looked for a fast and reliable vector math library on the web? Here is one! It is in daily use and therefore it should be almost error free. It provides classes for 3- and 4-component vectors and 3x3 or 4x4 matrix operations (add, scale, dot and cross product, multiply, invert, and a lot more). | ||
| Singly Linked List 4 KB ZIP file | There are a number of freely available linked list source codes out there. I think this one is grown up enough to cope with them. It is written in C++, is based on templates, and provides all the typical functions of a singly linked list. | ||
| JNI Example 1 2 KB TAR.GZ file | You have just started to mess around with the Java Native Interface, and you already hate it? You suspect the UNIX machine you are working on to be the reason why nothing works? All example codes you find only give you half the truth? Then it is time for you to check out this Hello World example code, which is ready-to-go for SGI IRIX. | ||
| JNI Example 2 3 KB TAR.GZ file | Now that you are no beginner using the JNI any more you can go ahead and take a look at parameter passing and callback functions with the JNI. To do that, download this JNI example file for SGI IRIX and Java 2. | ||
| Cube 60 KB TAR.GZ file | I wish I had this source code when I began to write OpenGL programs. It displays a shaded cube, which can be rotated with the left mouse button, and you can zoom in and out with the right button. Here's an example screenshot of the output:
![]() | ||
| JavaGL-Motif 22 KB TAR.GZ file | Are you planning to create a C++ controlled OpenGL canvas within a Java application? This is not a trivial task, especially if you need fast input event processing. You might want to take a look at this example file, which is designed for IRIX machines with Java 1.1.6 and Swing 1.1.1. It creates a Motif canvas for the OpenGL and provides very fast event handling using direct Xt event callbacks. The program was inspired by a Java example program in the SGI Java distribution. Unfortunately the example didn't include any event handling at all.
| ||
| JavaGL 1.1 29 KB ZIP file |
If you don't need fast-as-light event handling, but would rather like to be platform independent between Windows and Unix, this version of JavaGL is be the better choice. All OpenGL canvas events are generated by Java and have to be passed to the native C++ routines if desired. The downloadable file contains compilable versions for Visual C and IRIX.
| ||
| JavaGL 1.2 16 KB ZIP file |
This is yet another version of JavaGL. It requires Java 1.2 (or later) because it uses the native canvas routines introduced with that version. So if you have Java 1.2 or later, you will probably want to use this version of JavaGL instead of the above two, because it provides the most portable and clean implementation. The OpenGL canvas was programmed as a class from which you derive your own canvas class. A demo application is included. The source code can be compiled on MS Windows and Linux systems, a Visual C++ project and make files are enclosed. I am not sure why it doesn't work on the IRIX machine I tested it on, although it should. Let me know if it runs on yours.
| ||
| IPCommunication 15 KB TAR.GZ file | In case you need to have two separate Unix processes communicating with each other: check this inter process communication library out before you write your own. | ||
| FastPix 4 KB TAR.GZ file | If you always wondered what framerates you could get using the glDrawPixels command, this is a nice little tool to find out. | ||
| FastPixX 16 KB TAR.GZ file | This tool is similar to FastPix, but it is based on Xlib using the XPutImage command. Additionally it can be used as an example program to learn pure Xlib programming. | ||
| Java Threads Example 2 KB TAR.GZ file | This is an example program from the SUN Java Tutorial, coming with the appropriate Makefile for IRIX machines. The little program demonstrates the use of threads in Java by creating two concurrently running threads, each of them displaying ASCII text at runtime. |