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

Render to an image? #75

Open
ndbroadbent opened this issue Dec 27, 2018 · 2 comments
Open

Render to an image? #75

ndbroadbent opened this issue Dec 27, 2018 · 2 comments
Assignees
Projects
Milestone

Comments

@ndbroadbent
Copy link

ndbroadbent commented Dec 27, 2018

Hello,

Thanks for working on this awesome library! The examples have been really useful, and I've been able to hack together something that works.

Is it possible to render these scenes as an image? I couldn't find anything in the source code, and I'm not sure how to do it with OpenGL. It would be great if there was an example that rendered to an image, instead of opening the window.

This could also be quite useful for some test cases. You could render a scene to an image, and then compare the images with a perceptual hash.

@danini-the-panini danini-the-panini self-assigned this Dec 29, 2018
@danini-the-panini danini-the-panini added this to the 0.4.0 milestone Dec 29, 2018
@danini-the-panini
Copy link
Owner

It's not supported directly, but is definitely something that can be implemented.

@ndbroadbent
Copy link
Author

Thanks for the reply! I just wanted to check to see if I missed anything in mittsu or glfw. I didn't end up needing this, and I just took some screenshots and videos of the window. Feel free to close this if it would be too much work!

@danini-the-panini danini-the-panini added this to Future/ideas in Mittsu Jun 10, 2019
@danini-the-panini danini-the-panini moved this from Future/ideas to TODO in Mittsu Jan 20, 2021
@danini-the-panini danini-the-panini modified the milestones: 0.4.0, 0.5.0 Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants