Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Text Drawing  (Read 703 times)
0 Members and 1 Guest are viewing this topic.
Offline SamiLakka

JGO n00b
*

Posts: 15


Java games rock!


« on: 2003-11-22 06:10:49 »

Hello,

I'm using GLUT to draw 2D text to screen (glutBitmapString).
Anyhow,  I would like to have a yellow box where this black text is
printed so that the user can see it more clearly (like the popup
screens in some programming editors). Is there any easy way to do
this? My program is in 3D so if I use glVertex3f to draw the box, I
propably should do complex transformations so that the box faces
user directly. And I don't know how I draw the text so that it seems
that it is inside the box.


Regards,
- Sami
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.066 seconds with 21 queries.