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?
As someone else pointed out: http://pastebin.com/9PRG1PfN . Dark magic.
okay here it is, once and for all:
first you have a very simple distance field:
then, generate some 'extrusion field' - just repeated cubes:
intersect (max) it with the original field:
and add(min) original field (+some small value,) there:
repeat with different 'extrusion field':
here is the same thing in 3d:
now, generate some random-wtf-rectangle-noise texture on geometry:
and as postprocessing, do edgedetection/sobel (probably with some color variation as here):
to get some glow, use ray-iteration-count-divided-by-max-iterations or something
here is textured geometry (plus a sphere on background), plus glow, plus a bit of color/gammacorrection
as simple as that...
first you have a very simple distance field:
then, generate some 'extrusion field' - just repeated cubes:
intersect (max) it with the original field:
and add(min) original field (+some small value,) there:
repeat with different 'extrusion field':
here is the same thing in 3d:
now, generate some random-wtf-rectangle-noise texture on geometry:
and as postprocessing, do edgedetection/sobel (probably with some color variation as here):
to get some glow, use ray-iteration-count-divided-by-max-iterations or something
here is textured geometry (plus a sphere on background), plus glow, plus a bit of color/gammacorrection
as simple as that...
forgot to multiply that texture with ambient occlusion/lightness, but it is very close anyway
unc <3
that's the best tutorial i read in ages, btw.
wow. that's a really good visual explanation of it. sure worth more than copy pasting shader code in here.
awsome!
UNC the magician !
Yep, that was great. What about the 'waveform-like' textures though? Is it just a by-product of the edge detection?
good post unc!
what skrebbel said. write more.
Scene Award Material for Dummies
good one :)
Exceedingly clever!
Thanks UNC
Am Ende kochen sie alle sowieso nur mit Wasser! ;))
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?
Any insights?
Thumb up for this tutorial !!
torus: butterflies involved. a lot of them.
cool!. now go make an article for hugi before magic comes up asking for it!
Salinga: Wir kochen mit Benzin!
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.
rmeh: LOL.. :)