Take a look at the book "3D User Interfaces with Java 3D"
(www.manning.com/barrilleaux) for some ideas and examples of doing
overlays in Java 3D. Chapter 6 discusses visualization techniques in
general, which includes display and world overlay, and chapter 21
discusses implementation of display and world "pseudo" overlay
techniques in Java 3D.
--jon
> Date: Sun, 20 Aug 2000 11:47:12 -0400
> From: David <[EMAIL PROTECTED]>
> Subject: Building Overlays, lets figure this out :)
>
> 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
>
--
__________________ JMB and Associates, Inc. ___________________
Jon Barrilleaux 3800 Lake Shore Ave. Consulting for 3D
[EMAIL PROTECTED] Oakland, CA 94610 Web Applications
510.444.4370 voc & Tech Industry
510.444.0231 fax www.jmbaai.com Management
===========================================================================
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".