anim_lookat [-f #] [-v] in.table out.script
anim_lookat - [y | q] [-v] in.table out.table
This program takes as input a seven-column animation table consisting of time, an eye point, and a "look-at point," and prints a view animation script to control the virtual camera. The camera always remains "right-side up"; that is, it yaws and pitches but doesnt roll. In cases where the camera looks vertically up or down, the yaw from the previous frame is retained. This avoids sudden jumps as much as possible.
-f#Specify an integer with which to begin numbering frames. The default is 0.
-yThe output will be an animation table rather than a view animation script. The output table has 7 columns: a time column, three columns representing position, and three columns representing yaw, pitch, and roll.
-qThe output will be an animation table rather than a view animation script. The output table has eight columns: a time column, three position columns, and four columns representing the x,y,z, and w coordinates of an orientation quaternion.
-vInclude the viewsize in the output script or table. The viewsize is calculated in every frame as twice the distance from the eye point to the lookat point. If the output is a table, then the viewsize is printed in the second column.
Carl J. Nuzman
This software is Copyright (c) 1993-2013 by the United States Government as represented by U.S. Army Research Laboratory.
Reports of bugs or problems should be submitted via electronic mail to <firstname.lastname@example.org>.