Skip to content

Comments

Refactor to expose savePixels#2

Open
smeyfroi wants to merge 1 commit intomantissa:masterfrom
smeyfroi:Expose-savePixels()
Open

Refactor to expose savePixels#2
smeyfroi wants to merge 1 commit intomantissa:masterfrom
smeyfroi:Expose-savePixels()

Conversation

@smeyfroi
Copy link

This minor refactor allows pixels to be fetched from a GPU FBO, then to save those pixels as an EXR file on the CPU without roundtripping through an ofFloatImage, which depends on OpenGL. Which means that the slow "save to disk" process can happen on a worker thread once the pixels have been fetched.

This minor refactor allows pixels to be fetched from a GPU FBO, then to save those pixels as an EXR file on the CPU without roundtripping through an ofFloatImage, which depends on OpenGL. Which means that the slow "save to disk" process can happen on a worker thread once the pixels have been fetched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant