Procedural Textures:
Image Gallery

Une version française de cette page est également disponible.

Images

Theses images were rendered on a Silicon Graphics workstation by a small software I designed during my Bachelor of Science to demonstrate how to render in real-time procedural textures using only OpenGL primitives. This software enables you to change interactively all the parameters of the texture and shows the resulting texture applied on a 3D model. It is fluid on a Onyx II workstation: from a few dozen frames per second for a simple 3D model (the cube) to a few frames per second for a complex 3D model (the rabbit designed with 70000 triangles).

This software is a simple interactive layer; it relies on the small GLP Library - also designed during my Bachelor of Science - to do the actual rendering.

[Image of a marble cube] [Image of an agate bunny] [Screenshoot]
A marble cube (JPEG, 35 Ko) An agate bunny (JPEG, 29 Ko) Screenshoot of the software (JPEG, 79 Ko)
[Image of a woddy bunny] [Image of a marble bunny] [Image of a bunny wearing pyjamas]
A woddy bunny (JPEG, 32 Ko) A marbre bunny (JPEG, 27 Ko) A bunny wearing pyjamas (JPEG, 17 Ko)

Data files

All 3D models are in the simple text .m format: first comes a vertices lists followed by a triangle list. Here are the .m models used in the above images:

The texture parameters are stored by the software in a very simple human-readable text format. Theses parameters reflects the paramteres defined by the GLP Library used for the rendering. Here are the textures used in the above images:

Downloading the Software

Big Big Warning

This software was designed on a Silicon Graphics in C++ using the RapidApp application interface builder. It is unlikely you can compile it if you do not have a Silicon Graphics with the proper software installed and a configuration similar to the one I used.
This software was never intended to be a real application but only a test and it is provided here for educational purpose.
The author is not responsible for any damage this software could cause.

You can download the source for the software used to render the above images, together with the GLP Library it uses, as a tar archive (1.3 Mo !).




Antoine Miné
mine@di.ens.fr.REMOVE-THIS-ANTISPAM