Originally shared by JemU776
1. Background Info on Zooms:
When you zoom into a scene (you’re on the default zoom, @zoom reset = @zoom on 0 0 to 100% in 0) it goes smoothly. But sometimes, when you’re zoomed in and then trying to zoom out, it’ll curve.
Zoom code using symbols (you’d replace with numbers):
@zoom on X Y to #% in S
Legend:
X is the first number, it’s the x-coordinate, your zoom going from left to right or right to left (higher numbers to the right, lower to the left. These numbers change as you move across zones.)
Y is the second number, it’s up-down (higher numbers up, lower numbers down)
#% is the percentage (100% is default)
S is the time in seconds.
An example of a zoom:
@zoom on 49 113 to 105% in 0
2. Zoom Curving (When it will curve):
Now back to the topic of zoom curving. It will happen when your X Y coordinates AND percentage are different.
So, for example:
@zoom on 57 179 to 299% in 0 — > @zoom on 295 91 to 102% in 2
As you can see, the X Y from one zoom (57 179) changes when it goes to another zoom (295 91) both X Y are different. Same applies to the zooms (from 299 to 102) is different. Because X Y are different, and % is different, you will notice a curve.
3. Avoiding A Curve:
The first, easy way:
@zoom reset — > zoom to any area in scene (will not curve)
To avoid a curve and have it run smoothly, aside from starting from default zoom, when going from one area to another, you need to have the same #% or the same X Y coordinates.
Examples:
A. The case where X Y are the same when zooming from one place to another. the → means it goes from that zoom to another.
@zoom on 57 179 to 415% in 0 — > @zoom on 57 179 to 299% in 5
Notes: (no curve since X Y coordinates are same from one area to another). X Y = 57 179
B. The case where % is the same (X Y don’t have to be):
@zoom on 54 333 to 415% in 0 —> @zoom on 57 179 to 415% in 5
Notes: (no curve since % are the same from one area to another). % = 415%
If your Y are the same but X different, assuming percentage is different when going to another area, it will still curve. If your X are the same but Y different it will still curve when going to another area (again, assuming percentage is same).
4. Code to Test Out (can paste it into a script in one of your stories
Code showing smooth zooms vs curved zooms in action
EXT. ABBEY GARDEN - DAY
&zoom reset
&speechbubble reset
NARR
Right now, we’re on the default zoom.
Let’s zoom into a spot.
@zoom on 54 333 to 415% in 5
NARR
It runs smoothly.
Let’s zoom to different X Y values while percentage is same.
@zoom on 57 179 to 415% in 5
NARR
It ran smoothly.
Now let’s zoom out with same X Y coordinates.
@zoom on 57 179 to 299% in 5
NARR
It ran smoothly.
Now let’s zoom to an area with different XY values and different percentage.
@zoom on 295 91 to 102% in 2
NARR
Uh oh! It curves.
Changing the XY and % led the zoom to curve when we zoomed out.
NARR
So in order for smooth curve, you start from default, use same X Y or same % for your zoom.
NARR
If you think this will be bothersome, don’t fret because there is a way to get to your desired spot.
Let’s say I’m at this zoom: @zoom on 87 339 to 400% and want to get to @zoom on 49 113 to 105% (as you can see, different X Y and different percentage values).
First, let’s try the zoom.
@zoom on 87 339 to 400% in 0
@pause for 2
@zoom on 49 113 to 105% in 2
NARR
It curves! We can, using what we know do something like this:
@zoom on 87 339 to 400% in 0
@pause for 2
@zoom on 87 339 to 105% in 2.5 then zoom on 49 113 to 105% in 0.5
NARR
See what I did?
I zoomed from the current place I was at to another area that shared the same X Y (87 339) and then
I zoomed to my desired spot of zoom on 49 113 to 105% because it shares the same percentage (105%) from where I’m zooming.
Hope this makes sense!
What if your X are the same but Y value different?
Assuming percentage is also different when going to another area.
Let’s look at an example:
@zoom on 87 339 to 400% in 0
@pause for 1
@zoom on 87 113 to 105% in 2
NARR
Even though X (87) is same for starting and going to zoom, it still curves.
Let’s see the same scenario, but for Y (second value) this time. (Y =113)
@zoom on 49 113 to 415% in 0
@pause for 1
@zoom on 262 113 to 110% in 2
NARR
As we can see it curves.
So X Y need to be the same (no, not same like both numbers have to be 70 70 for one zoom).
I meant same as in the spot you’re zooming from (87 339) needs to the same as the spot you’re going to (87 339).
Or they can be different, but that means the percentage from one zoom to another in your scene will the same.
Thanks for checking this out!
&zoom reset