277 |
|
is simulated as being open for motion blur. |
278 |
|
Motion blur is computed by |
279 |
|
.I ranimove |
280 |
< |
using image-based rendering methods, and will not be exact. |
281 |
< |
The default value is 0, meaning no motion blurring. |
280 |
> |
using image-based rendering methods in a rather crude fashion. |
281 |
> |
A much better result is achieved by setting |
282 |
> |
.I MBLUR=0 |
283 |
> |
and using the |
284 |
> |
.I pmblur2(1) |
285 |
> |
command as a post-process, assigning the |
286 |
> |
.I ZNAME |
287 |
> |
and |
288 |
> |
.I MNAME |
289 |
> |
variables described below. |
290 |
> |
The default motion blur is 0. |
291 |
|
.TP |
292 |
|
.BR RATE |
293 |
|
This variable specifies the animation frame rate, in frames per second. |
337 |
|
(The |
338 |
|
.I \-f |
339 |
|
option is specified by default.)\0 |
340 |
+ |
.TP |
341 |
+ |
.BR ZNAME |
342 |
+ |
The base file name for the depth buffer output frames. |
343 |
+ |
This string should contain a |
344 |
+ |
.I printf(3) |
345 |
+ |
style integer field to distinguish one frame number from another. |
346 |
+ |
The final frames will use this name with a ".zbf" suffix. |
347 |
+ |
This is needed by the |
348 |
+ |
.I pmblur2 |
349 |
+ |
command to compute a better motion blur. |
350 |
+ |
There is no default setting for this variable. |
351 |
+ |
.TP |
352 |
+ |
.BR MNAME |
353 |
+ |
The base file name for the motion vector output frames. |
354 |
+ |
This string should contain a |
355 |
+ |
.I printf(3) |
356 |
+ |
style integer field to distinguish one frame number from another. |
357 |
+ |
The final frames will use this name with a ".mvo" suffix. |
358 |
+ |
This file is used together with the image and depth buffer by |
359 |
+ |
.I pmblur2 |
360 |
+ |
to compute a better motion blur. |
361 |
+ |
In this case, the |
362 |
+ |
.I MBLUR |
363 |
+ |
variable should be unset or zero. |
364 |
+ |
The file will contain 3 16-bit unsigned values per pixel. |
365 |
+ |
The first two are the x and y offsets to each pixel in the previous frame, |
366 |
+ |
with an offset of 32768 being no movement. |
367 |
+ |
The third value is 0 if the previous frame's pixel was on a |
368 |
+ |
different object, and 32768 if it was on the same object. |
369 |
+ |
There is no default setting for this variable. |
370 |
|
.SH EXAMPLES |
371 |
|
A minimal input file for |
372 |
|
.I ranimove |
422 |
|
.SH AUTHOR |
423 |
|
Greg Ward |
424 |
|
.SH "SEE ALSO" |
425 |
< |
fieldcomb(1), oconv(1), pfilt(1), pinterp(1), rad(1), |
425 |
> |
fieldcomb(1), oconv(1), pfilt(1), pinterp(1), pmblur2(1), pvalue(1), rad(1), |
426 |
|
ran2tiff(1), ranimate(1), rpict(1), xform(1) |