Prev Previous Post   Next Post Next
Old 22nd August 2006, 16:48   #1
fastingaciu
Major Dude
 
fastingaciu's Avatar
 
Join Date: Dec 2005
Location: Canada
Posts: 940
"Reg" help

I tryed to use the reg function with 2 supersopes 3d mattres but it just dosent work.

PHP Code:
/this is the control superscope

mx
=mx+mxb;
my=my+myb;
mz=mz+mzb;

cmx=cos(mx);
smx=sin(mx);
cmy=cos(my);
smy=sin(my);
cmz=cos(mz);
smz=sin(mz);

reg01=mx;
reg02=my;
reg03=mz;

reg04=cmx;
reg05=smx;
reg06=cmy;
reg07=smy;
reg08=cmz;
reg09=smz

PHP Code:
/and this is one of the superscopes frame

mx
=reg01;
my=reg02;
mz=reg03;

cmx=reg04;
smx=reg05;
cmy=reg06;
smy=reg07;
cmz=reg08;
smz=reg09

How come it doesn't work?

Those who can do, do; those who can't do, teach.
fastingaciu is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump