jit.gl.text keep the text displayed

bluelemur's icon

Hello!

a maybe stupid question on jit.gl.text, how do I keep a previous text displayed on the screen when I enter a new one?

thanks

p.

TFL's icon

Depends on what you want to achieve.

If you provided an example patch we would have a better idea of what you mean and want.

If you want the previous text to still be editable, moveable, etc. then it need its own, independent [jit.gl.text]. If you deal with 2, maybe 3 iterations of text, maybe you can handle that all by yourself using 2 or 3 [jit.gl.text]. If you want more history, check [jit.gl.textmult];

If you want the previous text to still be on screen as ghost texture, search for the pass.smear example patcher.

And what might be the most simple approach: if you want your new text to be following the previous one, why not using the same [jit.gl.text] but just concatenate your previous text with the new one.

Rob Ramirez's icon

simplest implementation of option 2:

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


bluelemur's icon

Thanks a lot!

p.