Demo Coding
A Demo is a program usually made by a group of coders, musicians and graphicians. The purpose with the demo is mostly just to have fun and to show what you capable to, both concerning graphics, music and programming. The reason to why demos are so fascinating is that they really uses the full power of the PC (or Amiga...) to produce astounding realtime graphics.

Please choose a category:



3D
3dmath.zip (38kb) Nice description of 3d mathematics, including rotations, transformations, perspective, clipping, polygons...
Zed3D (681kb) Zed3D, realtime 3D graphics programming reference, math, math and more Math!
3drot1.zip (8kb) How to rotate a point in 3D, with asm source.
3drot2.zip (16kb) How to rotate several points in 3D and do a palette rotation at the same time, asm.
3d_rotat.zip (1kb) Good text on how to rotate a point in 3D using 12, 9 or 6 mul/rotation!
Otmmatx.zip (14kb) Good explanation of 3D transformation using matrices.
Qrotate.zip (1kb) Short text on how to use Quaternions to 3D rotate.
Birthday.zip (25kb) Little "demo" with morphing 3D pixel objects in ModeX, asm.
Vectball.zip (12kb) Some vector balls in a 256*256 pixels mode, hmm. Pascal/asm.
Vectbal2.zip (190kb) Exceptionally nice-looking Vector Balls, C++.
Wormhole.zip (118kb) Wormhole, C++/asm.
3dsco.zip (14kb) 3D Studio object loader/converter, C++.
3dsread.zip (7kb) Another 3D Studio reader, C.
3dengine.zip (197kb) Texture/environment mapping 3D engine, rather slow 320*200*8bit, Pascal/asm.
P3dve.zip (270kb) Small 3D engine, flat/gouraud/tex/env, asm.
Frustum.zip (6kb) Great text about fast 3D clipping, by Tom Hammersley.
Winclip.zip (36kb) Little Windows demonstration of 3D clipping, C.
BSP faq Great FAQ on BSP-trees.
Bsp.zip (7kb) Text and C-code on BSP-trees.
S_buffer.zip (12kb) New technic to sort out visible parts of polygons, faster than using a Z-buffer, text.
3dfaq.zip (14kb) FAQ on 3D mathematics, pretty good.
Shadows.zip (18kb) Three methods to do shadows!
Vr.zip (47kb) Interesting text on Virtual Reality, but a bit old.
Back to top

Shading
3dshade.zip (5kb) The basics of flat shading, text.
Gouraud.zip (47kb) WGT Graphics Tutorial #2: Gouraud shaded polygons, good, C/asm.
Gvectors.zip (139kb) Gouraud shaded 3D objects, with lots of example objects, C++.
Karmadoc.zip (9kb) Text about Shading, Z-buffers, texture-mapping etc.
Otmpoly.zip (10kb) Fill polygons, flat-, gouraud shading, clipping, Z-buffers. Pretty good text.
Otmphong.zip (8kb) An approach to fast phong shading, which unfortunately looks bad on big polygons, text.
Vgophong.zip (7kb) More correct realtime phong shading than Otmphong, good!
Tmbphong.zip (110kb) Transparent Motion-Blur Phong! Looks good, but would have looked even better without the motion-blur, C++/asm.
Raytrace.zip (26kb) FAQ about different raytracers and where to get them.
Back to top

Mapping
Fatmap.zip (24kb) Good text about very Fast Affine Texture Mapping of triangles.
Fatmap2.zip (55kb) More about texture mapping etc. Very good!
Art_demo.zip (180kb) Advanced Rendering Techniques Demo, some very nice phong shading, texture mapping and bump mapping of a face, C++/asm.
Tmap.zip (141kb) WGT Graphics Tutorial #3: Texture mapped polygons, pretty good, with C/asm examples.
Texture.zip (4kb) Text about affine and slow perspective correct texture mapping.
Doom.zip (8kb) Description of the "faked" free direction texture mapping in Doom.
Pctexmap.zip (227kb) Program showing different methods to do perspective correct texture mapping, C++.
Envmap.zip (2kb) Nice text which briefly describes environment mapping.
Envmap2.zip (87kb) Rotating environment mapped torus, C++/asm.
3dtunnel.zip (118kb) 3D texture mapped tunnel, C/asm.
2dbump.zip (2kb) Short text on how to do the nice effect called 2D bump mapping.
2dbump2.zip (111kb) Some example programs of 2D bump mapping in C++/asm.
2dbump3.zip (96kb) Another example of 2D bump mapping, C/asm.
Fillpoly.zip (15kb) WGT Graphics Tutorial #1: Solid filled polygons, C code.
Clipping.zip (4kb) Short text on how you should clip your polygons to fit on the screen.
Back to top

