-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VCA-1 produces visual glitches #9
Comments
For me it fills entire window with green only if its value is set below But also, the following separators drawing procedure works in a strange way: https://github.com/VCVRack/Fundamental/blob/v2/src/VCA.cpp#L256-L262 And what's interesting, it renders correctly in the plugin browser, but not in the live mode. |
You are correct that this only happens if value is below Before digging deeper into this, we need to see if the same happens with VCV as well. The v2 branch. |
At least the latest binary build of Rack v2 is not affected by this issue. I think it has something to do with the way NanoVG operates in the Cardinal (GL?) environment. Maybe debugging the wrong drawing of the separators will give some answers. |
good to know, thanks for checking. I did some quick testing, and the area within the "meter" is simply not being drawn. if we extend the green area we can see the middle point where it should be drawn is the section where it is not. |
Yes. It's omething wrong with them. I have some ideas to test. Gonna try to debug it. |
already found something, this code for the separators works:
basically drawing each path separately. so this is just joining each path together when drawing...? |
You found it! :) I will try to search for anything related. |
I also had no luck despite trying many things. |
Patch-fix has been submitted upstream in VCVRack/Fundamental#129 |
Since I take it that upstream is pretty much never going to respond to that, I just setup a fork https://github.com/CardinalModules/Fundamental No more workarounds needed, plus we need to start forking a few modules to send patches upstream. Otherwise my falkTX account will be flooded with forks. |
Not sure if issue with VCV or Cardinal.
But having this module on the board makes the entire plugin window green.
Moving VCA out of the way mitigates the issue.
Seems like the module is not closing/stopping a drawing operation properly, so the green used for its bars gets set for all modules.
The text was updated successfully, but these errors were encountered: