Texture Mapping sample
Written by Yuriy Kotsarenko, December 2007.
--------------------------------------------------------------------------------

The main purpose of this sample is to demonstrate several texture mapping
algorithms, a simple 3D rendering pipeline and PQ Torus Knot runtime creation.

The application uses several pieces from Asphyre Casual Framework to simplify
tasks such as image loading and software drawing canvas. All the units were
included in the package to make it self-contained.

First of all, the application creates a 3D mesh called PQ-Torus Knot. The
idea was taken from Jim Scott's blog; full URL:
 http://www.blackpawn.com/texts/pqtorus/default.html
 
Second, the application uses a converted C/C++ affine texture mapping code
originally published in "fatmap2.zip" package by Mats Byggmastar, 1997.

Third, the application uses a converted C/C++ perspective texture mapping
code originally written in C/C++ by Chris Hecker and published in his 
articles. The code is available with the kind permission of the original 
author. Original articles can be found at:
 http://chrishecker.com/Miscellaneous_Technical_Articles

Finally, the application contains an implementation of Sutherland-Hodgman
algorithm for clipping polygons with optional perspective correction.

In the 3D pipeline, the application uses SSE vector transformation
code originally published in C/C++ by Cort Stratton in 2002. The code was
adapted to work with Delphi.

Most of the files that are provided in this package are protected
by Mozilla Public License 1.1. You can read its term at:
 http://www.mozilla.org/MPL/

This package is published on Afterwarp Development:
 http://www.afterwarp.net
 
If you have any questions or comments, please send me e-mail to:
 yunkot@gmail.com
 