One more question:
So if any change in the object affects all views, and I want to have a different
projection of the object in every view, do I have to instance the object in every view
?
Many thanks !!
Dani
Daniel Moscoso schrieb:
> Hi all !!
>
> I'm developing a Java3D project of a subject of solid-modeling. I wonder if it's
>possible, for example, to have multiple views: one for a solid model, and other views
>for their projections in the same applet.
Yes, that is possible.
> My questions are:
>
> a) I suppose that every view has to reference one Canvas3D, so if a SimpleUniverse
>is constructed with a Canvas3D, one universe is required to every Canvas3D, and every
>Canvas3D has to be added to the applet. Am I right ?
SimpleUniverse is made for simple cases. In your case I would suggest to use
VirtualUniverse with more than one camera graph to avoid multiple universes. (A
cameragraph is built like any scene graph, with the difference to use a Viewplatform
instead of a Shape3d as leaf node).
> b) The same scene tree with the object model has to hang from every universe. If a
>translation or rotation is made to the object, will it affect to all the views ?
If you use VirtualUniverse in the way described above all views will be affected.
regards
Paul
===========================================================================
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".
--
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".