Re: [JAVA3D] Not specifically J3d, how to jump elsewhere?

1999-11-23 Thread Tria
Perhaps you mean this..   in your mouseclicked function, you can add this line :   getAppletContext().showDocument(hrefURL, hrefTarget); where hrefURL is URL of that webpage (must be in URL class) and hrefTarget is the target frame..   Is this what you mean?   Regards, Tria   - Original

[JAVA3D] source of SPHERE class

1999-11-03 Thread Tria
aiting for your comment... Regards, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and i

[JAVA3D] addition to my previous mail : picking

1999-11-03 Thread Tria
  shapeNA.setCapability(Shape3D.ALLOW_LOCAL_TO_VWORLD_READ);    shapeNA.setUserData(continent[i]);this.addChild(shapeNA);   please tell me what's wrong with this. I've read through all tutorial and specification but still I got difficulty with this.   Thanks Tria

[JAVA3D] urgent : picking not work

1999-11-03 Thread Tria
else {   System.out.println("not found");     }  }  } // end if } // end else   Regards, Tria    

Re: [JAVA3D] texture coords for sphere, and rotating earth

1999-11-03 Thread Tria
> There are lots of places to pick up how to generate your own sphere with > triangles > and such. > Then, what you could do is map triangles to what countries. > These triangles go into their own triangle arrays. Where can I get examples about this??

[JAVA3D] pick object

1999-11-02 Thread Tria
, the result is null. If I use BranchGroup.pickAllSorted, and then make a conditional " if obj instanceof shape3d" and make a casting like this : ClassName newclass = (ClassName) obj, I got error message "classcastexception"... Which pick

[JAVA3D] still related to z values

1999-11-01 Thread Tria
I wonder, what is actually the result of getImagePlateToVworld method.. If I do GeometryArray.getCoordinate, will it give coordinate in that vworld? If not, how can I get coordinate from mouse event associated with the result of getCoordinate? Regards, Tria

[JAVA3D] geombuffer in sphere code

1999-11-01 Thread Tria
I tried to access it by using Sphere.getCachedGeometry...but it is said that GeomBuffer is not a public class, and no method getCachedGeometry defined for Sphere. I changed GeomBuffer class to be public class and put it again in j3dutils.jar, but still those messages came. Any comments?? Reg

[JAVA3D] normal and normal inward?

1999-10-31 Thread Tria
What is GENERATE_NORMAL for? and what is GENERATE_NORMAL_INWARD? I cannot easily understand by reading the spesification.. thanks.. Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

[JAVA3D] appearance class

1999-10-31 Thread Tria
Hi.. where can I get source for Appearance class?? regards, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email

[JAVA3D] z value never changed

1999-10-31 Thread Tria
rst time, when I get coordinate from getPixelLocationInImagePlate and getImagePlateToVWorld, the value of z always 0.0 for image plate and almost 0.0 for vworld. It's never changed whereever I clicked my button. Why it's always 0.0? In my logic, if that image is put on sphere, we will get z value for each point.   Help me with this..   Regards,Tria

[JAVA3D] sphere texture coordinates axis

1999-10-28 Thread Tria
orth America in more than two places. How can I make the right texture coordinate for sphere?? Help me with this... Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "sig

[JAVA3D] combining java2 and j3d

1999-10-27 Thread Tria
I need to : 1. displaying popup message on the rotating sphere 2. draw polygon on the rotating sphere How can I do those things with j3d? Should I use swaping, stopRenderer, etc? And what is swap method actually do? Looking forward to your help.. Regards.. Tria

[JAVA3D] pop up message

1999-10-27 Thread Tria
I got difficuly in displaying pop up message on sphere. I made pop up message by using drawImage method of Graphics class. Is it possible to do so? Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the

Re: [JAVA3D] image not going well with the sphere

