From: Ben A. <be...@be...> - 2012-08-21 01:20:31
|
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 |
From: Aaron T. <hpu...@gm...> - 2012-08-21 02:24:47
|
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 |
From: Bruce S. <Bru...@nc...> - 2012-08-21 05:36:31
|
Also see http://vpython.org/contents/FAQ.html On Mon, Aug 20, 2012 at 6:55 PM, Ben Axelrod <be...@be...> 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 |
From: Ben A. <be...@be...> - 2012-08-22 00:22:00
|
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 > |
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 |