Loading...
Logo
Processing Forum
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

Replies(2)

you have an extra
}

also you can specify 3d positions for 3d text
text(data, x, y, z)
wow, i didn't even think about using the Z-axis in the text.

Thanks, that code i posted was just an example i quickly to show what i was doing, not the actually implementation


THANKS SO MUCH!!!!