openframeworks / openframeworks/openFrameworks
ofBaseRenders needs an enable() and disable();
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
currently with the cairo workflow if I want to save out just one frame on a key press there is no easy way to do this.
If I do it via ofSetDefaultRenderer it tries to delete the cairorenderer instead.
Ideally I would add both renderers but set cairo disabled - then when I want to save a frame I would enable cairo and then disable again. disabling cairo would cause the pdf to be closed and saved to disk.
also it would be great to be able to change the cairo save path and type on the fly rather than just have it happening in setup.
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
Start by reading the cairo workflow around ofBaseRenders and ofSetDefaultRenderer, as named in the issue. Determine how renderer enable/disable state, PDF closing, and save path/type changes should work; done means a cairo renderer can be enabled for a single frame, disabled to save the PDF, and reconfigured during runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100