pouët.net

Go to bottom

oldschool demoeffect

category: code [glöplog]
try it on a tinyptc test window in software or smth if setting up shaders and all stuff irrelevant to the effect itself gets in the way of your focus. just saying.
added on the 2011-01-21 05:02:15 by superplek superplek
ara: actually i tried those plane-deformations from iq not long ago, and i made something similar many years ago.

superplek: yes.
added on the 2011-01-21 11:07:16 by rudi rudi
Rudi: To answer your original post -

It's a basic UV tunnel, with a slightly fattened aspect ratio.
I got the effect by using several 2d wave functions at different frequencies and phases displacing the UV coords, using some generic "phong" style texture typical of this era in demo scene computing ;)

You can do this very easily as a fragment shader.. atan2() and length() are you friends here.

Yes, the technique(s) MrDoob used for his plane deformations are very close to this!
added on the 2011-01-21 11:21:48 by Dune Dune
Dune: hey! from the coder himself! that's pretty awsum!
added on the 2011-01-21 17:27:23 by rudi rudi
i tried, this pretty much sucks:
http://www.home.no/rudibs/exe/intro.exe
added on the 2011-01-22 00:28:03 by rudi rudi
it's not that bad. but you need to subpixels to make it look fresh.
Could someone subpixel me too?
added on the 2011-01-22 11:35:48 by Punqtured Punqtured
I'd sample two times using 2 different transforms, and then pass these two colors through a magic function for blending.
added on the 2011-01-22 12:25:05 by xTr1m xTr1m

login

Go to top