Could you provide getters for the postprocessing width and height ?
In a project I'm working on, my team found out that if the window is resized, the scene rendering (and thus postprocessing) stays within the original size of the window, the scene doesn't fill all the new space. ofxPostProcessing seems to be the culprit.
We found an easy fix : having a variable ofxPostProcessing post in the app, we found that setting post.width = windowWidth; and post.height = windowHeight; in the OF windowResized function does the trick.
However, these attributes are private and we had to tweak PostProcessing.h in the addon to make them public (that's ugly). I was a little astounded there was no getters for that.
Thank you for the awesome work :+1:
EDIT : sorry that's an non-issue, I just checked the most up-to-date version and they are here. I guess we used an old version...
Could you provide getters for the postprocessing width and height ?
In a project I'm working on, my team found out that if the window is resized, the scene rendering (and thus postprocessing) stays within the original size of the window, the scene doesn't fill all the new space. ofxPostProcessing seems to be the culprit.
We found an easy fix : having a variable ofxPostProcessing post in the app, we found that setting post.width = windowWidth; and post.height = windowHeight; in the OF windowResized function does the trick.
However, these attributes are private and we had to tweak PostProcessing.h in the addon to make them public (that's ugly). I was a little astounded there was no getters for that.
Thank you for the awesome work :+1:
EDIT : sorry that's an non-issue, I just checked the most up-to-date version and they are here. I guess we used an old version...