Second Monitor in OPENGL
in
Core Library Questions
•
2 years ago
Hi,
I have a large VJ sketch for a performance on Thursday...
A bunch of my 'modes' are video capture based, and I've taken the two Java Classes from Andreas's
You Are Einstein sketch that use OpenCV and Video Capture in separate threads, making it super fast...
Because of this (or more succinctly because my poor skills at writing/using classes and methods), I've avoided using GLGraphics, which I would normally use for this because of the ease of setting up a second window... the problem is that all the class graphics are not catching the GLGraphics/GSVideo textures properly...
So... I need to use OpenGL, as everything else is waayy too slow. But...
the FullScreen library doesn't work for my purposes, nor does Sketch > Present (unless there's a way to get it to default to the second monitor ???)...
I have this piece of code hanging around ( I think from Cedric)
frame.dispose();
frame.setUndecorated(true);
super.init();
frame.setLocation(1920, 0);
which works in JAVA2D or P2D, but in any 3D renderer, the applet window flashes then disappears... so.... I'm in desperate need of ideas/solutions...
Worst case scenario, I figure i'll play in Mirrored Mode and write an Android sketch to use as a OSC controller, but I'd rather not...
Thanks
~ J
2