2D
Water3.zip (2kb) Very good text on how to make Water, by Tom Hammersley.
Fluid.zip (57kb) Nice demo of the amazing "water" effect, asm/C.
Water2.zip (86kb) Cool water effect with strange colors, asm.
Water.zip (10kb) Ugly water (don't download it, you would be dissapointed), asm.
Flame.zip (3kb) FIRE! Simple but still pretty cool, asm.
Flame2.zip (3kb) More Fire, 160 bytes version that still looks like real fire.
Feedback.zip (7kb) Very nice feedback effect, as in the Dune! intro, pascal/asm.
Plasma.zip (10kb) Good-looking plasma, pascal/asm.
Plasma2.zip (20kb) Not so good-looking plasma but although pretty cool, C++/asm.
Highcol.zip (7kb) Some "high-color" plasma circles, pascal/asm.
Wobbler.zip (5kb) New sort of wobbling feedback plasma, asm.
Blobs.zip (13kb) Two jelly blobs rotating around each other and sometimes melting together, asm/C.
Rotozoom.zip (28kb) Cache optimized Bitmap Rotater/Zoomer, C++/asm.
Bars.zip (8kb) Raster copper bars moving up and down, asm.
Back to top

Simple effects
Stars.zip (10kb) How to do the old and completely outgone star field-effect. Asm example included, uhu?
Globe.zip (15kb) 256 white dancing cosine generated pixels, old but pretty fancy, asm.
Hilist.zip (107kb) More white pixels flying around... C/asm.
Abyss.zip (8kb) Jumping pixels, asm.
Back to top

Intros
Micaco.zip (189kb) Intro for the Micaco BBS. Very neat environment mapping 3D engine. The comments are unfortunately in Spanish, asm.
Chaos.zip (27kb) Chaos BBS intro, X-mode (320*400), Adlib-player etc, asm.
1kintro.zip (8kb) very good 1kb intro, asm.
Giant.zip (24kb) 4kb intro presented at Asm-94, asm.
maximum.zip (20kb) Nice 4kb intro presented at Wired'96, asm.
Smooth.zip (20kb) Smooth Motion, 4kb intro released at Asm-95, asm.
Stoned.zip (39kb) Good 4kb intro, winner at Asm-94, asm.
4kless.zip (28kb) Small 4kb intro by Paranoids, C++/asm.
Tpp1.zip (32kb) TPP's Intro #1. 8kb intro? Not very advanced, asm.
Pgrid.zip (81kb) BBS Intro for PowerGrid. Lens, neat Adlib player etc, asm.
Back to top

Fractal
4ge-frac.zip (11kb) Ugly "realtime" mandelbrot zoom, asm.
Sky.zip (15kb) Scrolling sky like in the Mars demo, pascal/asm.
Terrafor.zip (1kb) Very small but informative text on how to generate a fractal landscape!
Voxel2.zip (111kb) Voxel landscape with a sky, C++/asm.
Cmars.zip (48kb) An indeed very nice landscape, much like Mars but with "real" 3D, C/asm.
Moonbase.zip (66kb) Nice looking voxel landscape, but hard to learn from, C/C++.
Voxel.zip (46kb) Another voxel landscape, looks like Mars but without sky, C/C++.
3dscape.zip (22kb) 3D pixel landscape... C/asm.
Mars.zip (3kb) The classic landscape, very nice and fast (even on a 386). Sorry no source-code.
Otmvoxel.zip (5kb) Short explanation of voxel landscapes, not much...
Back to top

Unsorted Demo Stuff
FAQSYS FAQSYS extended version! Information about _everything_ you possibly want to know. One of the best pages I know!
Tutnew.zip (342kb) Denthor's VGA Tutorial. New versions of Denthor's great Demo School part 1-10, both C++ and Pascal code included.
Tut10-21.zip (213kb) Denthor's VGA Tutorial part 10-21, the continuation of the file above.
The PixPack (1075kb) Good collection of demo-effects, with sourcecode.
PC-GPE Online HTML version of PC-GPE, good programming reference but a bit old.
Back to top