ocornut / ocornut/imgui_test_engine
How to make screen capture and video recording working in backend examples of ImGui
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 629
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Thank you for fixing issue #69. I managed to get the app_minimal example to work. I'm now trying to get the screen capture and video recording to work in my own ImGui code. I have everything else from the test engine working in my own code. My ImGui code is based on the code in examples\example_glfw_opengl3.
In the app_minimal example an ImGuiApp instance is created in main. This is not the case in the ImGui examples, further more this ImGuiApp instance is also used in the ImGuiApp_ScreenCaptureFunc function. I have tried a couple of things, but I'm unable to get it to work and I haven't been able to find any examples that don't use the ImGuiApp instance. Can you point me to an example that has the same code structure as the examples in ImGui or should I switch to a similar setup as the app_minimal example or can you give me some pointers? Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the app_minimal example with examples\example_glfw_opengl3, focusing on how ImGuiApp is created and used by ImGuiApp_ScreenCaptureFunc. Determine whether the existing examples can support the requested code structure or whether an additional example or guidance is needed; done means a newcomer can follow a documented setup for screen capture and video recording.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100