Movie zoom to canvas size ?

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
DeFleur
Posts: 41
Joined: Sat Feb 07, 2009 7:49 am
Location: Switzerland

Movie zoom to canvas size ?

Post by DeFleur »

With saving a design as a movie one can tick to zoom. So I thought this
will lead the frame rendering finally to zooming to the chosen canvas
size which did not verify. In creating a video with CF3 animation it would
be nice to show the finished design (the last movie frame) in canvas size
as a video still after the animation got finished including a zoom-in exactly
to the chosen canvas size. (I hope I expressed myself in an understandable way).
Is there a way to get there ??
kind regards from DeFleur

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Movie zoom to canvas size ?

Post by MtnViewJohn »

The zoom feature causes the contents of each frame to expand to fill the canvas. A smoothing function is applied as well. By "chosen canvas size" do you mean that you are setting the size (through CF::Size or the size directive)? I think that setting the size would defeat the zoom feature. I don't understand what you want.

User avatar
DeFleur
Posts: 41
Joined: Sat Feb 07, 2009 7:49 am
Location: Switzerland

Re: Movie zoom to canvas size ?

Post by DeFleur »

Indeed I meant CF::Size - so I now understand that 'zoom'-
saving means filling the canvas with last frame and 'no zoom'
means animation within CF::Size if set. I actually thought
about both - starting filling the canvas with the frames as they are
followed by an extra final zooming-in to the CF::Size which may
be even more attractive. I hope I could myself express clearly.
I don't want to stress anybody.
kind regards from DeFleur

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Movie zoom to canvas size ?

Post by MtnViewJohn »

I don't think that there is a way to add on an extra zoom after the design is finished drawing. Maybe you could do something with the CF::BorderFixed configuration variable to force zoom-out as the design nears completion. There is a function called frame() that progresses from zero during the first frame through one on the last frame. Instead of setting CF::Size you could have:

Code: Select all

CF::BorderDynamic = 0
CF::BorderFixed = (exp((frame() - 0.95) * A) + 1) * B + C
This would cause the border to be small for the first 95% of the animation and then increase dramatically for the last 5%. Play around with the A, B, and C parameters.

User avatar
DeFleur
Posts: 41
Joined: Sat Feb 07, 2009 7:49 am
Location: Switzerland

Re: Movie zoom to canvas size ?

Post by DeFleur »

Thank so much for advice.
kind regards from DeFleur

Post Reply