Re: [JAVA3D] Alarming amounts of garbage generated by picking routines

2003-02-18 Thread Rob Nugent
Justin, I'm seeing a lot of objects allocated in different places inside Locale.pickAllSorted(). For example observe the "alloc'ed bytes' in the following: TRACE 15537: javax.media.j3d.SceneGraphPath.(SceneGraphPath.java:64) javax.media.j3d.Picking.getSceneGraphPath(Picking.java:3

Re: [JAVA3D] Alarming amounts of garbage generated by picking routines

2003-02-18 Thread Rob Nugent
Richard, Thanks for your notes on this subject. I'm trying to find enough time to try some of the switches that you've pointed out to me. You are right to guess 'Full GC'. Here's the output of a 2 minute time test with '-verbosegc': ogl_ifb: disabling vertical retrace sync on buffer flip [GC 774

[JAVA3D] Mouse wheel behavior

2003-02-18 Thread Rob Bosman
Hi all, I have a question: does class WakeupOnAWTEvent support event id java.awt.event.MouseEvent.MOUSE_WHEEL? I created a simple MouseWheelBehavior class and added it both as a Behavior and as a EventListener, like this: MouseWheelBehavior mouseWheelBehavior = new MouseWheelBehavior(); mous

[JAVA3D] Simple Viewer

2003-02-18 Thread Sandegren, Eric S.
I am writing a simple viewer for loaded objects. Basically you load the file and it shows in a canvas. I then want the user to have the ability to move the view "around" the object. I currently have controls in to translate the view platform, and that works great for moving closer and farther aw

Re: [JAVA3D] Mouse wheel behavior

2003-02-18 Thread Kelvin Chung
Rob Bosman wrote: Hi all, I have a question: does class WakeupOnAWTEvent support event id java.awt.event.MouseEvent.MOUSE_WHEEL? I created a simple MouseWheelBehavior class and added it both as a Behavior and as a EventListener, like this: MouseWheelBehavior mouseWheelBehavior = new MouseWheel

[JAVA3D] how to set full screen at compile time?

2003-02-18 Thread Vincent
Hello all, I'm new to Java3d and it's probably trivial, but does anyone have an idea of how to set a Java3Dapp to fullscreen size in the code? I don't want my users to have to enter that command line sentence. Also, it makes the look consistent if I could do that at compile time. Thanks!VinceNo

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Mark Hood
> Date: Tue, 18 Feb 2003 15:53:00 +1000 > From: Jasmine Kwok <[EMAIL PROTECTED]> > > The problem does not only occur when the image is too big/small. It = > could just hang while zooming; I suppose the line = > transformX.set(1+(dy*scale_factor)); > is correct as I tried the suggest

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Mark Hood
> Date: Tue, 18 Feb 2003 14:27:39 -0800 > From: Mark Hood <[EMAIL PROTECTED]> > > It's possible that the expression 1+(dy*scale_factor) could evaluate close > enough to 0.0 under some conditions that you're getting a non-affine > transformation, which is illegal for a TransformGroup. Sorry

Re: [JAVA3D] how to set full screen at compile time?

2003-02-18 Thread Silvio Simone
taken from www.j3d.org I wrote an Applications which uses fullscreen with OpenGL with the effect, that it doesnt work on every machine. I think it deepends on the OpenGL support of the graphic card. Bye the way, it was not faster! 9. How do I get Java 3D in fullscreen mode? There are two w

Re: [JAVA3D] Alarming amounts of garbage generated by picking routines

2003-02-18 Thread Richard Smith
FWIW -verbose:gc gives some reasonable summary information, but much more is available. I suggest using a combination of the following to explore further what's happening in the GC events: -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC \ -XX:+PrintTenuringDistribution Also, note th

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Jasmine Kwok
I checked for if (1+(dy*scale_factor)) to ensure that its greater than 0 before i go through the transformation but it doesn't help. I do not quite understand about the part on using Math.pow. Do you mean that I can try to replace if (1+(dy*scale_factor)) with Math.pow(2.0, exp)? And exp will be c

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Mark Hood
> Date: Wed, 19 Feb 2003 09:36:08 +1000 > From: Jasmine Kwok <[EMAIL PROTECTED]> > > I checked for if (1+(dy*scale_factor)) to ensure that its greater than 0 > before i go through the transformation but it doesn't help. If this is a view platform transform, is the scaling the same across X

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Jasmine Kwok
There are no messages from the JVM or exceptions that are thrown when the canvas hangs. By the way, the application doesn't hang. Its only the canvas. The menu bar and textfields for the application still works after the canvas hangs. This explains why MouseRotate and MouseTranslate does not work e

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Jasmine Kwok
To add on, I noticed that the canvas hangs most of the time when the mouse movement is too fast. Is that something to do with Mouse Behavior? But why does Rotate and Translate work fine with fast/slow mouse movements? I did not change any part of the codes relating to Mouse Movements. Jasmine Kwo

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-18 Thread Mark Hood
> Date: Wed, 19 Feb 2003 10:07:50 +1000 > From: Jasmine Kwok <[EMAIL PROTECTED]> > > There are no messages from the JVM or exceptions that are thrown when the > canvas hangs. OK. I should have looked at your code more closely first (the HTML makes it very difficult to read though; try to

Re: [JAVA3D] Altivec and Java3D and Vecmath

2003-02-18 Thread Mark Hood
> Date: Mon, 17 Feb 2003 00:50:44 -0700 > From: Ian Nieves <[EMAIL PROTECTED]> > > I wanted to use this email to get people thinking about how Altivec can > increase the performance of Java3D applications. That is, I hope to see > responses to this email. Someone else also posted a questi

[JAVA3D]

2003-02-18 Thread Mahesh Mathur
JAVA3D-INTEREST Digest - 16 Feb 2003 to 17 Feb 2003 (#2003-51)signoff java3d-interest === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, sen

Re: [JAVA3D] how to set full screen at compile time?

2003-02-18 Thread Kevin Glass
I guess www.j3d.org is out of date. In Java 1.4 you can do "proper" full screen mode. Which incidently is faster for certain graphics cards, like the Voodoo series which can only do 3d acceleration in full screen mode. There is an example to download of how to do hardward full screen mode at: htt