Forums > Jitter

alphablending in subtitles

April 3, 2014 | 7:50 am

hi folks!

i’m trying to mix a live video with subtitles. this works fine. now i want to have a smooth fade_in and fade_out for the subtitles. i thought i’d just control the alpha-channel of the font color. but this somehow only works for black, not for white and all the other colors.

has anyone an idea how to solve this? what am i doing wrong? thank you very much in advance!
maxi

Attachments:
  1. text.maxpat

April 3, 2014 | 8:14 am

yeah, that looks strange. but your patch seems tp work fine with jit.gl.text3d, maybe you can use that


April 3, 2014 | 8:29 am

yes, it works with jit.gl.text3d
strange, but thank you very much!


April 3, 2014 | 9:00 am

Interesting. Seems @blend alphablend for [jit.gl.text2d] is broken. But you can still use @blend_mode 6 7. Works fine on my computer – check attached patch (is based on yours, a bit ordered).

– Pasted Max Patch, click to expand. –
  • This reply was modified 6 months by  yaniki.

Viewing 4 posts - 1 through 4 (of 4 total)