Displaying text using p3d or opengl?
in
Programming Questions
•
3 years ago
Hi,
I'm having a hard time getting text to display when i'm using OPENGL or P3D Rendering.
I've read some forums and made sure i'm on the newest version and using the support textMode's for those renderers (i tried all of them)
I keep getting a "textMode(3) is not supported with this renderer"
This is driving me insane, it works when i just use the standard render and not any 3d one's?
Here's a simple example
PFont fonty;
void setup(){
size(600,600,P3D);
fonty = createFont("Arial",12);
}
void draw(){
stroke(255);
fill(255);
text("Hello World!",width/2,height/2);
}
}
I'm sure it's a simple fix and all. Thanks
-jeremy
I'm having a hard time getting text to display when i'm using OPENGL or P3D Rendering.
I've read some forums and made sure i'm on the newest version and using the support textMode's for those renderers (i tried all of them)
I keep getting a "textMode(3) is not supported with this renderer"
This is driving me insane, it works when i just use the standard render and not any 3d one's?
Here's a simple example
PFont fonty;
void setup(){
size(600,600,P3D);
fonty = createFont("Arial",12);
}
void draw(){
stroke(255);
fill(255);
text("Hello World!",width/2,height/2);
}
}
I'm sure it's a simple fix and all. Thanks
-jeremy
1