[JAVA3D] SV: [JAVA3D] SV: [JAVA3D] SV: [JAVA3D] Problems with 3DS objects (test code valid)

2003-12-16 Thread Fredrik Andersson
Hello! I guess that I downloaded them from: http://www.j3d.org/utilities/loaders.html Else I guess that you can search on the pacakage names and downloads at google or some search engine. I put the jar-files in [JAVAHOME]\jre\lib\ext. Hope it helps mate! Best regards Fredrik -Ursprungligt me

[JAVA3D] Videotextures

2003-12-16 Thread Vehkala Mika
Hi, I have a problem creating videotextures with java3d. I'm using immediate mode and J3D version 1.3. In retained mode videotextures works perfectly but in immediate mode it does not update the texture. I am using ImageComponent2D.updateData() method and I have tried several combinations of Buffe

[JAVA3D] Write own KeyBehavior

2003-12-16 Thread Henrik Allendorf
Dear all, I would like to write my own KeyBehavior, but I have problems to identify the pressed key. Can someone help me? E.g. when I press the key "a", I would like to do something. Here's my code: public class NavBehavior extends Behavior{ private TransformGroup viewTG; //NavigationCalculat

Re: [JAVA3D] Write own KeyBehavior

2003-12-16 Thread Mike Pilone
Henrik, Look at the documentation for KeyEvent in the standard Java Docs. There is a method KeyEvent#getKeyCode() that will return the key code to you. You can then compare this code with the constants defined in the same class (KeyEvent#VK_A). -mike On Tue, 2003-12-16 at 07:20, Henrik Allendorf

[JAVA3D] Videotextures

2003-12-16 Thread Vehkala Mika
A little addition to my previous post. It seems that Texture2D.setImage() does set the image only once. When I try to set the image second time nothing happens. I have set the ALLOW_IMAGE_WRITE capability for the texture. If I recreate the texture object the video texture works. - Mika ==

[JAVA3D] get coordinates

2003-12-16 Thread Tom Govaert
Hello ,   Thanks for all the help you’ve allready given. I still have a thing that I can’t seem to find.   I want to get the x, y, z coordinates of the position that I am moving with my keynavbehavior… how do I do this ?   Later on I want to attach some object (avatar) to this point

Re: [JAVA3D] How do you open a number of Canavas3D's?

2003-12-16 Thread Mr H. Morgan
Hi All, I am having all sorts of problems with opening a number of Canvas 3D's on a particular setup of machine. I think it is to do with the graphics card / driver (ATI Radion 7500). It could be the same on the Radion 9000 mobility (I did not have long to plat with one, but it looked the same).

Re: [JAVA3D] How do you open a number of Canavas3D's?

2003-12-16 Thread Franck Calzada
I'm doing that in my application (java pool game) Take a look at it, and let me know if what I did will solve your problem, then I'll send you some piece of code. http://www.geocities.com/calzada_us/Billard3D/Pool.html Regards, Franck

Re: [JAVA3D] How do you open a number of Canavas3D's?

2003-12-16 Thread Mr H. Morgan
Hi Frank, It looks good. I am now at home, so cannot test it on the setup that was failing, but I would be very interested to see how you instansiate the canvases and add them to the panel. Is there supposed to be anything in the middle of the three little panels on the right? It is just a grey