Winamp Forums > AVS 3D rotation

 3rd February 2003, 15:33 #1 Fish-face Junior Member   Join Date: Feb 2003 Posts: 27 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!
 3rd February 2003, 20:25 #2 dirkdeftly Forum King     Join Date: Jun 2001 Location: Cydonia, Mars Posts: 2,651 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
 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!
 4th February 2003, 11:24 #4 anubis2003 Forum King     Join Date: Dec 2002 Location: middle of somewhere Posts: 5,564 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). [Over The Monkey] | [My DeviantArt] | [Seti] | [Atmo Digital Design Forums]
 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!
 4th February 2003, 19:17 #6 dirkdeftly Forum King     Join Date: Jun 2001 Location: Cydonia, Mars Posts: 2,651 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
 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
 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...)
 5th February 2003, 16:57 #9 Raz Forum King     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
 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?
6th February 2003, 06:41   #11
anubis2003
Forum King

Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
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?

 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*
6th February 2003, 16:44   #13
Rovastar
Moderator

Join Date: Jun 2001
Location: London, England
Posts: 3,612
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

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

 6th February 2003, 18:46 #14 Fish-face Junior Member   Join Date: Feb 2003 Posts: 27 okey dokey, then!
 6th February 2003, 21:45 #15 dirkdeftly Forum King     Join Date: Jun 2001 Location: Cydonia, Mars Posts: 2,651 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
 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!
14th February 2003, 16:19   #17
WHCode RED
Registered User

Join Date: Sep 2002
Location: My Computer! Posts: 257874
Posts: 69

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.

 14th February 2003, 17:53 #18 dirkdeftly Forum King     Join Date: Jun 2001 Location: Cydonia, Mars Posts: 2,651 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
 14th February 2003, 18:59 #19 UnConeD Whacked Moderator     Join Date: Jun 2001 Posts: 2,104 The verb is written as "to affect". That should clear up some confusion.
 14th February 2003, 23:55 #20 Zevensoft Major Dude     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
 Winamp Forums > AVS 3D rotation