|
|
The spline-type "impulse" will prevent the user from constructing complex
switch-boxes, like:
#switch (frame_number)
#range (197,324)
#declare Focus=108;
#declare Aperture=0.75;
#break
#range (325,1000)
#declare Focus=182;
#declare Aperture=0.25;
#break
#else
#declare Focus=303;
#declare Aperture=1.5;
#end
Instead something like this can be done:
#declare FocusParameter =
spline {
impulse_spline
0,<303,1.5>
197,<108,0.75>
325,<182,0.25>
}
With the impulse spline then values of FocusParameter(0) to FocusParameter(196)
will never change and continuously stay at <303,1.5>
Then from FocusParameter(197) to FocusParameter(324) just the same, now the
values will not change as well, being <108,0.75>... and so on
Best rgds,
Holger
Post a reply to this message
|
|