Terrain vertex shadow demo.
In this demo, the color of each vertex is computed in software in order to take the terrain self-shadowing into account. Generally, vertex shadows are horrible, but with some sampling/blurring tricks, it is possible to obtain pretty good results...

Shadow demo 1
Shadow demo 2
Shadow demo 3 (final)
Modified version of the stencil shadow volume sample coming with DX SDK, adapted to work with the z-fail algorithm (carmack's reverse), handling front and back capping, and using a semi-infinite projection matrix :

ShadowVolume_cpp.zip
Dr-Code system lib code-draft. Contains a few functions like Sleep & Beep, plus a raw access to the keyboard for Linux & Windows, and a basic window class for X11 & Win32 :

DCSDK.zip

Version 2 : Added some simple display-change stuff + mouse support + a little try to support multiple languages :
Some of the stuff is partially implmented and some isn't implemented at all. Also, the linux part is certainly not up to date too...

DC_SDK.zip

Version 3 : Contains a basic implementation of the opengl & directx9 renderer + a DCString class to support unciode + dynamic library loading + text log + timer.
The code has been implemented for win32 only, but it would be very easy to port.

DC_SDK_071303.zip

Version 4 : Same as version 3 + renderer factory with alternate path for loading renderers from dynamic libs + memory tracker + policy-based templated smart pointer class + profiler.
All this has been added quickly and may not be well written or complete. this will hopefully be revamped soon.

DC_SDK_071403.zip
A tree generation library. This library is a c++ port of the TReal program written in Delphi. (http://members.chello.nl/~l.vandenheuvel2/TReal/)
This is a beta version, used to test the algorithm. I have several ideas to improve the quality of the generated trees. Hopefully, a second version of the library will be available soon.
It comes with a DX9 sample application.

TreeLibTest.zip
Various screenshots from several demos/projects :

shots.html
Hosted by www.Geocities.ws

1