From: gary r. <gr...@bi...> - 2012-08-22 04:08:46
|
You could also try your code using mayavi2's visual module http://docs.enthought.com/mayavi/mayavi/auto/example_mlab_visual.html I don't know what version of vpython it emulates, but if your code works in it, it will let you write the output directly. Gary R. On 22 August 2012 10:21, Ben Axelrod <be...@be...> wrote: > Thanks, but I was hoping for something slightly more automated than > taking a screenshot and cropping it. Even if that is done programatically. > > I am pretty sure there is a simple way to pipe the opengl buffer to disk > instead of the screen, and i was wondering if that feature was in vpython. > > Thanks, > -Ben > > > On 8/20/2012 10:24 PM, Aaron Titus wrote: >> There's a contributed program at: >> >> http://vpython.org/contents/contributed/movie.py >> >> that shows how to use ImageMagic to capture the scene. In this case, the images are captured after a specified time interval and then used to make a movie. >> >> Aaron >> >> On Aug 20, 2012, at 8:55 PM, Ben Axelrod wrote: >> >>> is there a way to capture an image of the current scene without opening >>> the view window? I'd like to programatically build a scene then take an >>> image of it. >>> >>> Thanks, >>> -Ben >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |