I want to draw text to my screen, AFTER the rendering is done.
I see that Canvas3D inherits from awt.Canvas, so I thought maybe I'd override paint(), postRender() or postSwap(), but none of those seemed to do what I want.
"Back in the day", when I was using JOGL, I'd complete my render, then go into glOrtho2D mode, then draw text onto the screen there, then do my GL-swap. I'm ok with doing that in J3D, except I don't know how to interrupt the pipeline to do that.
Or I can just draw on the cavas, if there's a way to do that.
What I was trying that didn't work:
public void paint (Graphics gr)
gr.drawString ("Foo", 50, 50);
(Tried similar things with postRender() & postSwap(), too -- except I had to call getGraphics().)
No text shows up on my screen.
Help? Hints? Snippets?