Dividing one context between two outputs


    Apr 18 2016 | 4:43 pm
    I am confronted with a six-monitor installation setup which is controlled by two Matrox triple-heads. I've been scratching my triple-head trying to figure out how to split one context between those two devices, and so far the only answer I've been able to come up with has been the incredibly inefficient one of dumping the entire context into jit.gl.asyncread, splitting the matrix into two, and passing them to to videoplanes, one for each of the contexts.
    This seems incredibly hideous, and I have a suspicion there is a way to handle it using shared contexts or some jit.gl.node trick that I can't figure out. If anyone has a solution to this problem, I'd appreciate hearing about it!
    Thanks,
    \M

    • Apr 19 2016 | 2:52 pm
      your triple heads can be configured and then disconnected from your computer. Whats the resolution for each screen ? Send everything to a jit.gl.videoplane, Your resolution is the total of all your independent widths. eg if each screen is 640 by 480, then the width is is 640 x 6. same for height. this can be split up by using two jit.gl.texture with dim and start dim attributes and then sending to 2 jit.gl.videoplanes.
    • Apr 20 2016 | 1:40 pm
      Thanks, Andro.
      That approach works if you have a single videoplane you want to span all six monitors, but you can't move an ob3d from one screen to the other, which was what I was aiming for. I did get an answer from a friend, however. The trick is to render everything twice, to two contexts, and use different camera angles. For the record, here's the basic idea.
      \M