1999-10-27 Thread Tria
ll on that rotating sphere? Thanks Tria > A better alternative may be to use the "built-in" texture coordinates > of the Sphere Primitive. > > Try: > new Sphere(1.0f, Primitive.GENERATE_TEXTURE_COORDS, appear) > where the appear is the Appearance bundle you mak

[JAVA3D] image not going well with the sphere

1999-10-27 Thread Tria
tell me if you know how to fix it.. Thanks.. Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED

Re: [JAVA3D] coordinate in sphere

1999-10-27 Thread Tria
Thanks but from there, how can I go to or retrieve one coordinate? - Original Message - From: Tran Bang Viet <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 1999 2:42 PM Subject: Re: [JAVA3D] coordinate in sphere > Hi, > > U can use Sphere object with attrib

[JAVA3D] relation between Geometry Array and sphere

1999-10-26 Thread Tria
If I define one Geometry Array to a sphere..is it refer to the texture on the sphere? Is it possible to make a polygon array? regards, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

[JAVA3D] coordinate in sphere

1999-10-26 Thread Tria
Dear everybody, how can I get texture coordinates from a sphere? Regards, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general

[JAVA3D] source of MouseRotate

1999-10-25 Thread Tria
Where can I find source for MouseRotate /MouseTranslate?? regards, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, sen

[JAVA3D] mouse behavior

1999-10-25 Thread Tria
o one TransformGroup. But nothing happened..I cannot get the event. Should I call processMouseEvent method directly or it will be performed automatically once I create the class? Please tell me more about this. Regards, Tria =

[JAVA3D] add child to branchgroup

1999-10-25 Thread Tria
Hi.. I made a class extended from Node. And I try to add it to one BranchGroup But it gives me java.lang.NullPointerException at javax.media.j3d.GroupRetained.addChild. I have checked the object and it's not null. How can it happen?? Thanks

[JAVA3D] Shape3D

1999-10-24 Thread Tria
If I create class extended from Shape3D, will it always be displayed on screen? If it's true, how can I make it invisible? Thanks, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body o

[JAVA3D] MAP

1999-10-23 Thread Tria
ontinents, will it bring me to all those continents? 2. Can I pick the triangle object?   And if somebody here can give me advice to find out how to give color to one area, I would really appreciate it.   Thanks...I'm waiting for your comments.   Regards, Tria

[JAVA3D] Get one position on map

1999-10-22 Thread Tria
If I have a map, and I click inside one area, is it possible to get the boundary / the shape of the area directly? Is PickShape work for this or should I define that area by myself first (by creating array or something else) ? thanks, Tria

Re: [JAVA3D] ask again

1999-10-21 Thread Tria
I've tried , but there is no change. I've tried making one TransformGroup for mouserotate and put TransformGroup for RotationInterpolator and the shape under the first TG, and vice versa. Should I put something else? Maybe there is a class to make it wake up or something.. Thank

[JAVA3D] TexCoordGeneration

1999-10-21 Thread Tria
What is TexCoordGeneration for? What is the form of this class? Where can I get more information about this class and how to use it??   thanks,   Tria

[JAVA3D] ask again

1999-10-21 Thread Tria
p and also apply MouseRotate for the same TransformGroup. But as a result, the object only rotates itself. I cannot rotate it by mouse. Is there anything else that I should define?? Regards, Tria === To unsubscribe, send ema

[JAVA3D] image color changed

1999-10-20 Thread Tria
hi... I use TextureLoader to load my image. But it appeared on screen with a very different color with the original one. I have tried changing the TextureAttributes field, to become Decal, Nicest, etc. But it 's still awful... Anybody can give me solution?? regards,

[JAVA3D] Error message in HTML

1999-10-19 Thread Tria
work. Can anybody tell me what I should do with it? Regards, Tria === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [

[JAVA3D] URGENT : need help in rotating sphere with images

1999-10-18 Thread Tria
veral parts should be hotspot, clickable and can go to specific URLs.   Please help me with this.   Regards, Tria