-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
improve glsl pre-roll triangles #12100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good so far, no complaints from me, except that this is just the shader code atm with the code for the pre-roll still missing.
oops! pushed! |
could your please add before / after images to the description? |
done! (i personally like the filled rectangles better btw) |
Me too. The translucent fill is a nice compromise 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. code looks in good shape, mostly minor suggestions. I really like the look of the translucent anti-aliased triangles. Reminds me of the Vital synth.
…sing std::array for vertex data
@Swiftb0y I have addressed all comments, please mark the conversations as resolved when re-reviewed. |
Did so and also reviewed the new code. Thank you. |
done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, small nitpicks.
Co-authored-by: Swiftb0y <[email protected]>
…lsl-preroll-triangles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: JoergAtGithub <[email protected]>
Co-authored-by: JoergAtGithub <[email protected]>
@JoergAtGithub Aargh, the only thing I forgot to test myself! Thanks, I will fix this now. |
…e), added missing precision
@JoergAtGithub I have fixed the vinyl quality shader. If you confirm it works, this is ready for merge. |
Looks nice. My only objection regarding the previous look was that Software/GL/GLSL/Shader waveform rendering should be consistent. Is this the case now. |
With 50% transparency, it is 50% more consistent ;-) At least it is now clearly deliberate and can't be mistaken for a bug. So IMO it is "consistent" enough and sacrificing a bit of consistency for a nicer look makes sense. We could try to change the legacy waveforms to match this look, but I don't think that's worth the effort, particularly taking into account that there is already a lot of variation between the different waveform types. |
The color of the Vinylcontrol signal is now back. I'm not sure if the following is a regression, or was always the case, but when I drop the needle, I see the signal outside of the round area: Aufzeichnung.2023-10-20.232434.mp4Maybe it's just me, but I expected this to be masked as the Cover-Art. |
That would be as simple as swapping the draw order of the mask and the vinyl quality. But I took this order from the original spinny code, and changing this should not be part of this PR. Merge? |
Since it's not a regression, let's merge this as it is! |
Thank for this nice visual improvement @m0dB. Thank you for the thorough testing @JoergAtGithub. |
draw the glsl preroll and postroll markers with a patterned texture and some minor additional cleanups
fixes #12015 , initially bringing GLSL waveforms in line with the legacy waveforms, but after discussion going for a slightly different look (closer to the legacy waveform look but with a semi-transparent filling)
before:
initial after
final after (with this PR)