jit.gl.videoplane resolution


    Aug 06 2014 | 6:13 am
    If I set the resolution of jit.qt.movie, is that resolution inherited to a jit.gl.videoplane?
    I am importing a simple image (a perfect circle that I created in photoshop) but it gets distorted. I would like to have it set up to show at native resolution but I'm having problems doing so. I can scale the videoplane as a work around but ideally, the image would load in it's native resolution. Most likely I'm missing something simple, but I have looked and looked and cannot find a solution. Anyone know the fix?

    • Aug 06 2014 | 8:17 am
      I'm no expert but my suggestion would be to explore the attributes of the jit.qt.movie object. @adapt 1 or maybe @highquality 1? I could be completely wrong of course.
    • Aug 06 2014 | 6:26 pm
      the easiest way to keep default aspect-ratio (in addition to @adapt 1 as mentioned) is to send to jit.gl.cornerpin @preserve_aspect 1.
      you probably also want to set @drawcorners 0 to hide the corner handles.
      if you want black in the background, make sure you set your gl.render @erase_color to 0 0 0 1