Results 1 to 24 of 24

Thread: this is not vb but still amazing

  1. #1

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033

    this is not vb but still amazing

    http://home.online.no/~jlaroenn/Heaven/heaven.exe

    Look how small that file is, and look how much video it has in it. That is some incredible compression. How was it done? was it repeating patterns? but even then, that can only be done to a point.
    I'm bringing geeky back...

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    It looked like it was 3D to me, especially in the part after the "Heaven Seven" logo appeared, where it showed the earth or a similar planet.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Originally posted by Sastraxi
    It looked like it was 3D to me, especially in the part after the "Heaven Seven" logo appeared, where it showed the earth or a similar planet.
    That's not my point. How did they fit such a 3-D presentation into such a small file??
    I'm bringing geeky back...

  4. #4
    Zaei
    Guest
    If that is the heaven 7 demo, it is a realtime raytracer, written in assembly. Probably 90% of the geometry is procedural (generated using mathematical formuli), and the rest (sound, any non prcedural geometry, etc) is compressed, perhaps with wavelet compression. Although, in comparison, The Product takes the cake on compression. That demo generates/stores ~1.9 gigabytes (yes, gigabytes) of data, into 64K. Anyway, yes, it's amazing, but certainly possible =).

    Z.

  5. #5

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Originally posted by Zaei
    If that is the heaven 7 demo, it is a realtime raytracer, written in assembly. Probably 90% of the geometry is procedural (generated using mathematical formuli), and the rest (sound, any non prcedural geometry, etc) is compressed, perhaps with wavelet compression. Although, in comparison, The Product takes the cake on compression. That demo generates/stores ~1.9 gigabytes (yes, gigabytes) of data, into 64K. Anyway, yes, it's amazing, but certainly possible =).

    Z.
    i saw that one too let me find the link..
    I'm bringing geeky back...

  6. #6
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    It uses DirectDraw for the '3d' and DirectSound for the sound.

  7. #7
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Also... it uses the UPX exe packer.

    http://upx.sf.net/

  8. #8
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    I compressed Photoshp.exe to 4.22 MB with it from 13.1, it's a very good program.

  9. #9
    Zaei
    Guest
    Trust me, it's 3D, done in software (realtime raytracer). I can imagine using DDraw for that, for the speed of setting individual pixels.

    Z.

  10. #10
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    You surely meant this one..

  11. #11
    Member
    Join Date
    Nov 2001
    Location
    Leeds England
    Posts
    54
    how ever they did it it looks mighty fine!! wht is the dff betweenupx packer and the one that comes with vb?? better??

  12. #12
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    UPX compresses a single exe, or other type of executable file(com being one example).

  13. #13
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553
    Nicely done indeed.
    I also noticed, like DigitalError, that it was done using DirectDraw and DirectSound.
    I never heard of UPX. Yet I did a download of it and now I'm testing it out.

  14. #14
    Member
    Join Date
    Nov 2001
    Location
    Leeds England
    Posts
    54

    UPX

    where can i get upx from??

  15. #15
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    That 3d demo that fox posted is pretty beautiful itself... just a pity my video card renders things incorrectly from time to time
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  16. #16
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553
    Here you can download the free UPX program:

    http://upx.sf.net/

    I tested it on a VB6 GUI, which uses a large amount of embedded graphics. UPX compressed this executable to 1/5 of the total file size. And when I ran the compressed exe I did not see any difference in speed !!!

    Nice app, UPX. It also supports many OS and it is free for use!!!

  17. #17
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662
    i looked at it. very nice.

    it seems to use DirectSound for output because I loaded two instance of it and it was able to mix the sound instead of cause the second one to error.

    The audio may be based on midi with an internal wave table for the instruments. I think there is a section of DirectX that also handles this.

    I'm pretty sure that the shapes were defined from an internal scripts (much like povray) but the backend that renders it is based on Direct3d. It seems that they hardcoded Direct3d to use the software driver instead of a hardware one so that it would be guaranteed to look the same on all systems.

    On the other hand, it they wrote the raytracer from scratch, they could use DirectDraw (i would think) to draw the output on the screen.

    The textures used are most likely procedural maps.

    Here's how I figured out the graphics portion: my system has an ATI Rage Fury card. This card is capable of 60fps at 1024x768x32bit. When I use software rendering, my system is barely able to do 15 fps at 800x600x32bit. The demo would not exceed 15fps (estimated) when run at 800x600x32bit

  18. #18
    Addicted Member
    Join Date
    Aug 2002
    Posts
    192
    I wonder if The Product's description of its compression performance is misleading. For example, if I write a soft synth / sequencer that plays 10 minutes worth of music, I could say that I compress 10 minutes worth of cd audio into 'a filesize this small'.

  19. #19
    Fanatic Member duc's Avatar
    Join Date
    Oct 2002
    Location
    STEAM
    Posts
    702
    i dont care what the heck they used that was pretty cool :-0)

  20. #20
    Addicted Member
    Join Date
    Aug 2002
    Posts
    192
    yes. 'demos' are pretty cool. demos are the 'source' of my inspiration to become a 'demo-writer'

  21. #21
    Hyperactive Member
    Join Date
    Feb 2002
    Posts
    261
    Anyone remember those old Amiga 1200 demo's? They were (and in some cases, still are) awesome!

  22. #22
    Addicted Member
    Join Date
    Aug 2002
    Posts
    192
    yup
    Last edited by dafhi; Oct 18th, 2002 at 09:04 AM.

  23. #23
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    can that be done by 3D max ?well that't really great work

  24. #24
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It's definitly DirectDraw and DirectSound, I used the Depency viewer to check.

    The uncompressed size of this exe is ~150k.

    The sound is surely some internal sequencer, you can't have sound of this length in 150k in two qualities. Well, maybe MP3, but by the sound of the music I'd say it's a sequenzer.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width