> Hi,
>
> I am new at Java 3D programming. I am currently reading the Collateral
> tutorial. I have 2 questions, for which I have so far not seen any
> solutions:
>
> Question 1:
> I have an object, which I want to constantly keep aligned with a 3D line.
> The line changes based on an external input (ex: msg received via JMS).
> Everytime this happens, I want to rotate my object to be parallel to this
> imaginary line. Note that this line is not visual, but exists only to
> align the object. For example, every JMS msg generates a new Point3f
> object, so I need to create a LineArray based on the last point and the
> new point just retrieved, and then rotate my 3D object to align it with
> this new line.
>
> Question 2:
> All I've seen in the tutorial is how to manipulate the objects already on
> display - that have been added to the scene graph. Is there a way I can
> add new 3D objects dynamically, at run time? Using the above example, I
> want to create a new 3D object when I get a certain JMS message, and add
> it to the graph. Can I do this? Doesn't this invalidate the "compiled"
> BranchGroup created at startup?
>
>
> Is there any way I can do these things? I would appreciate any help.
>
> Thanks.
>
> Perry Renjen_______________________________
> Securities Lending Technology
> Goldman Sachs & Co.
> 1 New York Plaza, 42nd Floor, New York, NY 10004
>
> eMail: [EMAIL PROTECTED]
> Tel: 212-357-1219 | Fax: 212-493-0104
> Pgr: 917-729-9256 | Pgr eMail: [EMAIL PROTECTED]
> __________________________________________
>
>

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