EnDurA
22nd April 2003 02:44 UTC
tunnel dm
sorry if this has been posted before, i couldn't find anything searching. anyway, i am trying to create a 3d, tunneling dm for this preset, but am having dificult, i haven't my work so because, frankly there is none. any help would be greatly appreciated
anubis2003
22nd April 2003 02:56 UTC
Looks like it may be a good texture. To figure out how to do the DM try and look at other's tunnel presets for help.
Raz
22nd April 2003 03:27 UTC
Mod please shift to presets subforum.
Here's something off the top of my head so don't expect perfection. (yes i am that bored).
Frame:
t1=t1*0.9+rx1*0.1;
t=t+t1;
snts=cos(0.2*cos(2.1));
cnts=cos(0.4*sin(1.4));
sntc=sin(0.2*cos(2.1));
cnts=cos(0.4*sin(1.4));
Beat:
rx1=rand(50)/50;
Pixel:
x1=0.5+d*cos(r);
y1=0.5+d*sin(r);
x2=x1-y1;
y2=x1+y1;
x1=x2*snts+1*sntc;
z2=-x2*sntc+1*snts;
y1=y2*cnts-z2*snts;
z1=y2*snts+z2*cnts;
a=max(pow(x1,6),pow(y1,6));
z1=z1*(sqrt(a)/a);
x=abs(atan2(y1,x1));
y=t+z1*0.5;
alpha=1-abs(sqrt(z1));
all checkboxes checked.
edit: checked it. change alpha blending to:
alpha=1.6-abs(sqrt(sqrt(sqrt(z1))));
EnDurA
22nd April 2003 03:51 UTC
cool, thx raz (now to study and make own)