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

Is there any methods for drawing on intermediate buffers? #977

Closed
xilec opened this issue Sep 15, 2015 · 6 comments
Closed

Is there any methods for drawing on intermediate buffers? #977

xilec opened this issue Sep 15, 2015 · 6 comments
Labels

Comments

@xilec
Copy link
Contributor

xilec commented Sep 15, 2015

Is there any API in Piston for drawing lines, simple figures and text on intermediate buffers?
I suppose it sould be solution for issues like that Vinatorul/minesweeper-rs#22

@46bit
Copy link

46bit commented Mar 5, 2019

As far as I can tell there still isn't a way to do this. I'm surprised as it makes piston unsuitable for non-trivial dynamic graphics. 🙁

@bvssvni
Copy link
Member

bvssvni commented Mar 5, 2019

@46bit
Copy link

46bit commented Mar 5, 2019

@bvssvni Awesome, thank you!

@46bit
Copy link

46bit commented Mar 6, 2019

Drawing to that buffer is quite slow but does work for this use-case.

@bvssvni
Copy link
Member

bvssvni commented Mar 6, 2019

I also believe there is a way to read the framebuffer through OpenGL, but I haven't tried it. The framebuffer is a GL object similar to a texture.

@bvssvni
Copy link
Member

bvssvni commented Apr 30, 2024

Closing.

@bvssvni bvssvni closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants