Re: [JAVA3D] Which WakeupCriterion to use?

2004-01-25 Thread Andre Meyer
Hmm. No one any idea? Then let me ask in a different way: If my behavior has a WakeupOnAWTEvent trigger condition, I can cause a KEY_PRESSED event by striking a key on my keyboard. The result is, that my behavior starts its action. But now I want a control object to do exactly this (start the be

Re: [JAVA3D] Writing 2D content on top of a Canvas3D

2004-01-25 Thread James Goldwater
As far as I can tell (and I'm so _not_ an expert at this) - you can't. Although you can get a Graphics2D object from a Canvas3D and draw on that, it absolutely kills performance. The j3d.org packages include examples of overlay classes, which kind-of allow you to fake it. What these do is however

Re: [JAVA3D] Which WakeupCriterion to use?

2004-01-25 Thread Michael Pfeiffer
On Sun, 25 Jan 2004 07:36:49 -0700, Andre Meyer <[EMAIL PROTECTED]> wrote: But now I want a control object to do exactly this (start the behavior's action, without creating an artificial KEY_PRESSED event). Is this impossible? Why do you want to use a Behavior-Event for that? Can't you put the fun

Re: [JAVA3D] Writing 2D content on top of a Canvas3D

2004-01-25 Thread Mark McKay
Hi James, Yes, I'd like to see your code if you would be kind enought to email it to me. Thanks. Mark McKay James Goldwater wrote: As far as I can tell (and I'm so _not_ an expert at this) - you can't. Although you can get a Graphics2D object from a Canvas3D and draw on that, it absolutely kill

Re: [JAVA3D] Writing 2D content on top of a Canvas3D

2004-01-25 Thread Mark McKay
James Goldwater wrote: As far as I can tell (and I'm so _not_ an expert at this) - you can't. Although you can get a Graphics2D object from a Canvas3D and draw on that, it absolutely kills performance. And causes lots of native exceptions to be thrown. The j3d.org packages include examples of ove