[JAVA3D] asking help about the use of a dataglove in Java3D for moving virtual objects

2004-05-21 Thread Gilberto Payares
Hi everyone,   I am a newbie in Java3D. I’ve successfully interfaced a 5DT dataglove and a Polhemus Insidetrak 6DOF magnetic tracker with Java3D via JNI. It works fine but I have had problems trying to translate and rotate any virtual object using my glove.   How can I “attach” an movable virtual

Re: [JAVA3D] cleanup() of multiple SimpleUniverses

2004-05-21 Thread Mark Sholund
As a follow-on to this, I found through OptimizeIt that javax.media.j3d.MasterControl has an element called regUniverseList, an unordered list of the SimpleUniverses I create. It appears to me that when I run cleanup() on one of the SimpleUniverse instances, the universe is not removed from this l

Re: [JAVA3D]

2004-05-21 Thread Liu Samuel
Chien Yang, Here is the code. It mostly comes from the code of bug 4910683 submitted by Peter Antoniac(Thanks goes to him:-) Until I carefully read through this piece of code have I realized we are having the same problem, forgive me, anyway, I am a newcomer to j3d.), What I have changed is

Re: [JAVA3D]

2004-05-21 Thread Peter Antoniac
csec> Chien Yang, csec> Here is the code. It mostly comes from the code of bug 4910683 csec> submitted by Peter Antoniac(Thanks goes to him:-) Until I carefully csec> read through this piece of code have I realized we are having the csec> same problem, forgive me, anyway, I am a newcomer to j3d

[JAVA3D] Transparency problem - Help !

2004-05-21 Thread Humberto Trejos
I have an image with alpha values set pixel by pixel for the background color, that I want to place in the face of a flat box, and have only the background transparent. Despite all possible combinations on the TransparencyAttributes, I get the whole image transparent, except if the mode is set to N

Re: [JAVA3D]

2004-05-21 Thread Chien Yang
Samuel and Peter, Looks like a logic bug in the test program. You are detaching the parent of your armingNode. pLocale | pBGroup <--- detach this node. | pTGroup <--- Collision armingNode. | pBox - Chien. Peter Antoniac wrote: csec

Re: [JAVA3D]

2004-05-21 Thread Liu Samuel
Chien and Peter: What I want to do is to replace the whole scene graph by another one. Without collision behavior as descendant of the root, I can do it. But if there are collision behavior nodes exist, I will encounter this exception. How can I achieve my goal? Do you have any suggestions? I