Re: [JAVA3D] JToolTip

2002-07-24 Thread Chinh Tang
Hi all, I previously sent a tooltip implementation using a JWindow to another list that will solves your problem also. The code is in the forwarded email far below. This is how you can use it in a Canvas3D: public class ViewDlg extends JDialog { private View3D view3D; private SiteTree siteT

[JAVA3D] How are they doing this?

2001-03-25 Thread Tang Yuguan
I am attaching a link to a product that renders trees in a very nice manner. I just can't figure out how they do it. They say further on their website that they use only 6 triangles per tree including shadows and fallen leaves. And that it appears 3-d from all angles. The only thing I can thin

[JAVA3D] Fw: Distance from the screen.

2001-03-25 Thread Tang Yuguan
- Original Message - From: Darren 'deft' Vollmer To: Discussion list for Java 3D API Sent: Sunday, March 11, 2001 2:51 AM Subject: Distance from the screen. I want to pan and zoom an object in a view window. When I grab the object and pan I want the object to remain fixed to the m

Re: [JAVA3D] Textures on uneven surfaces

2001-03-25 Thread Tang Yuguan
On 2001-03-13 at 13:45:59 +, Paula Keohan wrote: > I've got three questions to ask... > 1) When would you use Texture3D as opposed to Texture2D? In case I want the Texture to be different in dependency of Depth. Especially useful for textures created through algorithms. > 2) I've created a w

Re: [JAVA3D] HTML Converter

2001-03-25 Thread Tang Yuguan
hello, you can download HTML converter from www.sun.com. But if you wish you can use what i attach. By Edith - Original Message - From: Tonz . <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 2:30 PM Subject: [JAVA3D] HTML Converter > Hello > could anybody tell m

[JAVA3D] Problem with VRML normals ! (A little OT)

2001-03-25 Thread Tang Yuguan
Hello, Although this is a little off topic, although VRML seems to come up so much in this group. I am having problems with viewing a Shape made up of an IndexedFaceSet. The problem is when I create a list of coords and coordIndexs I only get one side of the face, I realise this is to do with Nor

[JAVA3D] AxisAngle4f to Matrix4f to Quat4f bug?

2001-03-25 Thread Tang Yuguan
While debugging a problem with my home-grown 3DS loader, I found something (wrong?) with going from AxisAngle to Matrix to Quats. 3DS format stores rotations in AxisAngle format. I use these to load a Matrix so I can "sum-up" rotations (using matrix multiplies of course). Then, I set a Quat with

Re: [JAVA3D] Stopping rendering and restarting

2001-03-25 Thread Tang Yuguan
Hi Dave, Here is an exmaple of how start/stopRenderer() works. (works fine with v1.2.1 release) It is a bug if startRendering() fail to start once stop. In this case please send us a test case. Thanks. - Kelvin --- Java 3D Team Sun Microsystems Inc. >MIME-Version: 1.0 >Content-

Re: [JAVA3D] Textures on uneven surfaces

2001-03-25 Thread Tang Yuguan
Hello Paula, On 2001-03-13 at 13:45:59 +, Paula Keohan wrote: > I've got three questions to ask... > 1) When would you use Texture3D as opposed to Texture2D? In case I want the Texture to be different in dependency of Depth. Especially useful for textures created through algorithms.

[JAVA3D] getBounds replacement method

2001-03-25 Thread Tang Yuguan
Dear Java3D community, Recently I had to fight against the getBounds() routine of the Node class that forced me to implement my own version. The problem is that I absolutely need the maximum and minimum coordinates of a loaded VRML object. To load the object I use the Xj3D package taken from th

[JAVA3D] Translating TriangleStripArray to IndexedFaceSet?

2000-03-16 Thread tang
tions or ideas are immensely appreciated. Thanks for your kind attention. Best Regards, Kenny Tang Department of Computer Science, King's College London === To unsubscribe, send email to [EMAIL PROTECTED] and include in t

[JAVA3D] Creating Image from Canvas3D

2000-02-25 Thread tang
Dear All, The problem is again about saving images off J3D scenes. I tried to save a scene like the following: Image image=canvas3d.createImage(width,height); Graphics g=image.getGraphics(); canvas3d.paintAll(g); // output with codec.JP

[JAVA3D] VRML style background implementation?

1999-12-25 Thread Kenny-Siu-Ming Tang
Dear all, I have been trying to implement a BackgroundGeometry object that displays a gradient color from skyangle and ground_angle...any ideas of how this could be done? Any hints would be much appreciated. Regards, Ken ==

[JAVA3D] Implementing background with VRML approach?

1999-12-23 Thread Kenny-Siu-Ming Tang
Dear all, I am looking for a way to apply a color gradient backdrop to a Java3D scene for which the sky color, ground color, sky angle and ground angle could be set, and the program takes the two colors at each end and automatically calculates the gradient values for the area in between. Is this p

[JAVA3D] CapturingCanvas3D.java

1999-12-16 Thread Kenny-Siu-Ming Tang
Dear all, Does anyone know where I can get a copy of CapturingCanvas3D.java? I'm desperately in need of that file but it has been removed from the NCSA site..If anyone knows can the send me a copy please or tell me where to download it? A million thanks, Ken ===