subtitles with GL ?...

dobyhal's icon

hi, jitter-list

i'm a little ashamed to ask this question, cause the task sounds so simple:

how can i put subtitles onto a movie with jit.gl. objects ?
i tried with jit.gl.text2d but it always gets overlayed by the movie rather than
the other way round. sending bangs to the jit.gl.text2d object before the movie
receives it, doesn't help either.

all i want is the textrendering stuff to be the topmost layer

which leads me to the general questions: how is the order of layers in gl
rendering defined ? if i send 2 jit.gl.videoplanes to a jit.gl.render object,
which one is topmost. would it work with text as well ?

sorry if this is all too obvious, but right now i'm stuck

oliver

--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\
///////////// http://klingt.org/ground/lift ////////////
\\\\\\ http://www.charmant-rouge.com \\\\\\
///////// http://klingt.org/executive-ensemble /////////
\\\\\\ http://klingt.org/~oliver/prb \\\\\\
////////////////////////////////////////////////////////
\\\\ LIVE-BUILDER (music improvisation tool): \\\
/////// http://klingt.org/~oliver/pd/live-builder //////
\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Wesley Smith's icon

Use the gl objects with @automatic 0 and draw the video before the
text2d by sending the draw messages in the appropriate order.

wes