Problem using same PImage on multiple PApplets
in
Integration and Hardware
•
6 months ago
Hi there,
I am currently writing a program to control a LED-Wall. The LED-Wall is connected via DVI and acts like a normal connected second Display.
I use the normal Monitor (Screen from Laptop) as Control Panel and Preview
I created a second PApplet which gets displayed on the LED-Wall with JFrame.
I run into problems when I use the same PGraphics to display the Preview on the Laptop-Screen and the PGraphics I "send " to the LED-Wall. It seems that only one PApplet can use the PGraphic.
In this case my Laptop gets the PGraphics:
In this case the LED-Wall gets the PGraphics:
Is that some kind of bug or is that something in the Graphics Card that outreaches my knowledge about these?
Thank you
I am currently writing a program to control a LED-Wall. The LED-Wall is connected via DVI and acts like a normal connected second Display.
I use the normal Monitor (Screen from Laptop) as Control Panel and Preview
I created a second PApplet which gets displayed on the LED-Wall with JFrame.
I run into problems when I use the same PGraphics to display the Preview on the Laptop-Screen and the PGraphics I "send " to the LED-Wall. It seems that only one PApplet can use the PGraphic.
In this case my Laptop gets the PGraphics:
- void draw(){
- image(frame,0,0);
- secondApplet.image(frame,0,0);
- }
In this case the LED-Wall gets the PGraphics:
- void draw(){
- secondApplet.image(frame,0,0);
- image(frame,0,0);
- }
Is that some kind of bug or is that something in the Graphics Card that outreaches my knowledge about these?
Thank you
1