If you have come here from Display then
your journey's almost over. If not then have fun trying to figure out
what's going on.
So far on our journey
through LRengine we've have not change the INI much.
Now lets play with it!
First let's double the Width
and Height in the INI and run one of the old examples.
You now have a resize
the output. As long the Width and Height are proportional
to
the Scene_Size then you'll
not lose any of the scene data
Now let's change
Initial_Frame=48
Final_Frame=72
and run one of the old examples.
You should have 24 output frames
numbered named 48 to 72.
As long
as the difference between Initial_Frame and Final_Frame
(render frame count)
is as the
same as the difference between SceneA1 and SceneA2(scene frame count)
then you can number
the output files the way ya like.
This is great for adding
an effect to the end of an animation.
Now there just two more variables left Force_Start
& Force_Stop.
They are like the Subset_Start_Frame,
Subset_End_Frame of the INI.
In fact if you use Force_Start
you have to set Subset_Start_Frame, more on that latter.
Force_Stop on the other hand
will stop no matter what Subset_End_Frame is.
But they are different, first Force_Start
& Force_Stop only use integers and then they
depend on the difference of SceneA1 and
Scene A2 values for there actions.
This works like this, if their difference
is 24 (24 frame animation) that means
Force_Start and Force_Stop
has to less than 24 and both has to greater than 0.
Let's try something using the Force.
Edit the example you've already
chosen add:
#declare Force_Start=12;
and run.
You got an error didn't you? We
forgot something.
LRengine can calc the(scene frame count) but to have the (render frame count)
correct
we need this formula:
(INI) Subset_Start_Frame =
(INI) Initial_Frame+ (POV) Force_Start
we have in the INI:
Initial_Frame=48
Final_Frame=72
we
need to edit the INI again with
Subset_Start_Frame
=60; 60=48+12
now run your example.
You should get
a 12 frame animation ranging from 60 to 72 that is a subset of the 24 frames.
It is
last half of the full animation.
Comment out or delete Subset_Start_Frame
from the INI
Then let's edit your example:
Comment out or delete #declare Force_Start=12;
#declare Force_Stop=12;
run that
You should get a 12
frame animation ranging from 48 to 60 that is a subset ot the 24 frames.
It is first half of the full animation.
You CAN NOT use the
INI statement Subset_End_Frame to do the same thing.
The Subset_End_Frame
statement changes the POV variable final_frame
that the engine uses
to calculate animation
frames and effects variables.
You can use Subset_Start_Frame
and Subset_End_Frame
from the INI together if
there difference is the same as
the SceneA frame count.
Why have this Force_Start & Stop
you could ask.
I use them mostly for testing an effect. But I'm
sure you can think of some uses.
I hope you liked our tour of the LRengine. Have Fun!