Can I run 7 jit.world objects in the same patch without issues
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.
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.
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?
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.
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.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 1323.3oc0Ys0aihCE94zeEHdNMx1.AXep6qqz9z7X0pHGvg3N.NqwzK6n4+9 d7wPBsMWa5jlQpJBL3iOeemK9yzebyH+4pmEM9d+g28diF8iaFMBGxNvnt6G 4WweNqj2fuleknogWH7G6dlQ7rAGulWI7VoEOJEOMiv5e9JtIaortXlVjYbq yTVzjnwdQzzIjwdoL6u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+7Qq0cayyWs5Qgtoylnq.RadPgBXhGi2Jqc2hGez29OJnY3Wy zmqAUMFPRCnnDUe77T2oJ8qT4BcMnLxIw.Hga5To7FoEajz0lKUeyvMsMy9a QcqSHCf8E71RyqIr4EKjkktSA3dP2S.EycJd7GdFgQ9qe26AstrzPJMAHuIA zfX1T7J3hnnArd2bn8SJLJLkvruZ3TVbXDdUBKHJvdE4MSisYsHzT2JPRSHg tqfgnvZMbZvoqcR3XwjdQuPFiVsRo6i7vTSW+9fZ8BMOWJbpywHrKD6na2mJ Ad5aEG5WADpreNCyOWGL9KdEbTfYKkEP5ZwRiHelBN7c+W+e6QEdVFrZCXZT YKpxEO.FB2OE26ArPRnI8+KE+3lxcdKvP2Vs7bskNe0sOfL2stYeJj0Qmp7p Ob38C5.zHJgRQHU4UVMILMJNXbevHkMESiGZv4EuOnkXywonKDFAtyqRxwyk hyYlr11EQbzX3zi+vb94M+Ofs1Ioo -----------end_max5_patcher-----------
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
Thanks again Carsol for your help.
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.
Thanks for your advice Andrew.
I was not aware of the existence of these tutorials.
They actually helped me a lot.
Forums > Jitter