Beginer question
If i have a lot o super scopes how do you do a dynamic movement just for one of them?
22 posts
Originally posted by fastingaciuJFASI,jheriko
can u tell me how do i make from a super scope tu jump in an other . ex i amd a tringle and i whant like to move from one in other can u tell me how to do that?
Originally posted by blazBeen there. done that.
Jup JFASI, now we just need to put this Superformula into AVS 🙂 :S
Frame
rx=rx+rxd;ry=ry+ryd;rz=rz+rzd;
crx=cos(rx);srx=sin(rx);
cry=cos(ry);sry=sin(ry);
crz=cos(rz);srz=sin(rz);
Beat
rxd=rand(100)/10000-0.005;
ryd=rand(100)/10000-0.005;
rzd=rand(100)/10000-0.005;
Pixel
x1=(whatever x is); y1=(whatever y is); z1= (whatever z is)
x2=x1*crz-y1*srz;
y2=x1*srz+y1*crz;
x3=x2*cry+z1*sry;
z3=-x2*sry+z1*cry;
y1=y2*crx-z3*srx;
z1=y2*srx+z3*crx;
z2=1/(z1+2);
x=x3*z2;
y=y1*z2;
Nice dotty cube, kar-mAVS.FRAME=
// Movement Set
mx=mx+xrt; my=my+yrt ; mz=mz+zrt;
xt1=xt1+xr1 ; yt1=yt1+yr1;
zoom=zoom+bm;reg05=cos(zoom);
/* SIN & COS */
reg01=sin(mx) ; reg02=sin(my) ; reg03=sin(mz);
reg04=cos(mx) ; reg05=cos(my) ; reg06=cos(mz);
/* Aspect Ratio & MISC */
asp=w/h ; index=0;
BEAT=
// Responses
xrt=(rand(5)/100)-0.01;
yrt=(rand(5)/100)-0.01;
zrt=(rand(5)/100)-0.01;
// Random
xr1=(rand(60)/500)-0.05;
yr1=(rand(60)/500)-0.05;
POINT=
// Draw Object
xB= <x-axis> ; yB= <y-axis> ; zB= <z-axis>;
reg11=cos(xt1);reg12=cos(yt1);
/* Position Set */
x1=xb ; y1=yb ; z1=zb;
/* 3D Movements */
x2=x1*reg03-y1*reg06 ; y2=x1*reg06+y1*reg03;
z2=x2*reg05+z1*reg02 ; x3=x2*reg02-z1*reg05;
y3=y2*reg01-z2*reg04 ; z3=y2*reg04+z2 *reg01;
/* 2D Conversion */
iz=1/(z3+objs+if(reg05,-.4+reg05,0));
x=x3*iz;y=y3*iz*asp;
sizex=iz*szx ; sizey=iz*szy;
// Skip Behind Camera
skip=below(iz,0);