[JAVA3D] one Canvas3D and multiple universes

2001-01-25 Thread Yang Shyong
I am thinking of creating one Canvas3D and many SimpleUniverses; and certain user actions trigger the universe switching in the canvas3d. Is this possible? I see a universe's view connects to the canvas3D (double links). If I set one view's canvas3D (setCanvas3D()), what happens to the view prev

[JAVA3D] popup painting problem

2001-01-18 Thread Yang Shyong
Under certain condition, my j3d application's popup does not repair itself when it becomes invisible. I have spent about a week investigating the problem, going through swing/awt paint/event code and pretty much did all I can do. I need some help from J3d folks. I am not sure this is a j3d or s

Re: [JAVA3D] 2d to 3d

2000-12-13 Thread Yang Shyong
try this: Point3d point; Transform3D xform; canvas3d.getPixelLocationInImagePlate(x, y, point); canvas3d.getImagePlateToVworld(xform); xform.transform(point); Yang -Original Message- From: Sean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 18, 2000 3:49 PM To:

Re: [JAVA3D] live cylinder geometry? why?

2000-12-04 Thread Yang Shyong
Thanks for the response, Doug. Sharing is fine. However, this kind of sharing is pretty much useless because most of the time we want to set capability after geometry creation, right? Also, can I safely assume the cached geometry I got has the exact capabilities as my original setting? Yang -

Re: [JAVA3D] j3d display problem

2000-12-01 Thread Yang Shyong
ppen under v1.2 FCS. Please send us a test case for verification. Thanks. - Kelvin Java 3D Team Sun Microsystems Inc. >MIME-Version: 1.0 >Date: Fri, 1 Dec 2000 16:02:36 -0800 >From: Yang Shyong <[EMAIL PROTECTED]> >Subject: [JAVA3D] j3d display problem

[JAVA3D] live cylinder geometry? why?

2000-12-01 Thread Yang Shyong
My application has 3 different j3d views. Each of my j3d view contains one to two cylinders. The code segment for cylinder creation looks like this ... int[] parts = {Cylinder.TOP, Cylinder.BODY, Cylinder.BOTTOM}; Cylinder cylinder = new Cylinder(radius, dist);

[JAVA3D] j3d display problem

2000-12-01 Thread Yang Shyong
My application got a minor j3d display problem. The rendering of j3d works fine except under some weird condition. It's quite minor because the condition required some special sequence of actions. However, it's really confusing. Here's the description of the problem. Background information: