Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread xhsun
Thanks for your answer. I will give up my dream for that fantastic high level function. But I'm still interested in what you mentioned: > You could map small textures, one for each line, where the side of the cube > was really a series of stacked flat panels instead of one large quad. So, your ide

Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread David Yazel
Do you mean that the panel actually mapped to the face of the box? Nothing is impossible, but that would be exceedingly difficult to do it in a way which would perform well and let you make fast updates to the text. You could map small textures, one for each line, where the side of the cube was r

Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread xhsun
Sorry for my unclear, my question is, can we create a box with a JPanel-like component on one side of it? when we rotate the box, the "JPanel" will rotate together with the box. xiaohua - Original Message - From: "David Yazel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Ja

Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread David Yazel
Yes, you can create create a JWindow on top of your canvas, or you can use standard Swing and have one panel as the canvas with the 3d object, and a panel to the side with your text. Dave Yazel - Original Message - From: xhsun <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Ja

Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread Fred Klingener
You're asking for a lot.  If your application requires fast live text (the equivalent of a scrollable text area that you could edit?) then I would guess your only hope (in January 2002) would be to build your own CAD-type drafting font out of some sort of LineArray and make up a Geometry to

Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread xhsun
Thanks for your reply. Yes, I know the time need for the texture must be inacceptable, especially for my case, textures need to be created very frequently from database query. Please forgive my naive, is it possible for the 3d scene to render something like a JPanel on top of an object? Could we

Re: [JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread David Yazel
Before I launch into this note I want to set the premise. By reading your question I am assuming you want to show text within the 3d scene. The technology to display text in 3d can only be done 2 ways. One way is done with a texture and another way is done with geometry. Text3d uses geometry in

[JAVA3D] ask help for display long text on an 3D object

2002-01-12 Thread xhsun
Sorry for the unclear of my last message. I need to display large amout of text on the surface of an object as part of the scene, which is different from text overlay. Read from the previous archive, there is an example using textured quad, but that's actually similar to Text2D and the time

[JAVA3D] embedded Java 3d

2002-01-12 Thread Jason Judt
Hi everyone, My first post! Before you read: I'm fairly proficient in Java, but not in 3d programming. I'm new to this post and hope I'm not submitting a question that has already been answered (I searched the archives and found nothing similar to my question). I'm trying to develop an approach

[JAVA3D] text in java3d

2002-01-12 Thread xhsun
I'm developing a java3d interface to display information from a database. The polygon nature of either Text2D or Text3D make them impossible for the dispaly of large amout of text. Could anyone give me some good suggestions?   Thanks a lot in advance.   xiaohua

[JAVA3D] right click events

2002-01-12 Thread « - - ïªn +äßàngå¥ - - »
does anyone know how to assign an action when a right button of the mouse is pressed? like the left activates the translation and the right activates the rotation. __ www.edsamail.com === To

[JAVA3D] Mouse Drag problem!

2002-01-12 Thread Gianni Riccio
Hi everybody, I have a problem in my Applet 3D. I have a sphere and I would like to drag the sphere with my mouse! Please help me, how can I do that? I need some lines of code but my code failed. Thanks in advance. Gianni