Re: [JAVA3D] Java 1.5 beta and java3d

2004-04-27 Thread Justin Couch
John Washbourne wrote: Has anyone tried to get 1.5 beta and java3D to play nice together? I've seen about a dozen queries on this issue over the past few months though both this list, j3d.org aliases and private emails. Only one has been positive about it working so far. Seems there is some fairly

Re: [JAVA3D] Java3D and Mouse Listener question

2004-04-27 Thread Nicholas Pappas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ~ There is no direct function, that I know of, that will do this automatically. ~ You could write your own class that does this though. The program will want to implement the mouse listener and extend the thread class. Inside a while(true)

Re: [JAVA3D] Java 1.5 beta and java3d

2004-04-27 Thread James Black
You may need to compile with the source=1.5 " Work like you don't need the money, love like you've never been hurt, and dance like no one is watching." --- Satchel Paige > -Original Message- > From: Discussion list for Java 3D API [mailto:JAVA3D- > [EMAIL PROTECTED] On Behal

Re: [JAVA3D] lookAt method

2004-04-27 Thread hterrolle
Hi, I try toayt the LookAt() method. My test let me know that it is usefull to set the object in the midle of the canvas. If you want to focus on one object the setTranform is enough. You just nedd to get the transform3d of the transformgroup of the wiewplatform. Then set the position minus X of

[JAVA3D] Java 1.5 beta and java3d

2004-04-27 Thread John Washbourne
Has anyone tried to get 1.5 beta and java3D to play nice together? I have 1.4 and 1.5 beta j2sdk trees with java3d working in the 1.4 tree. I recently made the decision to change some of my utility packages to use some new features in 1.5 beta (like the auto boxing/unboxing and the new syntactic c

Re: [JAVA3D] KeyEvent.KEY_PRESSED

2004-04-27 Thread Paul Adamson
Hi,   canvas3D.requestFocusInWindow(); once you have created your Canvas3D. Enjoy :)Paul - Original Message - From: Bassam To: [EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 9:58 PM Subject: [JAVA3D] KeyEvent.KEY_PRESSED I wrote a small behavior that respo

[JAVA3D] KeyEvent.KEY_PRESSED

2004-04-27 Thread Bassam
I wrote a small behavior that responds to key pressing however I have to click with the mouse once on the canvas so the behavior can become active.    Is there a way to skip the mouse click.?   Bassam     public class MyBehavior extends Behavior{     WakeupOr waitEvent ;     WakeupCriterion[

[JAVA3D] Java3D and Mouse Listener question

2004-04-27 Thread Andy
Hi all, I am currently have a program that has a cube, and a camera. I use mouse event listener to check if the mouse moves to the edge of the program, if yes, then it moves the camera. But if I move my mouse to the edge and stop there, it just checks whenever the mouse moves or not, otherwise, i

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Kevin Werner
On Mon, 2004-04-26 at 10:35, Paul Adamson wrote: > Hey there, > > here's my random thoughts on te matter, none of which seem to be a > solution > but perhapse a direction: > > I had a problem where the canvas seemed to lock but without error and > awt > events were still being passed... turned out

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Paul Adamson
Hey there,here's my random thoughts on te matter, none of which seem to be a solutionbut perhapse a direction:I had a problem where the canvas seemed to lock but without error and awtevents were still being passed... turned out to be a my behaviors stoppingwhich made everything on canvas st

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Florin Herinean
I'm also using a *Dell laptop* (rather old) and in specific situations I'm able to freeze the whole computer, either using java3d or jogl or native opengl applications. Consistently I can freeze the computer by resizing the 3d window during animations. I'm having the latest drivers for my graphic c

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Kevin Werner
Thanks Ben, The computer I'm testing on is a Dell only a month or two old, but I'll make sure the drivers are up to date. As for the application log, nothing out of the ordinary either. thanks for the info, kddubb On Tue, 2004-04-27 at 08:45, Ben Moxon wrote: > It sounds like a problem in the

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Ben Moxon
It sounds like a problem in the native code somewhere- you could start by making sure your video card drivers are up to date and perhaps try checking your Windows Application Log to see if that has noticed anything. -ben -Original Message- From: Discussion list for Java 3D API [mailto:[

[JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Kevin Werner
All, I'm having an interesting problem. I have a Java3D applet that I developed on Linux. It has worked awesome. I run it on several platforms and it works fine on Windows XP DirectX (although slow), Mac, and Linux. However, the OpenGL version of Java3D locks the Canvas3D as far as I can tell.

Re: [JAVA3D] KeyNavigatorBehavior

2004-04-27 Thread Gilson Laurent
Hello > What is wrong? Add: canvas3d.addKeyListener(keyNavBeh); and the canvas3d has to have the keyboardfocus. cu === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-

Re: [JAVA3D] lookAt method

2004-04-27 Thread Lars van Gemerden
if you use these vectors to calculate a cross product: Vector3d vec1 = new Vector3d(x1-x2, y1-y2, z1-z2); Vector3d vec2 = new Vector3d(x1-x2, y1-y2, z1-z2-1.0); <-- ?? right? the vectors can be paralel ( x1 == x2 && y1 == y2). This leaves you with a null crossproduct(0,0,0). What should be the d

Re: [JAVA3D] Distributed application. Java3D and JSDT.

2004-04-27 Thread Florin Herinean
in a behavior Cheers, Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Erik Eriksson Sent: Dienstag, 27. April 2004 12:48 To: [EMAIL PROTECTED] Subject: [JAVA3D] Distributed application. Java3D and JSDT. I'm developing a Java3D applica

[JAVA3D] Distributed application. Java3D and JSDT.

2004-04-27 Thread Erik Eriksson
I'm developing a Java3D application that will run on several PC:s in a network. I have also tested writing a simple distributed application using JSDT. The question is now how to use Java3D and JSDT together in order to have one controlling applications (for start, stop, etc). Where should the code

[JAVA3D] KeyNavigatorBehavior

2004-04-27 Thread Bassam
I have a viewplatform as a child of objTrans. I want to change the view with KeyNavigatorBehavior . However, it doesn't seem to work..nothing happens. What is wrong? KeyNavigatorBehavior keyNavBeh = new KeyNavigatorBehavior(objTrans); keyNavBeh.setSchedulingBounds(new BoundingSphere(new Poi