We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › how to make text look decent in 3d
Page Index Toggle Pages: 1
how to make text look decent in 3d? (Read 474 times)
how to make text look decent in 3d?
Sep 29th, 2008, 12:04am
 
is there a trick to making text render ok in 3d? I find that my text gets all funny fuzzy and basically illegible in 3d...what am I missing? I found that things were slightly better in opengl, but not by much

thanks
Re: how to make text look decent in 3d?
Reply #1 - Sep 29th, 2008, 1:08am
 
try textMode(SCREEN);

Smiley

seltar
Re: how to make text look decent in 3d?
Reply #2 - Sep 29th, 2008, 2:28am
 
P3D is meant to be fast, not accurate. if you want more accurate (and fast) you have to go with OpenGL. that said, some things to try:

1. hint(ENABLE_ACCURATE_TEXTURES) can improve things in some cases.

2. if working in 3D, use a font that's a little bigger than what you need, so that it gets scaled down (not up) when used.

3. if working in 2D, use textMode(SCREEN), as seltar mentions.
Re: how to make text look decent in 3d?
Reply #3 - Oct 4th, 2008, 12:47am
 
thanks for the advice. can i use textMode(screen) in 3D as well?

and, not that this is what I'm after, but if I wanted to rotate the text so that it was on a vertical plane, how would I do this?
Page Index Toggle Pages: 1