Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java 3D > Re: Text on the...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 813 of 841
Post > Topic >>

Re: Text on the screen , java3d

by tugalsan <tugalsan@[EMAIL PROTECTED] > Mar 26, 2008 at 01:35 AM

On Mar 1, 10:29=A0am, Joyal <dhgouv...@[EMAIL PROTECTED]
> wrote:
> hey mates, im really newbie with java3d, im learning this api, and
> doing somes test, but i have my first question, i want to put some
> text on the screen, i know its exist a Text2D class, but its interact
> with the virtualuniverse , i want only put flat text on the screen,
> with some =A0data, maybe the fps , coordenates , etc
>
> i was trying to use the getGraphics of Canvas3D and use drawString but
> didnt work, i did the same thing with Frame also with Applet, i got
> the graphics and used drawString, but nothing
>
> how can i do to be able to do this? could you give me somes examples?
>
> i hope you can help me:D
>
> PD: sorry my bad english , i from venezuela :$

just ovverride postRender method in Canvas3D
use getGraphics() method and use it
I know it flickering but itworks :)
if you find a better way please sent to my email (tugalsan@[EMAIL PROTECTED]
)
as I am not using this site much.
byz

tugalsan karabacak TURKEY
 




 5 Posts in Topic:
Text on the screen , java3d
Joyal <dhgouveia@[EMAI  2008-03-01 00:29:10 
Re: Text on the screen , java3d
tugalsan <tugalsan@[EM  2008-03-26 01:35:45 
Re: Text on the screen , java3d
tugalsan <tugalsan@[EM  2008-03-26 01:37:04 
Re: Text on the screen , java3d
tugalsan <tugalsan@[EM  2008-03-26 01:38:00 
Re: Text on the screen , java3d
tugalsan <tugalsan@[EM  2008-03-26 02:34:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 3:57:38 CDT 2008.