[JAVA3D] Is there a Transformation Matrix associated with the PickRotateBehaviour??

2000-08-07 Thread Ashish Tayal
hello, Can anyone please tell me if there is a transform matrix associated with the PickRotateBehaviour? PickRotateBehavior behavior1 = new PickRotateBehavior(BranchGroup, Canvas3D, BoundingSphere); I wanted to obtained the Transform3D Matrix and modified it.. Ashish ===

[JAVA3D] [java3d] viewing objects only in certain views

2000-08-07 Thread Ian Nieves
Hello all, I have 3 orthographic views showing objects, and a single perspective view that show the objects. All views are independant of each other. (actually, the 3 orthographic views are tied together to form top/front/left views). I would like to be able to show the viewing volume of the 3

[JAVA3D] drawing objects only in certain views

2000-08-07 Thread Ian Nieves
Hello all, I have 3 orthographic views showing objects, and a single perspective view that show the objects. All views are independant of each other. (actually, the 3 orthographic views are tied together to form top/front/left views). I would like to be able to show the viewing volume of the 3

Re: [JAVA3D] mixing key behavior/ question 2

2000-08-07 Thread Carl Smotricz
Francois, At 14:58 07.08.00 -0500, you wrote: >My question is: Is it possible to send the keyEvent trap by my behavior >class to the JMenuBar (or all the swing component). I have no idea if this will work, but while you're waiting for a better answer, you could try passing your KeyEvents on to

Re: [JAVA3D] Java3D - AWT

2000-08-07 Thread Carl Smotricz
Hello Silvano, At 19:21 07.08.00 +, you wrote: >How can I apply a geometric transformation (rotation, translation and >scale) in >a 3D object (for example, a cube), trigged by a AWT button instead of >using the >mouse? Connect an ActionListener to your buttons, and in the actionPerformed met

Re: [JAVA3D] compressing Java-Classes

2000-08-07 Thread Carl Smotricz
Hello Dieter, At 20:02 06.08.00 +0200, you wrote: >Can anybody tell me, how I can compress Java-Classes best, so that the two >big browsers still can work with the files? The Zipper produces too large >files for my porpuse and the cabinet-files would make small enough files, >but they can only be

[JAVA3D] mixing key behavior/ question 2

2000-08-07 Thread François Savard
Thanks to all of you who try to answer my 'not so clear' previous message. I'm not sure that I've explain my problem very well. I'll try to be clearer this time... I have a class that extends behavior. In this class, I have this wake up criterion: WakeupCriterion[] keyEvents = new WakeupCrite

[JAVA3D] Java3D - AWT

2000-08-07 Thread Silvano Maneck
Hello, How can I apply a geometric transformation (rotation, translation and scale) in a 3D object (for example, a cube), trigged by a AWT button instead of using the mouse? PS: I don't want to use the MouseRotate class. Thanks a lot. - URI - Campus

[JAVA3D] compressing Java-Classes

2000-08-07 Thread Dieter Kohl
Hello! Can anybody tell me, how I can compress Java-Classes best, so that the two big browsers still can work with the files? The Zipper produces too large files for my porpuse and the cabinet-files would make small enough files, but they can only be used by the IE! A Java-Archive is of about the

Re: [JAVA3D] mixing key behavior

2000-08-07 Thread Pondrom, Pierre L
Hi Francois, I will be trying to do this soon. I plan to extend the Key Navigator Behavior by adding addition keys. Anyone have a better idea? > -- > From: François Savard[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Monday, August 07,

Re: [JAVA3D] mixing key behavior

2000-08-07 Thread Carl Smotricz
Hello Francois, At 11:05 07.08.00 -0500, you wrote: >Hello, > >Does anybody know how redirect a key event happening in a canvas 3d to >the swing components? > >I my project, I want to navigate throught the world with arrows keys and I >also >need to enable some of my swing component in the menuba

Re: [JAVA3D] 3D Development environment for Linux

2000-08-07 Thread Carl Smotricz
Roland, At 16:21 07.08.00 +0200, you wrote: >3. and the most important question for me at the moment is, what IDE could I >use that supports Java 3d development ? I don't develop under Linux (yet) so I have no solid experience to back this up. But my experience with Windows-based IDEs indicates

Re: [JAVA3D] PointLight attenuation

2000-08-07 Thread Carl Smotricz
At 11:33 07.08.00 +0200, you wrote: >The PointLight's attenuation does not seem to have any effect on the light. > >Is this a problem of Java3D or is this just not implemented in many OpenGL >implementations ? (I'm using nvidias for a tnt2 on win9x). > >Has anybody got a working attenuated PointLi

Re: [JAVA3D] Intersections

2000-08-07 Thread Doug Gehringer
> From: "Kraemer, Max, CTR" <[EMAIL PROTECTED]> > > I'm trying to write a behavior that allows the user to pick a point on the > surface of a > shape and returns the point that was picked. My hope was to find the > intersection > between the pick shape and the shape I want to pick. This is an ea

Re: [JAVA3D] Behaviors don't work after replacing branch graph

2000-08-07 Thread Kelvin Chung
Hi Ingo, Bug 4357974 (with a test program) - Mouse behavior no longer work after replaceBranchGraph is already submit for it and we'll take a look at this before next beta release. Thanks. - Kelvin --- Java 3D Team Sun Microsystems Inc. >X-Authentication-Warning: oc30.uni-

[JAVA3D] Java3D and JMF

