Tria,

Java 3D is not designed to allow you to add your own custom Nodes (i.e.
objects derived straight from Node) to the scenegraph. I'm pretty surprised
it even compiled! A Node contains a NodeRetained member that I don't believe
you have access to.

You can derive from Nodes that actually implement functionality, such as
TransformGroup, BranchGroup etc. etc.

What are you trying to implement?

Sincerely,

Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com

> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tria
> Sent: 25 October 1999 11:32
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] add child to branchgroup
>
>
> Hi..
> I made a class extended from Node. And I try to add it to one BranchGroup
> But it gives me java.lang.NullPointerException at
> javax.media.j3d.GroupRetained.addChild.
> I have checked the object and it's not null.
> How can it happen??
>
> Thanks
> Tria
>
> ==================================================================
> =========
> 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".

Reply via email to