These are the sources and resources for the 4k intro seminar, given at Block Party 2007 by Polaris and s_tec. If you have any questions send an email to polaris@northerndragons.ca ------------------------------------------------------------------------------- presentation stuff ------------------------------------------------------------------------------- Techniques for 4kb Intro Development, Block Party 2007.ppt - Power point ver. Techniques for 4kb Intro Development, Block Party 2007.odp - Open Office ver. 4k.01.avi - video clip of final result of the framework. sphere_wf.avi - wireframe sphere (showing drawing) sin.wav - sample audio in the presentation bell.wav - sample audio in the presentation fm.wav - sample audio in the presentation ------------------------------------------------------------------------------- nehe stuff ------------------------------------------------------------------------------- The various nehe folders show how to reduce HeHe’s OpenGL tutorial #5 from 11264 bytes to 891 bytes. The sequence goes something like this: nehe0 - These projects apply various compression techniques to the unmodified sources. You will need to have various tools, such as upx, on your PATH variable for these projects to build properly. nehe1 - Removes the C standard library nehe2 - Removes useless and redundant code nehe3 - Removes error checking and cleanup code nehe4 - Uses various Win32 hacks to shrink the code some more nehe5 - Rewrites the entire tutorial in assembly language nehe6 - Last-minute switch to triangle fans to save a few bytes ------------------------------------------------------------------------------- framework stuff ------------------------------------------------------------------------------- The framework folder contains the source code for our example 4K intro. It is designed as a template so you can easily replace our code with yours. The files do these various things: main.c - Startup and main window creation main.asm - Same as main.c, but using assembly language music.c - Creates and plays the music demo.c - Creates and draws the demo visuals screen.h - Screen resolution definition math4k.h - Math library, complements of Chaos / Farbrausch build.mak - Makefile To create your own 4K intros, just replace the function music() in music.c and the functions demo_init() and demo_render() in demo.c with your own code. Have fun!