Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
gaforeror
gaforeror's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Exception in thread "Animation Thread" java.lang.RuntimeException: GL_FRAMEBUFFER_UNSUPPORTED8cdd
[1 Reply]
16-Nov-2012 04:08 AM
Forum:
Contributed Library Questions
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){
}
}
«Prev
Next »
Moderate user : gaforeror
Forum