ViewVC logotype

Log of /trunk/pyvisi/test/python/run_movie_with_lazy_evaluation.py

Parent Directory Parent Directory | Revision Log Revision Log

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

Revision 1376 - (view) (annotate) - [select for diffs]
Modified Wed Jan 9 01:38:18 2008 UTC (11 years, 6 months ago) by gross
File length: 3680 byte(s)
Diff to previous 1199
inserted sys.exit(1) into the tests so scons can detect the failure of the test. 
A similar statement has been removed from an earlier as it produces problems on 64bit Linux. Previously exit(0) was called in case of success but now this is not done in order to avoid a fatal end of the program. in the case of an error in the test there could be a fatal error so but I guess that this not really a problem.

PS: the fact that signal 0 was returned even for the case of an error lead to the illusion that all tests have been completed successfully.

Revision 1199 - (view) (annotate) - [select for diffs]
Modified Wed Jun 20 05:01:30 2007 UTC (12 years, 1 month ago) by jongui
File length: 3631 byte(s)
Diff to previous 1197
- Updated the epydocs and guide.
Deleted redundant files and methods.
Tidied up the codes.

Revision 1197 - (view) (annotate) - [select for diffs]
Modified Mon Jun 18 02:08:34 2007 UTC (12 years, 1 month ago) by jongui
File length: 3751 byte(s)
Diff to previous 1194
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 (12 years, 1 month ago) by jongui
File length: 2944 byte(s)
Diff to previous 1191
- 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 (12 years, 1 month ago) by jongui
File length: 2944 byte(s)
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