Re: [JAVA3D] plz Explain!

2001-07-31 Thread Bob Dengle
Hi One thing you could do would be to set a flag and then tell the thread to wait for a certain length of time. Meanwhile, another thread waits to see if there is another click. If there is another click in that time interval, it removes the flag and notifys the first thread. The first thread che

Re: [JAVA3D] 2D Scribbling on Canvas3D

2001-07-31 Thread Rajamiyer Ravichandran
Where can I get Dave's overlay code. I would like to have a look at your code as well, if possible. --- Justin Couch <[EMAIL PROTECTED]> wrote: > Rajamiyer Ravichandran wrote: > > > > Hi Java3D Gurus, > > > > I am trying to write a simple applet where I can > > scribble something on the Canvas3D

Re: [JAVA3D] plz Explain!

2001-07-31 Thread Ashish Aggarwal
hello Dan! I am executing events at both getClickCount==1 and getClickCount==2. If i had nothing to do at 1, then there was no problem. Actually at 1, i am drawing lines betwen primitives and at two, I want to remove lines between primitives. So, plz explain me. Its really urgent. thnaks ---

Re: [JAVA3D] 2D Scribbling on Canvas3D

2001-07-31 Thread Justin Couch
Rajamiyer Ravichandran wrote: > > Hi Java3D Gurus, > > I am trying to write a simple applet where I can > scribble something on the Canvas3D using mouse drag > events. I implemented MouseListener and > MouseMotionListener evenents on the container of the > Canvas. Inside the event handlers I have

Re: [JAVA3D] Accessing individual Shape3D nodes in a Box

2001-07-31 Thread Adrian Meekings
Works!! Thankyou very much This was very helpful Cheers Adrian - Original Message - From: "Joachim Diepstraten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 7:21 PM Subject: Re: [JAVA3D] Accessing individual Shape3D nodes in a Box > Hi Adrian > > > public cla

Re: [JAVA3D] window resize policy

2001-07-31 Thread Mark Hood
> Date: Tue, 31 Jul 2001 16:38:42 +0200 > From: matthias sweertvaegher <[EMAIL PROTECTED]> > > I want my viewport to resize when I resize my window ie I want to use the > virtual world viewport policy. However when I set it, nothing changes. for > example, i toke the hellouniverse exampl

Re: [JAVA3D] plz Explain!

2001-07-31 Thread Dan Boorstein
> > From: Ashish Aggarwal <[EMAIL PROTECTED]> > Date: 2001/07/31 Tue PM 01:30:47 EDT > To: [EMAIL PROTECTED] > Subject: [JAVA3D] plz Explain! > > Hello! > > How to differentiate between single click of the mouse > and double click.i am using: > > event.getClickCount() to find out the number of > c

[JAVA3D] plz Explain!

2001-07-31 Thread Ashish Aggarwal
Hello! How to differentiate between single click of the mouse and double click.i am using: event.getClickCount() to find out the number of clicks. The problem is that, when I double click the mouse, it executes the code for: event.getClickCount()=1, before executing code for: event.getClickCou

Re: [JAVA3D] installation problem

2001-07-31 Thread Corysia Taware
>From the htmlconv docs (bottom of the page): If this completes without error, the original HTML file is moved to the backup folder and the temporary (converted) file is renamed to the original file's name. Your original files are never removed from the disk. So, .../myprog/file.html gets conver

Re: [JAVA3D] rebooting

2001-07-31 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] rebooting Bumping ACPI can result in much pain and suffering for some chipsets running under Windows 2000 and can result in the machine becoming non responsive and resulting in the reinstall of Windows 2000. Under 6 systems tested, only 1 was very happy with the change to a

Re: [JAVA3D] rebooting

2001-07-31 Thread Corysia Taware
Microsoft has a warning about changing your system from ACPI to Standard. I'm not able to find the exactly Knowledge Base article now, but they warn to make an emergency disk because it's possible that your system will not boot if you change modes. This isn't the article I was thinking of, but it

Re: [JAVA3D] installation problem

