FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   forcing text to display
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: forcing text to display  (Read 481 times)
mm
Guest
Email
forcing text to display
« on: Jul 27th, 2004, 7:47pm »

it would be nice to caption certain 3d models.
would it be possible to integrate a mode switch for processing's translate() function?  I am working on an applet now that requires me to write the text on a layer "above" the rendering, but processing keeps putting the text into the 3d scene
 
TomC

WWW
Re: forcing text to display
« Reply #1 on: Jul 27th, 2004, 8:34pm »

It's undocumented right now, which means use at your own risk, but:
 
Code:
textMode(SCREEN_SPACE);
 
 
does what you want, I think.
 
You can search the forum for more discussion on this.
 
You might also like to look for Glen Murphy's fasttext class which also works in screen space and can use custom bitmap fonts.
 
Pages: 1 

« Previous topic | Next topic »