Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: Jim on December 01, 2006

Title: MATHCOMP: Menger sponge
Post by: Jim on December 01, 2006
Apologies for the previous re-tread, here's something new.  Please be patient while it generates the more highly subdivided sponges.
Jim
Title: Re: MATHCOMP: Menger sponge
Post by: Clyde on December 01, 2006
Nice work Jim :)
Title: Re: MATHCOMP: Menger sponge
Post by: rdc on December 01, 2006
My computer doen't like your exes for some reason, but the screenie looks cool.
Title: Re: MATHCOMP: Menger sponge
Post by: Jim on December 01, 2006
Are you extracting the zip file?  It needs to have the arial.bmp and arial.bin files in the same folder.  It won't run from the zip.

Jim
Title: Re: MATHCOMP: Menger sponge
Post by: mind on December 01, 2006
whatever happened to no loading external graphics? work harder, generate your font  ::)

other than that, nice :)
Title: Re: MATHCOMP: Menger sponge
Post by: rdc on December 01, 2006
Are you extracting the zip file?  It needs to have the arial.bmp and arial.bin files in the same folder.  It won't run from the zip.

Jim


Yeah, everything is there. I had the same problems with your other exes too. I seem to be the only one with the problem though, so I wouldn't worry about it. Just something funky with my machine.
Title: Re: MATHCOMP: Menger sponge
Post by: Jim on December 01, 2006
Quote
whatever happened to no loading external graphics? work harder, generate your font
Tee hee! - it *is* generated, offline, and the bin file lets me use the bmp as a proportional as well as a fixed width font.  It's only for debug info, which I'm not using anyway, but I really haven't had the time to rip it out of the rest of the framework (my WIP + pumpkin demo) so the external files have to stay :D  If you want to see the font try pressing H for Hud or F for Fps.  You can move the object around with the arrows, shift, mouse, ctrl etc.

Now a *fractal font* that would be something :D

Jim
Title: Re: MATHCOMP: Menger sponge
Post by: Ghost^BHT on December 01, 2006
Nice one - I was working on this also - :( but yours is much smaller and better
Title: Re: MATHCOMP: Menger sponge
Post by: Shockwave on December 01, 2006
Very very nice :) Our first Pink entry!
Title: Re: MATHCOMP: Menger sponge
Post by: lilw4t3rdr0p on December 03, 2006
\o/ for PINK!
Title: Re: MATHCOMP: Menger sponge
Post by: combatking0 on December 05, 2006
I tried to make one of these out of paper once.

Great minds think alike.  :cheers:
Title: Re: MATHCOMP: Menger sponge
Post by: slinks on December 05, 2006
This program rapes my RAM
Title: Re: MATHCOMP: Menger sponge
Post by: Jim on December 06, 2006
There are 20 cube models at level 1, then each of those is divided into 20 for level 2 (400) then each of those is divided into 20 at level 3 (8000) and then each of those into 20 at level 4 (160000).  That's a lot of RAM :-)  I think I stop at 3, which is 8000x24 vertices = 192,000 vertices and 48,000 faces.  At level 4 that would be 3.84million vertices and just under a million faces.
Press H to bring up the hud and it'll let you know.

Jim
Title: Re: MATHCOMP: Menger sponge
Post by: slinks on December 06, 2006
If I could run it without windows complaining it's ran out of ram, then I would  :D
Title: Re: MATHCOMP: Menger sponge
Post by: Jim on December 06, 2006
Is your swap file turned off?  It should be able to at least run at 1fps.

Jim
Title: Re: MATHCOMP: Menger sponge
Post by: slinks on December 06, 2006
You've never met my computer apparently, it is bottom of the line. It booting up in a morning is an achievment.