Re: capture images in the animation loop

Checking the weather forecast it seems the funniest think to do, so I plan to work on it this (long) weekend :-)

If you have any ideas and extra documentation, please throw them in.

For the playback module I was thinking to start with a widget providing some simple controls, like start/stop recording, playback, render to movie file, etc. When this is attached to a display it listen for changes in the projection control of that display and record them together with timing information. From this info I can replay everything and capture the display content - display possibly loaded with a more complex scene (more data references, or data containing more samples etc.). It sounds simple and I did it once - worked fine, provided that the user is willing to wait long enough for rendering and saving every single frame.

That is the starting point. Any thoughts?

Cheers,
-iulian

P.S.
idea: I'm not sure I'm not just dreaming, but it may be possible to "save" the display to a RTP stream (using JMF) so we can have a broadcast server - people can watch a live demonstration of your application using a common rtp player, like realplayer. Need to check on this and do some testing :-)

Wilson, Andrew, J wrote:
In case someone is going to work on this, I mention that
there is some code here

http://java.sun.com/products/java-media/jmf/2.1.1/solutions/J
pegImagesToMovie.html

that will convert a collection of JPEG images to a movie to
.avi or quicktime using JMF. I'm guessing that starting from
this it would very quickly be possible to get the same
functionality as offered by visad.data.qt.QTForm

I also have some suggestions for a more sophisticated
playback module. In the past I have used keyframe animation
systems in order to generate movies where individual frames
could not be generated in real time. I think that if such a
system were to be implemented well for VisAD then this is
potentially "killer" functionality that would draw users and
developers like a honeypot.

Regret I have neither the competence nor time to build this
myself but I can provide info on how it has been done in
other systems and I will also volunteer to so some user
testing.

Perhaps the best key frame animation system I have seen was
inside AVS: why not reverse engineer this approach? I can probably find some documentation on this if that would
help.

Andrew


-----Original Message-----
From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx]
Sent: 10 February 2003 21:10
To: Iulian Musat
Cc: visad-list@xxxxxxxxxxxxx
Subject: Re: capture images in the animation loop


Hi Iulian,


If anyone interested I can actually spend couples of days

(
week-ends

;-) ) on :
1 - VisAD file form for JMF supported media types
2 - a simple playback module - useful for presentations

(design

suggestions are more than welcome)

As Curtis said, a VisAD file form for JMF, or for any new
format, is always very welcome. If you have one and want
to serve it, we would like to add a link from the VisAD
web page. We could also add your code to our source
distribution, as long as it works and conforms to JDK 1.2.

Cheers,
Bill


______________________________________________________________________
BG Energy Holdings Limited (a member of BG Group)
Registered in England No: 3763515
Registered Address:
                        100 Thames Valley Park Drive
                        Reading
                        Berkshire   RG6 1PT   UK
Telephone:              +44 (0) 118 935 3222
Website:                http://www.BG-Group.com

This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, please advise us immediately if you are not the named addressee or the person responsible for delivering the message to the named addressee. The contents should not be disclosed to any other person nor copies taken.
______________________________________________________________________