Personal tools
You are here: Home cmgui Wiki flypath movie frames
Views

flypath movie frames

last edited 2 years ago by nwar021

If you are trying to animate a movie from one viewpoint to another in cmgui then this attachment could be helpful....

To find out where your start and finish points are, enter into the CMISS command window: "gfx list win 1 comm" and the corresponding eye_point, interest_point, up_vector and view_angle will be given. (Other details will be given too - but these are the ones that need specifying in the .com file)

flypath.com

Supplementary Notes for Flypath.com flypath.com consists of two subroutines. The first of these is called write_frame and simply writes out a single frame in sgi format. The name of the produced file is specified in the variable $file_name which is inside the write_frame subroutine.

The second subroutine you will see is called flypath and is called as follows: flypath(\&write_frame, 1, 100, \@start, \@finish, \@midpoint);

This requires 6 inputs. The first of these is the name of the previously mentioned subroutine. The second and third inputs are the first and last frame number you wish to produce respectively. The remaining three inputs are start, finish and midpoints of the flypath. The mid point is not necessary and can be omitted. If this is done then the fly path is linear between the start and finish points.

Contributing to this site

Please add to the wiki any relevant information that you think might be useful to other users of this website. For example, you might like to contribute your experiences, questions and answers.

You are encouraged to contribute to this site regardless of your level of experience. Contributions are welcomed from new and regular visitors.

If you ask a question and receive an answer from a developer you should record it in the wiki. This information is extremely useful and can help other users overcome the same problem.

See how to add and edit pages for more information.