danini-the-panini / mittsu

3D Graphics Library for Ruby.
https://github.com/danini-the-panini/mittsu
MIT License
508 stars 33 forks source link

Rendering on Demand #113

Open tbr00 opened 1 year ago

tbr00 commented 1 year ago

Is there a way to render on demand for a case where there is no animation and the scene does not change unless there is explicit user input from the mouse of keyboard? All of the examples use the glfw_window.run method which calls glfwPollEvents. I'm thinking something similar that uses glfwWaitEvents instead is what may be needed, but I am completely new to this, so any guidance would be appreciated.