I would say the union is possible.  As for the intersection, I can't see it
happening.  Union simply means all of object A and all of object B unite to
make an object C.  I have never attempted it, but I think this may work:
Once you have detected that the two objects are coliding, and the user
requests a union, all you need to do is make sure that the two objects
start sharing a transform group so that they'll stick together.  What I'm
thinking is that you can create a branchgroup with one TransformGroup (say
utg) as its child.  Then detach the two transformGroups (cone and cylinder)
from their Branchgroup and put them as children of utg.  Now you can
control the movement of the union by modifying the transform3d of utg.
However, I can forsee exceptions such as capabilities not set, or attempt
to add Branchgroups to live node, etc.  You'll just have to be careful.
I hope this helps (and I hope you get it working).
Paris

--- "Yazel, David J." <[EMAIL PROTECTED]> wrote:
> It does not.
>
> Dave Yazel
>
> > ----------
> > From:         Daniel Moscoso[SMTP:[EMAIL PROTECTED]]
> > Reply To:     Discussion list for Java 3D API
> > Sent:         Thursday, January 18, 2001 8:16 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      [JAVA3D] Generating objects with the union / intersection
> of
> > another objects.
> >
> > Hi all !
> >
> > I know that Java3D supports intersection / colision detection of
> objects.
> > But does anybody know if it's possible to generate objects with the
> union
> > / intersection of another objects in the scene ? (I mean dinamically
> > generation, with user's interaction like translation or rotation). Has
> > anybody been working with this ?
> >
> > For example, having a cylinder and a cone at the scene, the user makes
> the
> > cone 'collide' with the cilinder and then another object is generated
> by
> > the union / intersection of them.
> >
> > Thanks in advanced !!
> >
> >
> > --
> >
> > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail
> > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender
> und
> > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> > Weitergabe dieser Mail ist nicht gestattet.
> >
> > This e-mail may contain confidential and/or privileged information. If
> you
> > are not the intended recipient (or have received this e-mail in error)
> > please notify the sender immediately and destroy this e-mail. Any
> > unauthorised copying, disclosure or distribution of the material in
> this
> > e-mail is strictly forbidden.
> >
> >
>
==========================================================================
> > =
> > 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".


__________________________________________________
Do You Yahoo!?
Get email at your own domain with 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".

Reply via email to