Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-17 Thread Jasmine Kwok
Thanks for your reply. 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 suggested line but it shows a sudden zoom in into the image.. In addition, now af

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

2003-02-17 Thread Richard Smith - Systems Engineer - Melbourne
I'm still curious about the 1.5 second GC as it sounds strange that large amounts of short-lived garbage could cause it. FWIW on a relatively slow machine with j2se1.4.1_01 I tried measuring the effect of creating large amount of garbage e.g. 100M x new Garbage() class Garbage { double[] memo

[JAVA3D] Help!!! Behavior

2003-02-17 Thread Xiao hua Xian
Hi,     Any help is greatly appreciated.       1)When I change TG and the  position of  object B in the Behavior. Why does it only affect the object under the TG?  It doesn't refresh the whole scene like OpenGL?   2)Behavior only can change the transformGroup?         BG   

[JAVA3D] Installation Problem

2003-02-17 Thread Steven Cain
I've tried several attempts to get Java3D working on my machine but when I run a demo, all I get is the "black screen".  I don't know what else to do.   Windows 2000 Prof jdk1.4.1_01 j3d1.3.1_01 beta DirectX9   my path is set and classpath is ".".   Any suggestions?

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread White Morph
Hi, I experienced a similar problem before, but I used triangles so the exception is "Interp point outside triangle". I had a discussion with Kelvin Chung from Sun. See the post: http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0212&L=java3d-interest&P=R18103&D=1&H=0&O=D&T=1&X=3801810F09E3679435&

Re: [JAVA3D] Some questions about triangulation in Java3D

2003-02-17 Thread White Morph
Many thanks to Mark for the information. I am trying to write some simple triangulation code myself, which is optimized by some curvature. Hope it works for my simple restrained input polygons. regards, ---white On Fri, 14 Feb 2003 15:55:56 -0800, Mark Hood <[EMAIL PROTECTED]> wrote: >> Date:

[JAVA3D] Java 3D FAQ Weekly Posting (17 Feb 2003)

2003-02-17 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday February 17 2003 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If t

Re: [JAVA3D] Some questions about triangulation in Java3D

2003-02-17 Thread White Morph
Hi Pasi, I checked the post and tried the example. The problem of not correctly triangulated is just because of you listed the boundary vertices in clockwise order, if you change that order to counterclockwise, you'll get the correct result. white <[EMAIL PROTECTED]> wrote: >At least we ha

[JAVA3D] Responding to Events: WakeupOnAWTEvent & Human Animation with VRML & Java3d

2003-02-17 Thread P. Flavin
Learning 3d programming is easy by combining Java & VRML. VRML describes a 3d scene, Java can render it. Action Events on VRML scenes anmimated with Java3d - as implemented by the Sun VRML Loaders donated to Web3d.org use the __ WakeupOnAWTEvent __ to have web based applet VRML v

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

2003-02-17 Thread Justin Couch
Rob Nugent wrote: I am still getting substantial garbage collection pauses - around 1.5 seconds. (3) is indeed an offender, but it is only one of a largish number (maybe a dozen) of allocation sites that are generating what I would term 'significant' garbage. That's interesting, because we don'

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

2003-02-17 Thread Rob Nugent
Kelvin, FYI - as promised here is my update to this issue: I can confirm that (2) is indeed fixed in 1.3.1beta - thanks for pointing this out to me. I am still getting substantial garbage collection pauses - around 1.5 seconds. (3) is indeed an offender, but it is only one of a largish number (m

Re: [JAVA3D] Modified MouseZoom but canvas hangs

2003-02-17 Thread Silvio Simone
Looks like a problem with the Bounds on the Mouse Behaviors or java3d has a problem if an 3d shape becomes to small or to big...   and is your line correct?? should it not be?: transformX.set(old_scale_factor *(1+dy*scale_factor));    - Original Message - From: Jasmine

[JAVA3D] AW: [JAVA3D] Possible bug with directx 9

2003-02-17 Thread Florin Herinean
No, but I think I'll try that. Although I had a hard time reverting to directx8 :( - that was the first solution that cracked into my head. One more thing, on machines using j3d for opengl, upgrading to directx9 didn't have any effect ;) except that I was able to run 3DMark03. The existing games se

Re: [JAVA3D] Possible bug with directx 9

2003-02-17 Thread John Wright
Florin, I've been hearing a few rumors of problems with DirectX 9. Did you reinstall your video drivers AFTER installing DirectX 9? - John Wright Starfire Research Florin Herinean wrote: > > Hi everybody. > > After upgrading to directx 9, it seems that whenever I'm using textures, my > java3d a

[JAVA3D] AW: [JAVA3D] BranchGroup Problems

2003-02-17 Thread Florin Herinean
Maybe it's related to another question ! Why only branch groups have the compile() method ? Cheers, Florin -Ursprüngliche Nachricht- Von: jrs [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Februar 2003 09:02 An: [EMAIL PROTECTED] Betreff: [JAVA3D] BranchGroup Problems Hi all, I ha

[JAVA3D] BranchGroup Problems

2003-02-17 Thread jrs
Hi all, I have a live branch group to which I go to add a transform group (and or shape3d) which produces the following exception: javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node may be added at javax.media.j3d.Group.addChild(Group.java:260) I have the following capabi

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Philip J Colbert
Kevin I think the bug number may be bug 4516752 but not 100% sure C YA Phil Colbert :) >= Original Message From Discussion list for Java 3D API <[EMAIL PROTECTED]> = >Dead on, and thats exactly what I've done. From the message I guessed it >meant that the pick hadn't actually hit so

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Kevin Glass
Dead on, and thats exactly what I've done. From the message I guessed it meant that the pick hadn't actually hit so I just pretend its a negative response. However, I could do with the bug number, I'll have another search. Kev > Yes! > > I'm not sure of the report number but I asked this questio

[JAVA3D] Possible bug with directx 9

2003-02-17 Thread Florin Herinean
Hi everybody. After upgrading to directx 9, it seems that whenever I'm using textures, my java3d app is crashing. Usage of non-textured objects is ok, but as soon that I add textures the app crashes with the message below. It worked fine before (with directx 8). Cheers, Florin An unexpected ex

[JAVA3D] Modified MouseZoom but canvas hangs

2003-02-17 Thread Jasmine Kwok
Hi all,   I modified the MouseZoom.java class to work such that it uses scaling instead of translation. However, there is a tendency for the canvas to "hang" after zooming in/out continuously.  The frame still works but no mouse activity within the canvas can be carried out (i.e. MouseRotat

Re: [JAVA3D] Picking Bug?

2003-02-17 Thread Philip J Colbert
Yes! I'm not sure of the report number but I asked this question a while back and was assured it was a known bug, I got round it by placing the offending line inside a try/catch block and it works fine. If I remember correctly it is usually caused in my app by picking a corner or edge of an obje