Page 1 of 1

Taking a Snapshot

Posted: Sun Apr 13, 2014 10:46 pm
by fantasymew
According to this document http://simtk-confluence.stanford.edu:80 ... ing+Movies, I can click the camera button to save the view as image. But how to use API to invoke this action?

For example, if I type gfxWindowSendKey('x') in Scripting Shell Window, the action is the same as I click the +x view button.

Thanks for help.

Best regards,
Yu-Wei

Re: Taking a Snapshot

Posted: Mon Apr 14, 2014 12:50 pm
by jimmy
Hi Yu-Wei,

Many visualizer functions haven't been exposed for use from the API. We are working on updating the OpenSim visualizer and plan to have these functions available in the future.

Cheers,
-james

Re: Taking a Snapshot

Posted: Mon Apr 14, 2014 7:27 pm
by fantasymew
Hi, James,

Thanks for your reply. I expect there are more API functions in the future. Thanks. :D

Best regards,
Yu-Wei