|
|
SDK Documentation |
Copyright © 1997-2001 |
February 23, 2001 |
This document provides an overview of the mGL 3D Graphics Library sample code included with the NUON SDK.
All of the sample code may be found in the \VMLABS\SAMPLE directory. Inside that directory are a number of additional directories which contain sample programs that demonstrate a particular concept, such as how to use a certain NUON library, or how to use the SDK tools in a particular way.
The majority of the samples are something you can compile with the tools and execute on your NUON development system. A few samples are incomplete in some way and are provided merely so you can examine the source code.
The table below shows the folder name of each sample and a brief description of what is demonstrated. All folder names are relative to the \VMLABS\SAMPLE directory.
Folder Name |
Description |
mgl\cube | This program demonstrates how to dynamically create a simple 3D object and render it. A light source is moved around to show how lighting affects the scene. |
mgl\room | This program demonstrates how to render a scene composed of objects exported using the 3D Studio MAX export plug-in |
mgl\simple | This program creates a simple, non-textured 3D object and animates its orientation and screen position. |
mgl\blend | This program demonstrates how to use the blending features of the mGL 3D library. |
mgl\chroma | This program demonstrates how to use the chroma-key features of the mGL 3D library. |
mgl\fractal2 | This programs uses a Fast Fourier Transform to extract frequency content from the output of the NUON synth, and then uses that information to animate a Hilbert Curve fractal display that is rendered via mGL. |