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

2004-01-26 Thread Justin Couch
Mark McKay wrote: The j3d.org packages include examples of overlay classes, which kind-of allow you to fake it. What these do is however a mere convenience: they just insert the relevant 2d objects in the 3d universe at a z=0 position for your viewpoint. What do you mean? Does this write

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

2004-01-26 Thread Mark McKay
Justin Couch wrote: Mark McKay wrote: The j3d.org packages include examples of overlay classes, which kind-of allow you to fake it. What these do is however a mere convenience: they just insert the relevant 2d objects in the 3d universe at a z=0 position for your viewpoint. What do you mean?

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] 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

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

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

2004-01-24 Thread Mark McKay
What is the best way to write static 2D data to a Canvas3D? For example, if I wanted to draw a title centered at the top of my screen (which would be positioned relative to the dimensions of it's AWT container rather than scene geometry), what would be the best way to do this? Reading through