Go Back   Winamp Forums > Visualizations > AVS > AVS Troubleshooting

Reply
Thread Tools Search this Thread Display Modes
Old 3rd February 2003, 15:33   #1
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
Smile 3D rotation

Hi, I'm new here, so I hope this is the correct forum!

anyways, after working out my equation for converting 3D coords into 2D:

x=x1*z1/dst
y=y1*z1/dst

I am looking to implement rotation. I am working with superscopes, and have worked with winamp for quite a while, so most of the jargon you use i should be familiar with!

I have d/led el-vis's 3D t'ing and looked at his .txt file to go with it. I see the xs, xc etc etc and am wondering what it all means!

basically, what is this, along with the equations leading up to x,y,z4 and why are they there?
(It's all very well making scopes, but i like to know how it all works, and then make one myself!)

thankyou in advance, I hope I make sense!
Fish-face is offline   Reply With Quote
Old 3rd February 2003, 20:25   #2
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
first of all, don't use the el-vis method of 3D. it's slow and not very dynamic. download avs primer which has an explanation of 3D - a rough and non-precise one, but it works. i'll be updating it soon, and it'll have a better version...

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 4th February 2003, 07:14   #3
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
hrrrm...

Thanks! The AVS primer set t'ings out much better, along with other explanations
BUT...
It doesn't explain what:

x2=x1*sin(zt)-y1*cos(zt); y2=x1*cos(zt)+y1*sin(zt);
x3=x2*sin(yt)-z1*cos(yt); z2=x2*cos(yt)+z1*sin(yt);
y3=y2*sin(xt)-z2*cos(xt); z3=y2*cos(xt)+z2*sin(xt);

means, and this is what I want to know. also, exactly what x,y,zt mean would be useful.
Thanks again!
Fish-face is offline   Reply With Quote
Old 4th February 2003, 11:24   #4
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
xt, yt, and zt are variables used to rotate the 3-D object. Those three lines are an implementation of a rotation matrix, but since AVS doesn't support matrices, the crossproduct has to be spelled out. Basically, you can modify xt, yt, and zt to make it move. A complete explanation of 3-D will be coming out once Atero updates his primer(which I believe will be soon).
anubis2003 is offline   Reply With Quote
Old 4th February 2003, 15:11   #5
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
'Kay, i shall wait till then, then!
In the mean time, I will work on non-3D presets, and may well release a pack of them for reviewing.
Oh, and one question: what exactly do d and r mean in DMs?
r seems to be rotation, but d...?
anywho, thanks for help so far!
Fish-face is offline   Reply With Quote
Old 4th February 2003, 19:17   #6
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
And as I said in the primer...don't just use my code because it's there, use it knowing how it works and why. Again, I'll be updating soon, with a better explanation of all that....

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 5th February 2003, 07:29   #7
Jaheckelsafar
Major Dude
 
Join Date: Feb 2002
Location: home
Posts: 1,318
d = distace from 0,0

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 5th February 2003, 14:57   #8
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
thanks Jaheck
And don't worry Atero, I generally pick code apart before using it in anyway! (My dad conditioned me well...)
Fish-face is offline   Reply With Quote
Old 5th February 2003, 16:57   #9
Raz
Forum King
 
Raz's Avatar
 
Join Date: Dec 2002
Location: Manchester
Posts: 6,470
finally, a noob that dosent irritate the hell out of everyone, n1. GL with the avsing, took me ages to figure out 3d rotation. Pretty worthless post really but im exceptionally bored

Raz is offline   Reply With Quote
Old 6th February 2003, 06:32   #10
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
lol, so's this but hey!
I wouldn't consider myself a n00b, as I have worked on AVS for some time, but there we go!

p.s.
The link for PiMP seems to be broken, should I e-mail someone, and is there another place for me to get it?
Fish-face is offline   Reply With Quote
Old 6th February 2003, 06:41   #11
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
Quote:
Originally posted by Fish-face
Hi, I'm new here, so I hope this is the correct forum!
Quote:
Originally posted by Fish-face
I wouldn't consider myself a n00b
So which is it?
anubis2003 is offline   Reply With Quote
Old 6th February 2003, 14:42   #12
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
lol, i'm new here, but not to winamp.
basically, I meant I might not know conventions or whatever... but I ramble... *rambles pointlessly*
Fish-face is offline   Reply With Quote
Old 6th February 2003, 16:44   #13
Rovastar
Moderator
 
Join Date: Jun 2001
Location: London, England
Posts: 3,612
Send a message via AIM to Rovastar
Quote:
Originally posted by Fish-face

p.s.
The link for PiMP seems to be broken, should I e-mail someone, and is there another place for me to get it?
I cannot beleive people still use Pimp NSIS was the follow up to Pimp and now NSIS is open source and all the info you need is here

http://forums.winamp.com/showthread....hreadid=102650

I am pretty sure that Nullsofts Pimp has been official discontinued now and has been for some time.

I honestly want to reject AVS preset packs that have the old Pimp installer.

"Rules are for the guidance of wisemen and the obedience of fools"

Visuals - MilkDrop www.milkdrop.co.uk
New Visuals - Morphyre www.Morphyre.com
Rovastar is offline   Reply With Quote
Old 6th February 2003, 18:46   #14
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
okey dokey, then!
Fish-face is offline   Reply With Quote
Old 6th February 2003, 21:45   #15
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
fish-face, read the forum rules. signatures are restricted to three lines only.

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 7th February 2003, 14:41   #16
Fish-face
Junior Member
 
Join Date: Feb 2003
Posts: 27
This is what I mean when I say "i'm new here", hope this is better for ya!
Fish-face is offline   Reply With Quote
Old 14th February 2003, 16:19   #17
WHCode RED
Registered User
 
WHCode RED's Avatar
 
Join Date: Sep 2002
Location: My Computer! Posts: 257874
Posts: 69
Talking

Quote:
From AVS Primer:
This particular preet shows the ability to use one effect, and then
effect the effected effect without effecting the effect effecting the
effect.
It took me 6 times to understand that, although I still don't understand it!

BTW... You spelt preset wrong.
WHCode RED is offline   Reply With Quote
Old 14th February 2003, 17:53   #18
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
that's from the effect list preset, isn't it? i can't even figure that out
I'M BUSY UPDATING IT. keep your pants on.

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 14th February 2003, 18:59   #19
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
The verb is written as "to affect". That should clear up some confusion.

UnConeD is offline   Reply With Quote
Old 14th February 2003, 23:55   #20
Zevensoft
Major Dude
 
Zevensoft's Avatar
 
Join Date: Apr 2002
Location: Ballarat, Australia
Posts: 529
LOL Atero just wanted to put something in there to rival the old children's book authors.

1 | 2 | 3 | 4 | 3W | 4WW
Zevensoft is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Visualizations > AVS > AVS Troubleshooting

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 Off
HTML code is Off

Forum Jump