>> [How can I add objects to an already existing scene during
>> runtime?]
>
> If you want to add a bit later:
> TransformGroup TG = new TransformGroup ();
> TG.setTransform(transform_to_the_right_position_realtive_to_WELD);
> TG.addChild (the_thing_representing_the_weld_bit);
> 
> WELD.addChild(TG);

Please observe that Nodes that you want to attach at runtime (after
the scenegraph has become 'live') must be descendants of BranchGroup.
TGs won't work, afair.
Not only the node that things will be attached to / removed from
must be a BG - the objects to attact / remove must be BGs either.
But when one uses BGs, it works as expected.

Additionally, a look at CapabilityIsFrequent might come out to be
usefull in one or the other case.

Regards,
André

===========================================================================
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