openframeworks / openframeworks/openFrameworks
ofFbo needs better support for MRT
Open
Nobody has claimed this yet.
core
feature
section-3D
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
ofFbo does support MRT, but it is not very flexible i regards to targets of various formats, nor is it possible to set the format and attachment of the render buffer.
I suggest:
- createAndAttachTexture() and createAndAttachRenderbuffer() are made public.
- adding a function called attachTexture(const ofTexture& tex) that allows attaching various types of textures.
- making all private variables and functions "protected", so that it becomes easier to inherit from ofFbo.
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 locating the ofFbo implementation and its current MRT setup. Review createAndAttachTexture(), createAndAttachRenderbuffer(), texture attachment, and the requested protected inheritance surface. Done means the requested target formats and attachments are supported while existing MRT behavior continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100