Dear all:
        I am currently try to change the size of some shape, i.e. cube.  I
have a exception come up:
javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node 
                                                may be added

        at javax.media.j3d.Group.addChild(Group.java:246)
        at PickHighlightBehavior.setSize(PickHighlightBehavior.java:124)
        at CreateGeometry.setSize(CreateGeometry.java:535)
        at mInterface$3.actionPerformed(mInterface.java:102)
        ...
        I am using the pickHighlightBehavior class, which is modified for
TickTockPick.java in the demo.  The reason being that the pick method only
pick the object but not the transformGroup.  I don't know if there is any
way to work around that, and if there is any example regarding change the
size of the object, could you give a site or something.  anything
really!!!!

Thanks advance!

kelan
        



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to