/[escript]/trunk/doc/examples/pyvisi/movie.py
ViewVC logotype

Log of /trunk/doc/examples/pyvisi/movie.py

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2536)

Revision 1201 - (view) (annotate) - [selected]
Modified Thu Jun 21 04:42:56 2007 UTC (15 years, 9 months ago) by jongui
File length: 1810 byte(s)
Diff to previous 1197
Added a pyvisi readme file for internal use (by Ken).

Revision 1197 - (view) (annotate) - [select for diffs]
Modified Mon Jun 18 02:08:34 2007 UTC (15 years, 9 months ago) by jongui
File length: 1797 byte(s)
Diff to previous 1194 , to selected 1201
Update the way movies are generated. Please refer to the examples. 

The user can now either specify the image range(first and last images inclusive):
mov.imageRange(input_directory = PYVISI_EXAMPLE_IMAGES_PATH,
        first_image = IMAGE_NAME + "000938.jpg",
		last_image = IMAGE_NAME + "000948.jpg")
mov.makeMovie(os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, "movie.mpg"))

or the user can specify a list of images:

lst = ['image1.jpg', 'image5.jpg', 'image7.jpg]
mov.imageList(input_directory = PYVISI_EXAMPLE_IMAGES_PATH, image_list = lst)
mov.makeMovie(os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, "movie.mpg"))



Revision 1194 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 05:53:49 2007 UTC (15 years, 9 months ago) by jongui
File length: 1558 byte(s)
Diff to previous 1191 , to selected 1201
- Fixed a minor bug in the Camera module.
- Added some extra capability to the Movie module.
- The Camera module now has the capability to perform parallel projection by calling the 'parallelProjectionOn' method.
- The Camera at this stage is only capable of zooming towards the rendered object using 'dolly'. However, it appears that 'dolly' cannot be used to perform zooming out.

Revision 1191 - (view) (annotate) - [select for diffs]
Added Tue Jun 12 05:54:41 2007 UTC (15 years, 9 months ago) by jongui
File length: 2245 byte(s)
Diff to selected 1201
A movie can now be generated within the python script itself by creating an instace of 'Movie'. The 'Movie' instance will in turn execute the 'ppmtompeg' command. The corresponding tests and examples have also been added.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26