Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » 4k I tell you. Smaller than tic-tac-toe I wrote on my spectrum

This thread is locked; no one can reply to it. rss feed Print
 1   2 
4k I tell you. Smaller than tic-tac-toe I wrote on my spectrum
Neil Walker
Member #210
April 2000
avatar

Someone pointed this out to be just minutes ago. Honestly, you'll be saying f^ck me, 4096 bytes ;)

http://www.rockpapershotgun.com/2009/04/15/the-hard-maths-elevated/

Unless you have a very high-end windows system you're best advised to just watch the video. I was impressed with the exe and thought it was a series of static images until I watched the video realised it was full motion as well :)

Here's the blurb anyway:

for those wondering, this a low density flat mesh displaced with
a procedural vertex shader. there arent any texturemaps for texturing,
instead texturing (and shading) is defferred and computed procedurally
in a full screen quad. this means there is zero overdraw for the quite
expensive material at the cost of a single geometry pass. then another
second full screen quad computes the motion blur. camera movements are
computed by a shader too and not in the cpu, as only the gpu knows the
procedural definition of the landscape.

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Erikster
Member #9,510
February 2008
avatar

f^ck me :D

That's amazing, 4096 bytes?!?! That!?!?

Cat! I'm a kitty cat. And I dance dance dance, and I dance dance dance.

Jonatan Hedborg
Member #4,886
July 2004
avatar

These people are insane.

Neil Walker
Member #210
April 2000
avatar

I've been reading his website (http://iquilezles.org/www/), there's some really scary maths there. Puts my basic trig to shame anyway ;)

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

phate
Member #2,235
April 2002
avatar

wow thats fraking amazing! there are a couple of parts where it seems like the mountains are real.:o

These are the people that can make machines dance. They are my gods. ;D

-----
For my next trick... ah fark it.
[Website][Twitter]

Matthew Leverton
Supreme Loser
January 1999
avatar

video

So does the DX library fit in the 4KB limit too?

kazzmir
Member #1,786
December 2001
avatar

The exe's crashed on my machine. Am I missing something?

I've seen nifty graphics stuff in 4k before and this is no exception. The music is procedurally generated as well? That is the most amazing part, imo. I can't believe they can procedurally generate nice sounding instruments.

Trent Gamblin
Member #261
April 2000
avatar

Procedurally generated instruments are nothing new, but in less than 4k? That's pretty impressive. I'm paranoid to run the thing in fear of viruses and stuff.

Kibiz0r
Member #6,203
September 2005
avatar

I do have a high-end Windows machine, but I can't run it. It crashes instantly.

[edit]

Nevermind, I never got the DX SDK after I reinstalled. This is fantastic, I can't believe how much they crammed into such a small package.

Peter Wang
Member #23
April 2000

:o :o :o

Martin Kalbfuß
Member #9,131
October 2007
avatar

Unbelievable. :o

http://remote-lisp.spdns.de -- my server side lisp interpreter
http://www.nongnu.org/gm2/ -- Modula-2 alias Pascal++

StevenVI
Member #562
July 2000
avatar

Quote:

It’ll black out your screen for a couple of minutes while it loads.

It needs to buffer the video off the server first. ;)

__________________________________________________
Skoobalon Software
[ Lander! v2.5 ] [ Zonic the Hog v1.1 ] [ Raid 2 v1.0 ]

kenmasters1976
Member #8,794
July 2007

I guess these are the hardware accelerated equivalent of the old DOS 64K demos. Pretty impressive.

Oscar Giner
Member #2,207
April 2002
avatar

It crashes for me too :/ But looking at the video it's impresive :o

Steve++
Member #1,816
January 2002

I'm paranoid to run the thing in fear of viruses and stuff.

I doubt there was enough space left for a virus.

alethiophile
Member #9,349
December 2007
avatar

4k is, in fact, smaller than the GCC-compiled 'hello world' program. Is this written in assembler, or just optimized near unto death?

--
Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.
C++: An octopus made by nailing extra legs onto a dog.
I am the Lightning-Struck Penguin of Doom.

jhuuskon
Member #302
April 2000
avatar

Both. And some executable compression.

You don't deserve my sig.

Ron Novy
Member #6,982
March 2006
avatar

Sounds like MIDI to me...

----
Oh... Bieber! I thought everyone was chanting Beaver... Now it doesn't make any sense at all. :-/

jhuuskon
Member #302
April 2000
avatar

It's not. MIDI is just a control data transmission protocol and highly inefficient at (it wastes a lot of bits) that. What you hear is very basic subtractive synthesis.

You don't deserve my sig.

Slartibartfast
Member #8,789
June 2007
avatar

My computer doesn't handle it quite as nicely. (All I can see is a white oval that gradually gets darker towards the edges of the screen [so just that effect that makes the edges darker, with no actual content])
I did get some nice music, but I noticed exactly zero difference between it an the one on the online video.

OICW
Member #4,069
November 2003
avatar

Frak me, that's pure awsomeness crammed into 4kB :o

[My website][CppReference][Pixelate][Allegators worldwide][Who's online]
"Final Fantasy XIV, I feel that anything I could say will be repeating myself, so I'm just gonna express my feelings with a strangled noise from the back of my throat. Graaarghhhh..." - Yahtzee
"Uhm... this is a.cc. Did you honestly think this thread WOULDN'T be derailed and ruined?" - BAF
"You can discuss it, you can dislike it, you can disagree with it, but that's all what you can do with it"

Albin Engström
Member #8,110
December 2006
avatar

That is the most beautiful thing I've seen in my entire life..

Allow me to cry.

Onewing
Member #6,152
August 2005
avatar

OICW said:

Frak me,

...looks at OICW's avatar... don't shoot yourself!

------------
Solo-Games.org | My Tech Blog: The Digital Helm

Sirocco
Member #88
April 2000
avatar

Good stuff. I love seeing procedural generation pushed to its limits.

-->
Graphic file formats used to fascinate me, but now I find them rather satanic.

axilmar
Member #1,204
April 2001

Nice. Can this be used in an interactive program, or is it another case of "Into The Shadows"?

 1   2 


Go to: