Ashish, you can attach and detach any BranchGroup from any Group in a live
scene as long as the Group has capabilities ALLOW_CHILDREN_WRITE and
ALLOW_CHILDREN_EXTEND and the BranchGroup has capability ALLOW_DETACH. No
other live connections are allowed. Consequently, if you want to
attach/detach a Primitive (or any non-BranchGroup Node) to a live scene, you
must first attach it to a BranchGroup (before the BranchGroup is live) and
then attach/detach the BranchGroup to the scene.

This is a quick answer but I hope it is clear.

Raffi



-----Original Message-----
From: Ashish Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 11:15 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Plz, Help!


Hello!

Can some body give some tips to me about the
following:

I have multiple primitives on the screen. Suppose that
all these primitives make a group, like one can
translate, rotate and zoom all of the objects
simultaneously.

Now I want to take out some primitives from this group
and make another group. Now, one should be able to
translate, rotate and zoom both the groups seperately,
like if we are interacting with one group then there
shouldn't be any affect on other group.

Simailarly like this another time and so on.

Please inform me is it possible to attach Primitives
to Transform And BranchGroup nodes once the scene
graph is live and compiled.

I know that Group node has ALLOW_CHILDREN_READ,
ALLOW_CHILDREN_WRITE, ALLOW_CHILDREN_EXTEND and only a
Branch Group can be added so that one can add a branch
group to transform group.

But is it possible to attach a TG node to BG node and
Primitives to both of them, once scene is live and
compiled.

I put this query 10 days back, but i didn't get any
reply. Please help me about it.


Thanks to all.


=====
Graduate Research Assistant
Virtual/Augmented and Rapid Prototyping Lab
University of Missouri-Rolla
Rolla, MO 65401
573-341-6815 (O)/573-308-1380 (R)
FAX: 573-341-6815

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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