Submission + - AT&T Censors 4chan server 13
Disturbing news indeed.
Ouch, i thought the formatting would be preserved with tags. Posting as plain old text now
----- test.c
const char msg[]="Hello World\n";
void _start(){
asm("int $0x80;"::"a"(4),"b"(1),"c"(msg),"d"(12));
asm("int $0x80;"::"a"(1),"b"(0));
}
---------
$ gcc -m32 -Os -nostdlib -nostartfiles -s -o test test.c
$ wc -c test 436 test
$
Hello World
And this is just scratching the surface. Of course, in a real 4K you would want to use some compression, too, as pointed by another replies.
So tell us, how'd they pull it off? Specifics, please.
Well, a full-fledged engine is obviously overkill for a 4K intro. Usually you code the specific effects you want to show directly into the intro, and generate on the fly all the data you can, so you don't store triangles or sound waves, but the parameters for some formula you have coded. And you do this in the most compressor-friendly way you can
You can find lots of information at Iñigo Quilez's (the main coder of Elevated) home page, too.
His NVscene08 presentation "Rendering worlds with two triangles" is specially relevant here
I'm not a top intro coder, but I've made a few ones myself, so ask if you want more details
Sure it's one setup, but it's hardly "required" otherwise it wouldn't have been possible to do the same trick with the wii-mote.
The wiimote acts as an infra-red camera (the "sensor bar" is a misnomer, it only has some leds), and IIRC the head-tracking trick involves a wiimote pointing at the user and some leds in the user's head.
You might think there's no way a free operating system written by volunteers could compete when it comes to music production. But in the past couple of years, all the tools you need to make music have arrived on Linux.
"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."