Subtitles (text) in jit.gl.videoplane.

imaginatio's icon

Hello All:

Im very new to GL and am having trouble adding text. I would like to "Make my Own Subtitles" as it is in Jitter Tutorial #29, but I'm having trouble doing this in the patch that i have. Ideally, I would like the text to appear above the jit.grab image (or the video square on the bottom left). I would appreciate any help.

Thanks!!

Max Patch
Copy patch and select New From Clipboard in Max.

here is the patch as it is now:

Home Surgery's icon

https://cycling74.com/forums/dynamic-2d-text-over-video
I recently made this to get some help with text as well.
Maybe we could team up ;) Just posted what I have in there as well. You should check it out, there are some things I struggled a bit to find out some days ago.

Max Patch
Copy patch and select New From Clipboard in Max.

Here is what I did with your patch. You'll probably want to mix stuff around but it is a good start.

Home Surgery's icon

Does it work for you? Just curious...

imaginatio's icon

WOW!!

yes. thank you so much! this is exactly what i was looking for. i am newish to max and this really cleared things up for me. thanks again!

Noisey Parker's icon

Your patch is great! I can't quite get it to work with this videoplane based patch. I tried renaming the videoplanes, but I think there's an issue caused by using jit.world and not jil.gl.render. Can you advise at all?

FragmentedPNG.zip
application/zip 2.46 MB

Rob Ramirez's icon

you just want text overlaid on top of your scene? simply add a jit.gl.text and set the layer value higher than the videoplane layers of your scene (e.g. @layer 10)

Noisey Parker's icon

Thank you, that's great! Is there ny way to make a jit.gl.text behave like the LCD where you can have words and even letters in the same window and different sizes colours and fonts?