Forums > Jitter

subtitles with GL ?…

January 25, 2006 | 8:23 pm

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 //////
\\\\\\\\\\\\\\\\\\\\\\\\\\\\


January 25, 2006 | 8:29 pm

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

wes


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