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
Old 22nd August 2006, 17:26   #2
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,079
Your code should work.. Can you post the entire preset?

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 23rd August 2006, 14:30   #3
fastingaciu
Major Dude
 
fastingaciu's Avatar
 
Join Date: Dec 2005
Location: Canada
Posts: 940
/problem fixed thanks to WOTL.

Those who can do, do; those who can't do, teach.
fastingaciu is offline   Reply With Quote
Reply
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