From: John Z. <joh...@wa...> - 2009-10-20 14:49:09
|
Hi All, Bruce is certainly right that for publication quality images, something like the POVray export is the way to go. However, for animations I have to agree with those who suggest the benefit of some window grab utility. A resolution of 1024x768 or even 640x480 (ala Youtube) is plenty good for demonstration movies. We frequently use these in our stereo visualizations. I use the PIL image grab method on Windows and xwd on linux for grabbing frames. It would be nice to have a platform independent way of doing this for any Vpython visualization. So I give a +1 to consideration this feature in a future version. --John On Monday 19 October 2009 20:44:01 Bruce Sherwood wrote: > But that's the fundamental problem. If I understand your note correctly, > you want "decent image resolution". The only way I know to get that is to > use ray-tracing, through POV-ray, which is time-consuming, but no bitmap > image can give comparable results. Moreover, the real-time shading in > Visual is no match for ray-tracing, no matter what the resolution in dots > per inch. > > However, as was pointed out you might be able to get by with using a very > large Visual window on a very large monitor, if the dots per inch is > adequate for your purposes and you can tolerate the shading and lighting > done by Visual. > > Bruce Sherwood > > Samuel Pelaez wrote: > > Hi guys, > > > > I definetly agree with Anders. In my work I use Visual to make an > > animation of the time evolution of a system of particles. In order to > > save such an animation I must save each frame using the povexport module > > and then compile every frame with povray. Finally I create the proper > > gif animation. > > > > However the povray compilation is very time-consuming if you want to get > > a decent image resolution. If there is a "native" way (as native as > > C/C++ can be in vpython) to take screenshots within vpython, it would > > make things easier and most probably less time-expensive. > > > > Samuel. > > > >> El 19 de oct de 2009, 10:31 p.m., "Guy K. Kloss" <g....@ma... > >> <mailto:g....@ma...>> escribió: > >> > >> On Tue, 20 Oct 2009 09:23:41 Anders Wallin wrote: > Could this perhaps > >> be wrapped as a separate pyth... > >> > >> Visual is mainly C/C++. So I assume that could (easily) be added and > >> exposed > >> through the Boost.Python wrappers to make it all work. > >> > >> Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences > >> Te Kura Pūtaiao o Mōhiohio... > >> > >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA > >> is the only developer event you... > > --------------------------------------------------------------------------- >--- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is > the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users -- John M. Zelle, Ph.D. Wartburg College Professor of Computer Science Waverly, IA joh...@wa... (319) 352-8360 |