Dear all, I don't know whether this problem is too difficult to resolve. I sent several messages to the list but couldn't get a response to help me.
What I am trying to do is adding a TranparencyInterpolator to the parent of a Shape3D object during the runtime so that I would have the animation of my current scene. Therefore I am trying to access to the parent of a Shape3D object during the run time. However, I am getting the exception: "Cannot get the parent of a live or compiled node". I can only add the TranparencyInterpolator during the run time because the user should determine the Alpha value during the run time. My questions are: 1) How can I access to the parent of a Shape3D object during the run time? 2) If I add TransparencyInterpolator to the parent of my Shape3D object (which is a TransformationGroup) during the run time, do you expect that I would get an animation of my compiled scene? Thanks for any help ------------------- > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > Looking at the javadoc, a shape3d inherits from Node, node has a getParent > method, but the javadoc also states that it is only valid during scene graph > construction, after that it will throw the Restricted access exception, > according to the javadoc i have this was the case in both j3d 1.2.1 and j3d 1.3. > I don't suppose thats what you wanted to hear, as for the ALLOW_PARENT_READ > capability, I did a google search and only got 1 single match, and that was from > a mail sent to this list on the 16th of december, so i'm not sure it even exists. > > HTH > > Jeremy > > - -- > > PGP key is here -> http://www.computerbooth.com/pgp.html > > * If debugging is the process of removing bugs, then programming must be the > process of putting them in. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQE+AtSpkkWXI7JvucARAoelAKCdALmb8XFjfNjzTZQ90d2m3eLPPACgxC7z > b1EncvMnoNCOwI7HjQS5kF0= > =jpjK > -----END PGP SIGNATURE----- > > ====================================================================== ===== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