2001-07-31 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] installation problem I had the same issue on Windows2000 with JDK1.4_beta. Just didn't want that one to slip through the cracks. I ended up uninstalling JDK1.4 and reinstalling JDK1.3.1 in order to get things to work. > -Original Message- > From: Paul Pantera [mail

Re: [JAVA3D] rebooting

2001-07-31 Thread Jack Gundrum
Thank you Mark, its the first time the Xserver didnt crash. Works At 12:51 PM 7/31/2001 -0400, you wrote: >Gopi, > >What we've noticed with RedHat 7.1 is that if you launch with a shared >context it will not crash the X server. Launch your app like this: > >java -Dj3d.sharedctx=false Myprogram

Re: [JAVA3D] installation problem

2001-07-31 Thread Paul Pantera
Windows NT doesn't have DirectX 7.0 so you need to download and install the OpenGL version of Java 3D. -Paul > From: "Lorena" <[EMAIL PROTECTED]> > To: "Paul Pantera" <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] installation problem > Date: Tue, 31 Jul 2001 08:42:54 +0800 > MIME-Version: 1.0 > Co

Re: [JAVA3D] rebooting

2001-07-31 Thread Mark Ferneau
Gopi, What we've noticed with RedHat 7.1 is that if you launch with a shared context it will not crash the X server. Launch your app like this: java -Dj3d.sharedctx=false Myprogram Where Myprogram is the class you want called (of course). --Mark At 10:40 AM 7/31/2001 -0500, you wrote: >Java3

[JAVA3D] BUG? in getNormalRef3f ?

2001-07-31 Thread Joachim Diepstraten
Hi I was playing with GeomUpdater lately to implement a different version of my cool/warm shader and I think I've found a bug, not sure if this is already known. I changed the Geometry/Normals/Colors/TexCoordinates in my Shape all to Reference mode. And when I try to get the normals inside my Ge

Re: [JAVA3D] 2D Scribbling on Canvas3D

2001-07-31 Thread Will Holcomb
On Tue, 31 Jul 2001, Rajamiyer Ravichandran wrote: > I am trying to write a simple applet where I can > scribble something on the Canvas3D using mouse drag > events. This is going to be more than trivial. Normally you can draw on the graphics context for a canvas and it will come up on the scree

[JAVA3D] 2D Scribbling on Canvas3D

2001-07-31 Thread Rajamiyer Ravichandran
Hi Java3D Gurus, I am trying to write a simple applet where I can scribble something on the Canvas3D using mouse drag events. I implemented MouseListener and MouseMotionListener evenents on the container of the Canvas. Inside the event handlers I have added code to get Graphics2D from the canvas

Re: [JAVA3D] rebooting

