Can I run 7 jit.world objects in the same patch without issues


    Jan 10 2017 | 2:13 am
    Hello Jitter users.
    I have a question about the jit.world object and if using many jit.world in a patch can be problematic.
    I’m building a patch for an artist and he will be using his patch as a kind of patchwork or bricolage that he will project on a screen.
    He wants to have in his patch many small jit.pwindow to play videos, fpic objects to show still images and also comment boxes.
    And all of these, he would like to easily be able to move them around and manipulate them.
    I’m wondering if there is some issues about running 7 jit.world context in the same patch?
    My goal is to render all my videos via the GPU.
    If all of the jit.world context are well named, should everything works fine?
    Thanks a lot for your advice.

    • Jan 11 2017 | 12:55 pm
      Maybe I have not been clear in my initial post.
      In the same patch, I want to have 7 jit.pwindow displaying different videos sometime all together and sometimes not.
      I have guessed that the best way to do this would be by using the jit.gl approach.
      What I'm asking is if it is possible to run 7 jit.pwindow in the same patch?
      And to have seven jit.gl context running in parallel?
      Could this cause conflict?
      Also, when a video is not playing, since during this time in the other jit.pwindow some videos might be still playing, is it better to turn off the automatic rendering in the jit.world object and turn it on only when I have to display a particular video?
      Hope my questions are clearer.
      Thanks for your help.
    • Jan 11 2017 | 3:35 pm
      Hi Doug, why you want 7 jit.worlds ?
      perhaps what you need is just one jit.world with seven jit.movie->jit.gl.videoplanes and then just using the attributes position and scale arrange the videos in the output screen.... ? use @output_texture 1 @unique 1 in jit.movie objects for better performance... maybe also @colormode uyvy... makes sense?
    • Jan 11 2017 | 7:20 pm
      Of course it make sense Carsol.
      I did not know that I could use only one jit,world.
      Your post really helped me.
      Thanks for your support.
      Best.
    • Jan 11 2017 | 8:03 pm
      It's me again.
      So I made this patch with only one jit.world and two videos to be displayed on two independent jit.pwindow.
      From there, I don't know how I can display both in their respective jit.pwindow.
      I guess I'm a bit confuse with the rendering context idea.
      If someone have any hint about what I'm missing here?
      Thanks again for any help.
    • Jan 11 2017 | 9:14 pm
      jit.gl.videoplane dosent outputs anything, you must connect jit.movie output to the jit.pwindow input
      if the installation is about showing the patch itself, then you don't need jit.gl.videoplanes and you can hide the jit.window with jit.world visible attribute
      hopefully you will be able to handle 7 jit.windows
    • Jan 11 2017 | 11:26 pm
      Thanks again Carsol for your help.
      Cheers.
    • Jan 11 2017 | 11:37 pm
      I highly recommend you go into the Documentation in Max and find the "Video & Graphics" tutorials series. This is a newer set of tutorials for Jitter and covers a lot of this stuff.
    • Jan 15 2017 | 2:36 pm
      Thanks for your advice Andrew.
      I was not aware of the existence of these tutorials.
      They actually helped me a lot.
      Cheers.