[JAVA3D] Load vrml from a jar and JInternalFrame problem

2005-01-09 Thread Serge Bernier
Hi all, Im trying to acces some vrml files that I added in a jar file. After the user start the application (ex: java -jar MyApp.jar), I need to load the vrml files in the jar file. I searched on the web but no luck, if anyone know I would sure need a good hint!! Im also wondering if it possible

[JAVA3D] PickCanvas ignores front and back clipping planes

2005-01-09 Thread Matthew Broadhead
In order to view a slice through a 3D object I adjusted the View object front and back clipping planes. I previously tried the ModelClip object but it does not seem to work properly. public void setZClipDistance(double position) { double smalldistance = 40 * scale; position = - position * sc

Re: [JAVA3D] view.setWindowMovementPolicy broken?

2005-01-09 Thread John Wright
Jon, I'm not sure what you are meaning. I only work with applications, not applets so I can't comment on it in a browser. In Pernica (application) the user can move their 3D view around the screen and nothing will change. If they resize the window it will adjust slightly but they essentially see

Re: [JAVA3D] Textures using TexCoordGeneration

2005-01-09 Thread Dirk L. van Krimpen
Tom, Have you tried setting the Vector4f's as below? tcg3=new TexCoordGeneration( TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_2, new Vector4f(1,0,0,0), new Vector4f(0,1,0,0)); Dirk -O