Well I have read every archived message on this subject and it looks like
there is still no definitive solution. Anyone who is writing a game using
Java3d will have to solve this problem. We need to be able to place 2d
objects on top of the canvas3d.
I have tried using the 2d graphics object inside the postRender() method of
the canvas3d object:
public void postRender() {
super.postRender();
if (canvas2d != null) {
canvas2d = getGraphics2D();
canvas2d.setColor(new Color(255,255,255));
canvas2d.drawLine(0,0,100,100);
canvas2d.drawRect(100,100,40,40);
canvas2d.flush(true);
}
}
But as has been remarked here on a number of occasions this is incredibly
slow. So slow it is not usable. Someone had suggested billboards, but
unless we can attach this to the right side of the screen graph so it moves
with the view, I am not sure how this would work.
If anyone has solved this problem and could post working code then I would
greatly appreciate it. Otherwise we need to figure out something, even if
it is low level at the graphics context level.
Dave Yazel
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".