16:9 pseudolook in outview of an opengl render?


    Mar 30 2006 | 4:30 pm
    hi,
    i want to put a black rectancle on the top and bottom of a 4:3 opengl rendering outputwindow to have a (fake)look closer to 16:9 and a wider looking viewpoint... i don't want to lose the performanceadvantage of opengl rendering so i'm looking for a method at which i haven't switch to matrixoutput...
    attention i have an moving camera...
    greets
    peter

    • Mar 30 2006 | 5:08 pm
      Hi,
      I'm doing a similar thing for the 'rotor' performance. To get such a letterbox 16:9 view you can render 2 balck rectangles on top of your output. To do this you need to set all your geometry creating gl objects to 'automatic 0', and bang the jit.gl.sketch or whatever object you want to use for the black bars after the other openGL objects. I've added a small patch demonstrating the principle.
      max v2;
    • Mar 30 2006 | 6:17 pm
      Here is a version that works with jit.gl.handle.
      I was going to put it up as a tutorial, but its pretty well commented
      and its pretty easy to plug stuff into :)
      max v2;
      v a d e //
      www.vade.info
      abstrakt.vade.info
      I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
      LIVE! I LIVE! I LIVE! I LIVE!
      You will not be saved by the Holy Ghost. You will not be saved by the
      God Plutonium.
      In fact, YOU WILL NOT BE SAVED!