From: Bruce S. <Bru...@NC...> - 2009-10-20 02:18:33
|
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... >> |