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!
3D rotation
20 posts
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...
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!
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!
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).
'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!
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!
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....
d = distace from 0,0
thanks Jaheck
And don't worry Atero, I generally pick code apart before using it in anyway! (My dad conditioned me well...)
And don't worry Atero, I generally pick code apart before using it in anyway! (My dad conditioned me well...)
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
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?
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?
Originally posted by Fish-face
Hi, I'm new here, so I hope this is the correct forum!
Originally posted by Fish-faceSo which is it?😛
I wouldn't consider myself a n00b
lol, i'm new here, but not to winamp.
basically, I meant I might not know conventions or whatever... but I ramble... *rambles pointlessly*
basically, I meant I might not know conventions or whatever... but I ramble... *rambles pointlessly*
Originally posted by Fish-faceI 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
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?
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
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. 🙂
okey dokey, then!
fish-face, read the forum rules. signatures are restricted to three lines only.
This is what I mean when I say "i'm new here", hope this is better for ya!
From AVS Primer:It took me 6 times to understand that, although I still don't understand it! 🧟
This particular preet shows the ability to use one effect, and then
effect the effected effect without effecting the effect effecting the
effect.
BTW... You spelt preset wrong.😉 🤪
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.
I'M BUSY UPDATING IT. keep your pants on.
The verb is written as "to affect". That should clear up some confusion.
LOL Atero just wanted to put something in there to rival the old children's book authors.