2000-08-07 Thread Marco Lohse
1) I would like to know, if someone has tried to use Java3D and the JMF, for example to create a video texture and a PointSound from a JMF stream. 2) And I would like to know if Sun is planning to create an interface between those two. Marco.

[JAVA3D] Intersections

2000-08-07 Thread Kraemer, Max, CTR
I'm trying to write a behavior that allows the user to pick a point on the surface of a shape and returns the point that was picked. My hope was to find the intersection between the pick shape and the shape I want to pick. This is an easy thing to do with Java 3D 1.2. However, I need to write t

Re: [JAVA3D] nt and java3d

2000-08-07 Thread Jack Gundrum
Jon, I also get a white window on my second moniter/card using J3D OpenGL while the DirectX version works fine under Win2000. I never experienced anything like this under WinNT with a single moniter/card. At 08:38 AM 8/3/00 -0700, you wrote: I get this using Win2k running dual monitors and usin

[JAVA3D] mixing key behavior

2000-08-07 Thread François Savard
Hello, Does anybody know how redirect a key event happening in a canvas 3d to the swing components? I my project, I want to navigate throught the world with arrows keys and I also need to enable some of my swing component in the menubar with hotkeys. Is it possible? Is there somebody who knows

Re: [JAVA3D] Poor performance of interpolators.

2000-08-07 Thread Michael Bandy
I read something in the Java3D forums (sorry - I'll have to search for the reference later today) where they say that interpolators are indeed compute bound. IIRC, the reference goes on to say that you can lower the priority of the thread doing the work to be kind to other processes running on t

Re: [JAVA3D] Poor performance of interpolators.

2000-08-07 Thread Niklas Mehner
Hi ! > Seeing there was a problem with CPU usage I went back to the demo's and using > the HelloUniverse sample proved that as soon as a single interpolator was added as > a child to a transform group the CPU usage went up to a 100%! I'm using an > 800MHz Pentium 3 machine. mmh, probably the int

[JAVA3D] 3D Development environment for Linux

2000-08-07 Thread Vissers, Roland
Hi all, I'm setting up an environment for developing a Low-end 3d visualisation with Java-3d and I was wondering whether anyone could give me some golden hints on the following issues I'm developing on a Redhat Linux Platform (6.1) 1. What JDK should I use ? (I've now installed Java 2 SDK, St

Re: [JAVA3D] Poor performance of interpolators.

2000-08-07 Thread cgerrard
Rob, Thanks for the info. I've set the cycle time to 50ms (default is 0) which is not too jumpy and the applet is definitely more responsive to user interaction despite the CPU still showing at 100%. Carolyn Rob Nugent wrote: > > Carolyn, > > I don't agree with your implication that 100% CPU

Re: [JAVA3D] Poor performance of interpolators.

2000-08-07 Thread Rob Nugent
Carolyn, I don't agree with your implication that 100% CPU usage is necessarily synonymous with 'poor performance'. If you are using Java3D is such a way as to want it to render as many frames-per-second as possble, then you would expect to see 100% CPU usage. This is typically a scenario that o

Re: [JAVA3D] Poor performance of interpolators.

2000-08-07 Thread J. Lee Dixon
Carolyn, I've seen this CPU usage change as well. From what I can figure, if the scene is unchanging (no behaviors or interpolators), then J3D draws the scene when the window needs to be redrawn. If the scene IS changing, then J3D turns into a real-time renderer, drawing the scene as fast as pos

[JAVA3D] Poor performance of interpolators.

2000-08-07 Thread cgerrard
Hi all, I've been surprised how good the J3D performance has been so far - that was until I started using interpolators. Seeing there was a problem with CPU usage I went back to the demo's and using the HelloUniverse sample proved that as soon as a single interpolator was added as a child to a t

[JAVA3D] Animations. WakeupOn ... source code needed !!!

2000-08-07 Thread Alejandro Sanchez
Hi. I'm doing my final work of my grade career, basically it's on animations. I need some information. I can't find the source code of the class WakeupOnTransformChange or Wakeup. Someone knows where to get it ???. It's important to my work because i think i need to define a condition not provide

Re: [JAVA3D] 2D performance questions

2000-08-07 Thread Jeff Sonstein
> 4.) How can I load an image from a jar? take a look at the tutorials at java.sun.com the "how to build a jar" sub-tutorial contains an example of creating one which contains code as well as audio and graphics resources: http://java.sun.com/docs/books/tutorial/jar/basics/build.html and reme

[JAVA3D] Behaviors don't work after replacing branch graph

2000-08-07 Thread Ingo Brunberg
Hi list members, I don't know if this is already a known bug, because it was mentioned after the final Java 3D 1.2 version for Windows had been released. However, now that I have tested 1.2FCS for the Linux platform I am sure this bug really exists. After the view branch in my scene is replaced

[JAVA3D] PointLight attenuation

2000-08-07 Thread Niklas Mehner
Hi ! The PointLight's attenuation does not seem to have any effect on the light. Is this a problem of Java3D or is this just not implemented in many OpenGL implementations ? (I'm using nvidias for a tnt2 on win9x). Has anybody got a working attenuated PointLight ? Niklas =

[JAVA3D] 2D performance questions

2000-08-07 Thread Joerg 'Herkules' Plewe
Hi community! Well, in the end, sometimes we need to do 2D-stuff as well. So 1.) What is the quickest way to draw an image. Is it drawImage()? Or better use kind of MemoryImageSource and do it yourself? What if I want to fill my screen with small 16x16 tiles? 2.) How can I e.g. modify a so