pouët.net

Astonishing 3D mandelbrot renderings

category: general [glöplog]
iq : it's awesome !
added on the 2009-11-19 20:45:12 by Anat Anat
Seems that we won't have to wait 20 years for it.
Someone managed to get realtime mandelblub here:
www.gamedev.net/community/forums/topic.asp?topic_id=553643

www.youtube.com/watch?v=h5yLl9Z4C2A
added on the 2009-11-19 23:41:04 by RetroVM RetroVM
Maybe it's a coder's colors thing but it doesn't look that good.
added on the 2009-11-19 23:56:57 by xernobyl xernobyl
colours and quality i think.. looks very low quality overall, and it looks like it's clipping the draw distance heavily while moving to keep the frame rate acceptable. IQ's version looks way better (colours too!).
added on the 2009-11-19 23:58:49 by psonice psonice
only coders and mathematicians see beauty in repetition ;P
added on the 2009-11-20 00:08:26 by maali maali
only coders and mathematicians see beauty in repetition ;P
added on the 2009-11-20 00:08:53 by maali maali
oniy coclers arid rnathematlcians see beauty in repetltlon ;P
added on the 2009-11-20 00:12:00 by psonice psonice
0niy c0cler5 arid rnathematlcian5 5ee beauty in repetltl0n ;P
added on the 2009-11-20 02:44:03 by texel texel
Quote:

Quote:

are you taking the "Exterior distance estimation" for the distance field described on Wikipedia or something else? i would be very interested in a distance field because you don't have to do the iteration thing at all if you have a good distance field -> faster and less branches -> realtime on gpu :D


Yes, it's a distance field, and I'm using the regular distance estimation G/|G'| (derived from expanding G(c+epsilon) with a order 1 Taylor series), where G=the Hubbard-Douady potential, G=(1/2^n)·log|z|. That means G'=(1/2^n)·|dz|/|z|, so distance = |z|·log|z|/|dz| My deduction is somehow wrong I think, but not sure why, because we are all using the 1/2 factor in front of that expression, I think Wikipedia has it too.

So to make it short, yes, I use the distance estimation so I have my distance field for raymarching \o/ What reminds me I should add some reflections!!!!


how do you calculate dz? is it just the direction of the ray or something? sorry for asking all those questions...
added on the 2009-11-20 05:00:17 by src src
in the 2D case it's more or less simple:

Z=Z²+C ---> dZ = 2·Z·dZ + 1

and then you apply the chain rule, which means you have to iterate them both together:

Code: for( int i=0; i<maxIterations; i++ ) { dZ = 2*Z*dZ + 1; Z = Z*Z + C; .... }


For the 3d case (not quaternionic) you probably want to do it with the Jacobian, which is the matrix that tells you the derivative of each component of Z with respect to each component of C.

If you don't want to go that trouble, you can use G/|G'| which is really simple to compute.
added on the 2009-11-20 07:29:22 by iq iq
iq: any trippy endless zoom effect ? :)
added on the 2009-11-20 14:25:08 by aftu aftu
funkin insane, iq ruining the the scene.
added on the 2009-11-20 19:01:24 by moredhel moredhel
Turn it into a 3D shooter, infinite terrain!
great stuff iq !
added on the 2009-11-20 19:11:47 by Navis Navis
very nice! worth a thumb, at least
BB Image
added on the 2009-11-21 00:08:35 by BarZoule BarZoule
IQ .. does it .. like .. rulez the math !! .. great thingy !! .. Go on !! ..
added on the 2009-11-21 01:45:40 by yumeji yumeji
iq- Oh, you made those mandelbulbs realtime? Great. While you're fixing stuff, can you get Outlook to sync with our new phones?
added on the 2009-11-21 05:04:54 by yesso yesso
ROFL @ yesso!
Don't use doubles as my GPU doesn't support it ;)
added on the 2009-11-21 12:26:21 by xernobyl xernobyl
Don't use floats as your fractals will look like poop.
added on the 2009-11-21 14:20:16 by doomdoom doomdoom
i guess the Mandelbulb will yield best results on a 64bit-system anyway !
but nowadays you have to approximate and stuff to make it run in realtime, so quality suffers no matter how you achieve it !
so the real deal in RT will have to wait for some years/decades !
as said: it will never zoom endless, and especially not in RT !
for some reason I think of Bill Lumberg from the movie Office Space saying yesso's comment, try it ;)
Well, I also tried to get this thing realtime. Here is the result so far, framerate is a bit low still and we're not at max resolution, but we're getting there i think...

BB Image

Another view

BB Image

These shots also have some kind of AO approximation in realtime from a single ray, here is how the AO looks like all alone (yes, noisy, i know..).

BB Image
added on the 2009-11-23 23:47:34 by nystep nystep
just 4YI: Still-neutraspective has it already in realtime !
maybe not that mindblowing...yet! and it could be more hefty, but thats the style of still !
it's not the mandelbulb in their prod... sorry. jsyk. (or they have a serious bug/feature somewhere).
added on the 2009-11-24 00:13:25 by nystep nystep

login