PDA

View Full Version : Variables for the maths impaired


Ches Dragon
7th December 2002, 07:20
Having not done physics, my grasp on the variables is quite limited, Without a list of what variables do what I cannot really code in AVS. If someone could shed some light on what all the important variables are ( I hope I have the term correct... :D ) are, I could code much better.

for example

what does 't' control,

Hope you can share with me all your wisdom. :D

UnConeD
7th December 2002, 14:31
All variables used by AVS are mentioned in the texts that accompany the effect. Read them please... undocumented are:

Dynamic movement:
(x,y) for rectangular (range -1 ... 1)
(d,r) for polar/non-rectangular (distance and rotation)
alpha: transparency of the current gridpoint of the movement, range 0..1 (only used if Blend is on, or if "No Movement, blend only" is used)
w,h: idem as scope

Any other unmentioned variables (such as t) are defined yourself. 't' is commonly used as a time indicator which is reduced/increased by a constant every frame.

dirkdeftly
7th December 2002, 18:54
fyi: this belongs in the general avs forum, not in avs troubleshooting.

check out my AVS Primer: http://atero.deviantart.com/gallery

Ches Dragon
9th December 2002, 06:39
I would like to help you in that Primer, Although I may horribly lack coding skills, my skills with aesthetics and trance relaxation schemes Is what I would imagine as good. Hopefully we can help eachother, I might put a little something together adn email it in :D