Boxplorer: an interactive intro ;-)

category: gfx [glöplog]
This is my first shader experiment - a GPU renderer of the Mandelbox fractal. It's finished enough for release. C Source included.

Download link (needs SDL).

Some screenshots:
BB Image
BB Image
BB Image
BB Image
BB Image
BB Image
BB Image
added on the 2010-09-07 15:55:55 by rrrola rrrola
Very nice screenshots!
added on the 2010-09-07 16:03:58 by xeron xeron
Tried to compile it on a Mac and it compiled well, but I'm getting bus error message when I try to run it. Great screenshots though!
added on the 2010-09-07 16:24:34 by svo svo
wow, must try this tomorrow at work !
added on the 2010-09-07 16:34:41 by tobé tobé
those screenshots look amazing!
looks great but it runs at 1.5 fps -_- i guess i need new card :o
added on the 2010-09-07 16:39:39 by panic panic
it's very cool, runs fast here too... may I make a suggestion? make it so the direction you follow changes every frame and not on button press.

It's kind of weird already that you press right click to zoom in... but it's even more weird that the direction you zoom in to is where you were looking at when you did the mouse-down, and not the one you are -currently- looking at :-)
added on the 2010-09-07 16:44:34 by Jcl Jcl
I played with the first one before but this new version looks much better :) thanks!
Too good to be released this way. Make it 4k. :-)
added on the 2010-09-07 16:57:54 by KK KK
Very nice, stylish! And it runs 40fps here on my gf8800, more than enough.
added on the 2010-09-07 17:00:56 by Hyde Hyde
Very nice but how do you do unaliased screenshots like this ?
added on the 2010-09-07 17:41:09 by ponce ponce
Very nice but how do you do unaliased screenshots like this ?

by downscaling the screenshots and using some sort of filtering?
added on the 2010-09-07 17:52:45 by imbusy imbusy
Awesome! o_O;

Why don't release it as pouet prod?
added on the 2010-09-07 17:56:34 by rez rez
Because he's not spamming the BBS.
added on the 2010-09-07 17:59:11 by raer raer
uhm. I meant: Database.

Cool tool btw. :)
added on the 2010-09-07 18:14:40 by raer raer
@#ponce: These pics were rendered in 8192×6144 and downscaled with the Lanczos3 filter.
The program also supports FSAA (cfg parameter multisamples).
added on the 2010-09-07 18:43:07 by rrrola rrrola
@Jcl: Direction lock was added on purpose in the last version (for exploring passing structures while moving).
For moving in the direction you're looking there's Alt.
WASD is for strafing and Shift/Ctrl modify your speed.
added on the 2010-09-07 19:02:17 by rrrola rrrola
you should make a 4k out of it.. i messed one up already due to timelimits and are waiting for a (finally good looking) mandelbox 4k.. the traps you used look way too good already!
added on the 2010-09-07 19:09:25 by mad mad
rrrola, you should distribute the dll along with the exe :)
runs at ~11fps here - however, not everything is pretty

BB Image
@panic: edit last.cfg that the program writes at exiting. Use a lower resolution and decrease max_steps to 50 or so.

This way I can get about 15 fps at 256×192 on my notebook, which is enough for looking for nice places. Then i exit or save the params with Space, increase resolution and quality, set screenshot mode and go for a walk. :-)
added on the 2010-09-07 19:22:17 by rrrola rrrola
Runs in wine.Cheers.
added on the 2010-09-07 19:22:40 by ringofyre ringofyre
@rasmus: You need to increase the raymarching precision for this place (press R, then hold down). You can also play with the iteration count (press I).
added on the 2010-09-07 19:26:38 by rrrola rrrola
Compiled on Linux.
gcc -lSDL -lGL boxplorer.c -o boxplorer
added on the 2010-09-07 19:38:08 by joooo joooo
This is my first shader experiment

Where was that confused eyes gif again? :)

Looks cool, but no windows and a slowish gpu here. I'll maybe look at compiling under osx some time, but if somebody else tried and failed i'll probably fail too.
added on the 2010-09-07 23:14:56 by psonice psonice