pouët.net

Go to bottom

Cdak by Quite - How?

category: general [glöplog]
I just watched Cdak and it totally blew me away. How on earth did they generate that structure? Its amazing, especially in the party version. I understand its all implicit geometry in a shader on a screenspace quad, but beyond that? I don't even... Any ideas?
added on the 2011-01-29 09:55:36 by Mewler Mewler
As someone else pointed out: http://pastebin.com/9PRG1PfN . Dark magic.
added on the 2011-01-29 13:25:00 by ara ara
okay here it is, once and for all:


first you have a very simple distance field:
BB Image

then, generate some 'extrusion field' - just repeated cubes:
BB Image

intersect (max) it with the original field:
BB Image

and add(min) original field (+some small value,) there:
BB Image

repeat with different 'extrusion field':
BB Image

here is the same thing in 3d:
BB Image

now, generate some random-wtf-rectangle-noise texture on geometry:
BB Image

and as postprocessing, do edgedetection/sobel (probably with some color variation as here):
BB Image

to get some glow, use ray-iteration-count-divided-by-max-iterations or something
BB Image

here is textured geometry (plus a sphere on background), plus glow, plus a bit of color/gammacorrection
BB Image

as simple as that...
added on the 2011-01-29 15:02:39 by unc unc
forgot to multiply that texture with ambient occlusion/lightness, but it is very close anyway
added on the 2011-01-29 15:08:24 by unc unc
unc <3
added on the 2011-01-29 15:30:26 by skrebbel skrebbel
that's the best tutorial i read in ages, btw.
added on the 2011-01-29 15:31:03 by skrebbel skrebbel
wow. that's a really good visual explanation of it. sure worth more than copy pasting shader code in here.
added on the 2011-01-29 15:41:44 by yumeji yumeji
awsome!
added on the 2011-01-29 16:38:43 by quisten quisten
UNC the magician !
added on the 2011-01-29 17:26:28 by Manwe Manwe
Yep, that was great. What about the 'waveform-like' textures though? Is it just a by-product of the edge detection?
added on the 2011-01-29 18:23:24 by psonice psonice
good post unc!
added on the 2011-01-29 18:28:40 by psenough psenough
what skrebbel said. write more.
added on the 2011-01-29 18:44:36 by xernobyl xernobyl
Scene Award Material for Dummies
added on the 2011-01-29 19:21:25 by Zavie Zavie
good one :)
added on the 2011-01-29 19:50:13 by ferris ferris
Exceedingly clever!
added on the 2011-01-29 19:57:26 by ara ara
Thanks UNC
added on the 2011-01-29 20:06:09 by AGL AGL
Am Ende kochen sie alle sowieso nur mit Wasser! ;))
added on the 2011-01-29 20:09:17 by Salinga Salinga
I wonder how they made the audio.. Okay, it's just noise+notes+tons'o'reverb, but somehow it has to fit into the 4k.

Any insights?
added on the 2011-01-29 21:37:54 by torus torus
Thumb up for this tutorial !!
added on the 2011-01-29 22:05:13 by magic magic
torus: butterflies involved. a lot of them.
cool!. now go make an article for hugi before magic comes up asking for it!
added on the 2011-01-29 22:30:30 by rmeht rmeht
Salinga: Wir kochen mit Benzin!
added on the 2011-01-29 22:40:55 by las las
Quite is by far my favorite group right now. It's just scary how unc can mess around with math, fractals and noise to come up with something truly beautiful. Amazing.
added on the 2011-01-29 23:03:11 by pixtur pixtur
rmeh: LOL.. :)
added on the 2011-01-29 23:04:26 by magic magic

login

Go to top