Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated screenshot generation #5

Open
unfa opened this issue May 10, 2018 · 4 comments
Open

Automated screenshot generation #5

unfa opened this issue May 10, 2018 · 4 comments

Comments

@unfa
Copy link
Collaborator

unfa commented May 10, 2018

In the Goals.adoc I've created two ideas for a system that could let us create and update screenshots automatically without having to re-shoot them all when the look of Zyn-Fusion changes.

I've asked @fundamental and he said it should be possible to have Zyn-Fusion provide screenshots itself from requested UI elements.

Maybe we could define a protocol to describe what should be screenshoted, maybe even ow it should be anotated and have all that be done automatically.

Then hopefully running one command will update all screenshots in the manual for a new Zyn-Fusion UI look or layout.

@fundamental
Copy link
Member

fundamental commented May 12, 2018 via email

@fundamental
Copy link
Member

This functionality was implemented while at LAC.
There is one bug with respect to obtaining the opengl context.

It makes it possible to change views, schedule events, send osc messages, define smaller regions within the GUI to take pictures of. Certainly there are also usability/quailty-of-life enhancements which should be added as well.

https://github.com/mruby-zest/mruby-zest-build/blob/master/scratch.rb is the current script to capture images that I've been using to build the system.

Comments/suggestions for improvement are welcome.

@unfa
Copy link
Collaborator Author

unfa commented Jun 2, 2019

Awesome!

@fundamental
Copy link
Member

See https://github.com/mruby-zest/mruby-zest-build/blob/master/user-manual-screenshots.rb for a more complete example for images which are currently used in the user manual. Images from newer changes still need to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants