Exception in thread "Animation Thread" java.lang.RuntimeException: GL_FRAMEBUFFER_UNSUPPORTED8cdd
in
Contributed Library Questions
•
11 months ago
Good day.
I want to split the screen in two (2D and 3D)
I'm trying to use this code, but it generates this exception
import processing.core.PApplet;
import processing.core.PGraphics;
import remixlab.proscene.*;
public class DDisplay extends PApplet{
PGraphics pg1,pg2;
int w=300,h=600;
public void setup() {
size(w,h,P3D);
pg1=createGraphics(300, 300,P3D);
pg2=createGraphics(300,300);
}
public void draw(){
pg1.beginDraw();
pg1.background(153);
drawScene(pg1);
pg1.endDraw();
image(pg1,0, 0);
pg2.beginDraw();
pg2.background(200);
drawScene(pg2);
pg2.endDraw();
image(pg2,0,height/2);
}
public void drawScene(PGraphics pg){
}
}
1