A SMALL 3D WIREFRAME DEMO


Welcome | Company profile | Products | Freware | Private

A Small 3D Wireframe Demo written in ML

This small application is written in ML and distributed under GPL. It was created to try out Standard ML for real life programming. The demo has complete matrix transformations, camera descriptions and 3D line clipping.

In this demo you can manipulate the camera by using the mouse. Holding down left mousebutton and moving the mouse will tumble the camera. Similarly the middle mousebutton is for tracking the camera. To dolly in, hold down right mousebutton and move the mouse to the right, and to dolly out use right mousebutton and move the mouse to the left.

Requirements, downloading and installing - binary version

To run the binary version of this demo you will need Linux running on and x86 machine, and a working Standard ML of New Jersey compiler. It may be enough to have only the SML/NJ runtime, but I'm not quite sure about that. I recommend using the working version 110.9.1. I know that version 110.0.3 has memory leaks.

When you have a working SML/NJ system you will have to download and unpack this file: MLWireDemo-x86-linux.tar.gz. To run it, you execute this command from a shell in the directory where you unpacked CeX3D.x86-linux: "sml @SMLload=CeX3D".

Requirements, downloading and installing - source code version

The source code is available for the demo, which is distributed under a very restricted licence. To compile this demo from the source code you will need a computer with XWindows and a working Standard ML of New Jersey compiler. I recommend using the working version 110.9.1. I know that version 110.0.3 has memory leaks. It would easiest for you to compile the application if you also have the compiler manager CM for SML/NJ. You can download the source code here MLWireDemosrc.tar.gz. If you unpack this file, there are instructions for compiling and running the demo.

Enjoy!




- ÁNOQ of the Sun


Modified: 1999-09-27
E-mail:anoq@HardcoreProcessing.com