View Full Version : Grid size in dyn move?
4th November 2001, 10:58
What exactly does the grid size mean in the dynamic movement trans. My guess is it changes the range of x and y, i.e. if grid size = 16x16
the range of x is -8 to 8 and the same for y. Am I correct?
If I am correct I'm still confused because changing these values seems to have no effect on my scopes.
Also what does the rectangular co-ordinates mean?
4th November 2001, 12:50
Rectangular coords use X and Y instead of R and D.
If you turn on rectangular coords, the window is divided into a certain number of sections, so as to keep the preset running fast. The grid size defines how many sections there are. For a more accurate movement, put higher numbers in, but that slows it down. For a less accurate, but faster movement, put lower numbers in.
It can also be useful for certain effects to have a low grid resolution.
4th November 2001, 13:02
Grid size is always used, regardless of polar or rectangular coordinates.
The idea behind it is that the dynamic movement is a very heavy effect. Recalculating every pixel-coordinate each frame would be impossible, so that's why the screen is divided into a grid. AVS calculates a position for each intersection on the grid, and uses interpolation (averaging from one value to the other) to achieve a smooth effect.
Usually a pretty low grid size will suffice, but sometimes you'll want to set it higher. Make sure that you don't make it unnecessarily big, because bigger grid = slower preset. You should also remember that the horizontal gridsize and vertical gridsize don't need to match. Gridsizes of 2x20 or 40x3 are acceptable.
As for rectangular coordinates, it means to use x,y (cartesian) coordinates instead of d,r (polar). In polar coordinates, a point is defined by its distance to the center "d", and the angle between the vertical line and the line connecting the point to the center (note that AVS puts 0 rotation vertically instead of horizontally, as is normally done). Polar coordinate-movements tend to produce more circular movements, instead of horizontal/vertical movements.
Rectangular coordinates is the way to go when you want to do advanced effects though.
4th November 2001, 13:38
Thanks for the help.
I think I've got the hang of it now. I still don't notice any change when changing the grid size, how do I check the FPS. I did try using d and r with rect co-ords, it seemed to cause the scope to rotate and a swirl. No great surprise when using
I've attached my work in progress.
4th November 2001, 20:22
FPS is shown in the lower left corner of AVS editor window.
17th March 2003, 12:23
Anyone in the mood for giving a little more detailed description on making DM's?
17th March 2003, 12:42
Search the forums and please don't revive old threads unless they are collecting threads (i.e. a list of something).
Look at the faq for some links.
ok, I am thinking about this for a lot of time, but I just can't figur it out.
I a lot of AVS, i notice variables like this:
i noticed this variables in a lot of AVS, and I am also wondering if i change xts to rds does it change the meaning of variable, and what do they realy mean
I hope i haven't done something wrong with asking this
9th June 2004, 00:27
Those are variables made by the user, AVS doesn't use them unless you assign one of them to one of the ones used by AVS(x,y,d,linesize, that stuff).
If you change their names you are likely to mess the preset up because it will probably depend on it later in the preset.
In this code(taken from one of my superscopes) if you were to change the variable called "t" to a variable called "fartbrain", it wouldn't work because later in the code the variable name is still called "t", but because that isn't the right variable, it won't work right.
Warrior of the Light
9th June 2004, 09:11
there are commonly used vars though. If t is used it usually stands for >t<imer and m for >m<ovement. In your example xm will probably stand for movement(shift) along the x axis.
9th June 2004, 17:38
Don't revive ancient threads with unrelated things. Post a new one.
9th June 2004, 18:00
Yeah stop it *clunk*
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.