Forums > Jitter

scrolling text in a window


FP
March 18, 2009 | 6:34 pm

hi,

i suppose it’s very easy but my knowledge is to low to do it.
i have on screen a scrolling text with jit.gl.text2D, and i want it only in a little window
does somebody can help me ?
thx.

here’s a patch to explain :

– Pasted Max Patch, click to expand. –

March 18, 2009 | 6:45 pm

easiest probably to capture to texture, render to a videoplane, and position the videoplane wherever you like:

– Pasted Max Patch, click to expand. –


FP
March 18, 2009 | 7:57 pm

ok. i see.
and how to change the dimensions of this texture please ?
thx.
f./


March 18, 2009 | 8:33 pm

"dim" attribute to gl.texture. i think it can only be up to the size of the rendering context. you can change the rendering context size by setting the "size" attribute in your window. best to set this up with the inspector, and not mess with it once you start rendering.


June 14, 2013 | 1:46 pm

this was super helpful. cheers.


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