From: Bruce P. <bap...@te...> - 2002-07-23 21:43:18
|
Is there any code available to save individual frames as bit maps (e.g. bmp files on windows or something more sophisticated such as gif files). The idea is that a sequence of these can be made into a movie-- both for portability and for instances when the real time performance of vpython is slow (I know you lose the interactivity, but in some cases it would be worth it). Bruce Peterson Terastat, Inc Information Access Systems Voice (425) 466 7344 Fax (206) 350 3685 |
From: Bruce S. <bas...@un...> - 2002-07-24 00:06:12
|
The only thing I know of immediately available is the Pov-Ray export facility (see http://vpython.org home page). This module lets you export individual frames as Pov-Ray scene descriptions. Then you can use Pov-Ray (which is cross-platform freeware) to render the scenes (in glorious ray-traced glory). After that you could use some freeware program to stitch the frames together as a movie. It would be nice to have a lighter-weight scheme for generating, say, a set of gifs. Bruce Sherwood At 02:43 PM 7/23/2002 -0700, Bruce Peterson wrote: >Is there any code available to save individual frames as bit maps (e.g. >bmp files on windows or something more sophisticated such as gif files). >The idea is that a sequence of these can be made into a movie-- both for >portability and for instances when the real time performance of vpython is >slow (I know you lose the interactivity, but in some cases it would be >worth it). |
From: jon s. <js...@so...> - 2002-07-24 01:48:28
|
The Python Imaging Library has some simple and elegant routines that ought to be applicable for this. http://www.pythonware.com/products/pil/ ------------------------------------------ Jonathan Schull, Ph.D. Founder and President SoftLock.com dba Digital Goods Sc...@Di... recent bio: http://conferences.oreillynet.com/cs/p2pweb2001/view/e_spkr/1017 weblog: http://radio.weblogs.com/0104369/ 978-764-1058 cell and v-mail 585-242-9497 landline 978-246-0487 fax ------------------------------------------ > -----Original Message----- > From: vis...@li... > [mailto:vis...@li...]On Behalf Of > Bruce Sherwood > Sent: Tuesday, July 23, 2002 9:06 PM > To: Bruce Peterson; vis...@li... > Subject: Re: [Visualpython-users] animation > > > The only thing I know of immediately available is the Pov-Ray export > facility (see http://vpython.org home page). This module lets you export > individual frames as Pov-Ray scene descriptions. Then you can use Pov-Ray > (which is cross-platform freeware) to render the scenes (in glorious > ray-traced glory). After that you could use some freeware program > to stitch > the frames together as a movie. > > It would be nice to have a lighter-weight scheme for generating, > say, a set > of gifs. > > Bruce Sherwood > > At 02:43 PM 7/23/2002 -0700, Bruce Peterson wrote: > >Is there any code available to save individual frames as bit maps (e.g. > >bmp files on windows or something more sophisticated such as gif files). > >The idea is that a sequence of these can be made into a movie-- both for > >portability and for instances when the real time performance of > vpython is > >slow (I know you lose the interactivity, but in some cases it would be > >worth it). > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Matthew K. <mak...@un...> - 2002-07-24 14:31:11
|
I'm not sure if exporting to Pov-Ray first is absolutely necessary. There are software products out there that allow you to take screen caps or create videos from anything on your computer's screen, including presumably the VPython graphics window. Try looking at: <http://www.techsmith.com> who make SnagIt for taking screen shots and Camtasia for making videos. -Matt Bruce Sherwood wrote: > The only thing I know of immediately available is the Pov-Ray export > facility (see http://vpython.org home page). This module lets you export > individual frames as Pov-Ray scene descriptions. Then you can use > Pov-Ray (which is cross-platform freeware) to render the scenes (in > glorious ray-traced glory). After that you could use some freeware > program to stitch the frames together as a movie. > > It would be nice to have a lighter-weight scheme for generating, say, a > set of gifs. > > Bruce Sherwood > > At 02:43 PM 7/23/2002 -0700, Bruce Peterson wrote: > >> Is there any code available to save individual frames as bit maps >> (e.g. bmp files on windows or something more sophisticated such as gif >> files). The idea is that a sequence of these can be made into a >> movie-- both for portability and for instances when the real time >> performance of vpython is slow (I know you lose the interactivity, but >> in some cases it would be worth it). > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <bas...@un...> - 2002-07-24 15:07:31
|
I tried those tools and had a hard time getting what I really wanted, though maybe I didn't use them properly. I think a better way might in fact be the PIL module advertised in Jon Schull's note, which has a method to capture a screen image and then manipulate it. Bruce Sherwood ----- Original Message ----- From: "Matthew Kohlmyer" <mak...@un...> To: <vis...@li...> Sent: Wednesday, July 24, 2002 10:31 AM Subject: Re: [Visualpython-users] animation > I'm not sure if exporting to Pov-Ray first is absolutely necessary. > There are software products out there that allow you to take screen caps > or create videos from anything on your computer's screen, including > presumably the VPython graphics window. Try looking at: > <http://www.techsmith.com> > who make SnagIt for taking screen shots and Camtasia for making videos. > > -Matt > |