Ported c-ray (a simple ray tracer) to DOS (16bit) using Turbo C 3. Graphics output using mode 13h or mode-x. Also added Floyd-Steinberg dithering to improve the image quality in 265 colors.
Screenshots with and without dithering:
Download cray16 (includes source code and binary)
Another DOS port of c-ray, this time in 32bit protected mode with the Watcom C/C++ compiler and DOS4G/W. This time I used VESA VBE 2 to support high resolutions in true color.
Here is a screenshot of the 32bit DOS version running in dosbox:
Download cray32 (includes source code and binary)