Open GL question


    Mar 01 2006 | 5:59 pm
    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

    • Mar 01 2006 | 6:03 pm
      sorry as soon as I posted this I realized that it needed to go in the jitter forum
    • Mar 01 2006 | 6:21 pm
      You're probably better of performance-wise using jit.lcd instead of opengl to render text over a video.
      wes
    • Mar 01 2006 | 6:27 pm
      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.
    • Mar 01 2006 | 6:35 pm
      Moving this thread to jitter...
    • Mar 01 2006 | 6:45 pm
      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
    • Mar 01 2006 | 7:03 pm
      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.
    • Mar 01 2006 | 7:26 pm
      Thank you Wes and Andrew, what a great resource this forum is, Again Wallace sorry about the wrong forum thing. Casey