2001-07-31 Thread Gopi Kandaswamy
Java3D resets my Xserver in red hat linux 7.1 when I use the close button of the applet or to kill the java3D app. Red Hat Linux 7.1 (SGI's 2.4.x kernel) Geforce2 MX, 32M SDR JDK1.3.1 J3d1.2.1 The same java3d apps do not reboot my windows2k which also runs on the same hardware. GOpi On Tue, 3

Re: [JAVA3D] rebooting

2001-07-31 Thread Corysia Taware
I'm not encoutering any reboots with Java3D. Win2k sp2 GeForce2 MX400 w/ 64 megs JRE 1.3.1-b24 Java3D 1.2.1_01 (DirectX for my JRE and OpenGL for the SDK) DirectX 8.0 I've also got a similar system with a ATI 128 Rage. No reboots here, either. - Original Message - From: "Will Holcomb"

[JAVA3D] window resize policy

2001-07-31 Thread matthias sweertvaegher
hello i have the following problem : I want my viewport to resize when I resize my window ie I want to use the virtual world viewport policy. However when I set it, nothing changes. for example, i toke the hellouniverse example and added the following line u.getViewer().getView().setWindowResize

Re: [JAVA3D] R: [JAVA3D] AccessControlException

2001-07-31 Thread matthias sweertvaegher
another way is to launch it as an application that way you bypass the security checks mattie 7/31/01 3:24:39 PM, Francesco Colace <[EMAIL PROTECTED]> wrote: >Sorry but I make an error and send you an incomplete mail. >Another way is to use policytool of java and to create a less restrictive >po

[JAVA3D] Another immediate mode problem

2001-07-31 Thread Yuri Nikishkov
Title: Another immediate mode problem Hello, This is the question mostly to Java3D team since I feel that not many people here are engaged in immediate mode activities. In my applet I have the code that dynamically changes near and far clipping planes basing on current geometry bounds. It wo

[JAVA3D] R: [JAVA3D] AccessControlException

2001-07-31 Thread Francesco Colace
Sorry but I make an error and send you an incomplete mail. Another way is to use policytool of java and to create a less restrictive policy for your applet. Greetings Francesco -Messaggio Originale- Da: "Thomas Gilbert Giusepe" <[EMAIL PROTECTED]> A: <[EMAIL PROTECTED]> Data invio: marte

[JAVA3D] R: [JAVA3D] AccessControlException

2001-07-31 Thread Francesco Colace
Hi Thomas, I believe that your problem is a security problem. I believe that you are trying to start an applet and the level of security of your browser is high. You must change the level. Another -Messaggio Originale- Da: "Thomas Gilbert Giusepe" <[EMAIL PROTECTED]> A: <[EMAIL PROTECTED

[JAVA3D] AccessControlException

2001-07-31 Thread Thomas Gilbert Giusepe
Hi there, I have tried to compile the j3D sample "ConicWorld.java", though this compile ok, when I try to run it, comes up this message: -- java.security.AccessControlException: access denied (java.lang.RuntimePermission accessCla ssInPackage.sun.awt ) at java.security.AccessControlContext.checkP

[JAVA3D] orbit behavior with multiple views

2001-07-31 Thread Will Holcomb
I have an application where I have multiple ViewPlatforms that I move between. I have been using the ViewingPlatform class to handle the ViewPlatform because it lets me use the OrbitBehavior and I like the behavior. Also I am using the overlay library that I just posted about and the overlays are

[JAVA3D] installation problem

2001-07-31 Thread Thomas Gilbert Giusepe
Hi there, I have tried to install the: Java(tm) Plug-in HTML Converter http://java.sun.com/products/plugin/1.3/docs/htmlconv.html But now I compile and generate the applet with my compiler and it doesn't generated automatically any file_plugin.html, it works only if I include it manually . Any c

Re: [JAVA3D] rebooting

2001-07-31 Thread Nathan Bower
I can almost gaurantee that this is a problem with ACPI and your motherboard (which will use a VIA chipset). I had the same problem... and it drove me nuts... then one day it just stopped. Im not complaining, but im afraid that this means I cant really help you out! I have an abit VA6 I think, a

Re: [JAVA3D] Overlays

2001-07-31 Thread Justin Couch
Will Holcomb wrote: > Hopefully this stuff will go into j3d.org cvs eventually but I want to get > it a little more stable first. The only thing preventing me from having put it in any earlier is DaveY giving a formal "yes it is OK to LGPL the code" and who the copyright header should name. My w

[JAVA3D] OT: JTA/CORBA Authors wanted

2001-07-31 Thread Justin Couch
G'day Folks, Sorry for the completely off-topic post here, but I'm running up against a few brick walls elsewhere. I'm currently finishing my latest book The Java 2 Enterprise Bible. There are a couple of chapters that I don't feel qualified or competent enough to write about. Unfortunately my a

[JAVA3D] Stability

2001-07-31 Thread Karsten Fries
Hi there, this is more a bug (uglyness) report rather than a request! We had some stability issues with java3d on our ibm laptops and found out that a native code exception occured when drawing spheres. The spheres are generated using the com.sun.j3d.util package. We had problems with some sphere

Re: [JAVA3D] picking bug in parallel projection mode

2001-07-31 Thread Tor Einar Kjørkleiv
Hi Chien! I tried to set the pick mode to GEOMETRY_INTERSECT_INFO, but it did not work out. I was not able to pick lines/points. I have set the following capabilities as required: geom.setCapability(geom.ALLOW_FORMAT_READ); geom.setCapability(geom.ALLOW_COUNT_READ); geom.setCapability(geom.ALLOW_