Skip to content
Forum Archive

Pak-9 Avs 4 Se

8 posts

^..^#
overwhelming!

Great work! There are many presets i could look at for hours! Congrats!

By the way, do you really think that this is SIMPLE?????

ox=-1;
oy=1;
oz=0;

movx=-0.9;
movy=-0.3;
movz=-0.5;

x1=x;
y1=y;
z1=1;

cmovz=cos(movz);
smovz=sin(movz);
cmovy=cos(movy);
smovy=sin(movy);
cmovx=cos(movx);
smovx=sin(movx);

//rotation
x2=x1*cmovz-y1*smovz;
y2=x1*smovz+y1*cmovz;

x1=x2*cmovy+z1*smovy;
z2=-x2*smovy+z1*cmovy;

y1=y2*cmovx-z2*smovx;
z1=y2*smovx+z2*cmovx;

//tube
a=2*(sqr(x1)+sqr(y1));
b=2*(ox*x1+oy*y1);
c=2*(sqr(ox)+sqr(oy)-1);

t1=sqr(b)-a*c;
t=if(below(t1,0),-10,sqrt(t1));
t=(-b-t)/a;

//plane
flat=if(below(oy,0),10,0-oy/y1);

//intersect
a=min(flat,t);
chk=equal(flat,a);

//offset
x1=x1*a+ox;
y1=y1*a+oy;
z1=z1*a+oz;

//project
x=z1;
y=if(chk,x1*0.2-0.4,asin(sin(atan2(y1,x1))))+1.3;

But well done! I had to take a second look to get this one!
I must say this is really a very amusing and funny pack! Better than many a film
Tuggummi#
^..^

It is quite simple, because PAK-9 makes it simple. You'd be surprised how much good comment format in the new avs version has helped to understand how things work...



Oh and btw. Pak, you want autodetection for that crappy script of yours? 😛
Raz#
I despise autodetection with all of my being. Mainly because for some stupid reason every time i open an avs installer, the default location is a nonexistant folder on my desktop, which by the power of magical space elves, doesn't have a valid winamp installation in it.
PAK-9#
Yea autodetection would have been nice, I was hoping noone would notice because I set it to (program files)\winamp. Frankly I've lost interest in nsis, I'm making installers as simple as I can get away with at the moment :P
UnConeD#
"I despise autodetection with all of my being. Mainly because for some stupid reason every time i open an avs installer, the default location is a nonexistant folder on my desktop, which by the power of magical space elves, doesn't have a valid winamp installation in it."

Then reinstall Winamp to the right directory and join the crowd of people who don't have to enter the path manually in NSIS installers. Don't blame us for your messy computer :P.
PAK-9#
Originally posted by mysterious_w
balls. i just sent off another remix for the pack, like, 10 minutes ago. balls.
Dats unlucky.

I might do a silent update if i can be bothered.