Re: capture image
gary ruben <gruben-bzGI/[email protected]> Wed, 22 Aug 2012 13:55:12 +1000
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <CAExsOdacLif8M06_RRpNojN_8Ttph8CWXNoyPoYVw2E07e84XQ@mail.gmail.com> |
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 <[email protected]> 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 >>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> 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 > Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > 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/