openframeworks / openframeworks/openFrameworks
More generic way to use programmable renderer.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I wonder if we can have a slightly cleaner way of setting the app to use the programmable renderer?
Specifying a specific version of OpenGL seems like a strange way to enable the programmable renderer.
And maybe not as future proof or robust when sharing an app across different machines.
I think its great that you can specify a version if you want:
settings.setGLVersion(3,2);
but I think something like:
settings.useProgrammableRenderer(bool bUseMaxGLSettings);
where if false it uses the lowest GL version that OF supports in the non fixed pipeline, but with an option to request the max GL version supported by the OS as well?
curious what you think @arturoc also @bakercp as this sort of relates to the discussion of the main.cpp defaults.
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 existing settings.setGLVersion(3,2) usage and the discussion around main.cpp defaults. Determine how programmable-renderer selection currently depends on the requested OpenGL version, then clarify the API and behavior for selecting the lowest supported non-fixed-pipeline version versus the OS maximum. Done means the proposed interface and compatibility behavior are agreed and documented with appropriate tests or examples.
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
- Mostly clear
- Newbie friendliness
- 35/100