Open GL question
I know this is remedial but I'm somehow missing the key rendering openn GL in a matrix without enormous amount of flicker. I've checked the documentation but perhaps I'm just oblivious to how this works. I'm tryin to render some text via open GL over top of movie clips.
Thanks,
Casey
sorry as soon as I posted this I realized that it needed to go in the jitter forum
You're probably better of performance-wise using jit.lcd instead of
opengl to render text over a video.
wes
I was using a version of the subtitle patch that is in the examples, however from my reading it seemed that using open gl to render the text would shift the CPU load for the text rendering from my main CPU to my graphics card. Is that true? Also all of the text I get out of the LCD object looks fairly pixelated, regardless of the font. I gues I'm still in the dark as to how to effectively mix the open GL and matrix worlds.
Moving this thread to jitter...
Depends,
If you want the text back in matrix land, use jit.lcd.
If you want to keep everything in opengl land, use open gl objects to make text.
It's that simple.
wes
Having read your original email, I'm guessing that you were having
trouble with flickering because you were sending a matrix to a
jit.window that was also set as a gl.render destination. This simply
won't work the way you want it to. In order to get your video into
OpenGL, you will need to connect to a jit.gl.videoplane object. Here is
a simple example that demonstrates this:
Take note of the rendering order imposed by turning off @automatic and
using the trigger object.
Cheers,
Andrew B.
Thank you Wes and Andrew, what a great resource this forum is, Again Wallace sorry about the wrong forum thing.
Casey