Actually, I want one view for one scene and another view for another scene,
which is why the behavior I'm seeing seems very puzzling to me.
> -----Original Message-----
> From: Josh Richmond [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 15, 2000 11:26 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] A question...
>
> Max,
>
> If I understand correctly, you just want two views of the same scene
> right?
> In my application, I use the approach of having one Universe and locale,
> but multiple ViewPlatforms. This prevents you from using SimpleUniverse,
> but it's not that complicated. The scene graph looks something like this:
>
> universe---locale---BG---"My model geometry"
> |
> —--BG---ViewPlatform---Canvas3D
> |
> —--BG---ViewPlatform---Canvas3D
>
> (hope that displays right)
>
> Now you can keep adding new branch groups (BG) to the locale. If you need
> to remove them, you must set the ALLOW_DETACH capability.
>
> Let me know if you have any questions regarding this structure.
>
> Josh
>
>
> ----------------------------------------------------
> Joshua L. Richmond, BASc, MSc.
> Systems Engineering (R&D)
>
> MD Robotics
> 9445 Airport Rd, Brampton, ON, Canada
> (905) 790-2800 x4332
> -----------------------------------------------------
>
> >>> [EMAIL PROTECTED] 12/15/00 11:10AM >>>
> Actually, I'm creating a new JFrame, Canvas3D, Universe, BranchGroup, and
> everything else (at least I think I am).
> The two plots I'm bring up should be independent of each other.
>
> > -----Original Message-----
> > From: Roman Guskov [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, December 15, 2000 8:18 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JAVA3D] A question...
> >
> > Hello Kraemer,,
> >
> > ???????, 15 ??????? 2000, you wrote:
> >
> > KMC> I'm working on an analysis suite that includes a 3D plot using Java
> > 3D.
> > KMC> When the plot is started a new window containing
> > KMC> a 3D display (a new Canvas3D object, a new universe, ...) appears.
> I
> > was
> > KMC> hoping to be able to have multiple instances
> > KMC> of this plot open at one time. However, when I open a second
> > instance of
> > KMC> the plot, I get a RestrictedAccess exception.
> > KMC> The exception says that I am trying to set capability bits on
> > something
> > KMC> that's already live or compiled. Does anyone know
> > KMC> what's happening?
> >
> > KMC> Max.
> >
> > KMC>
> >
> ==========================================================================
> > =
> > KMC> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> > the body
> > KMC> of the message "signoff JAVA3D-INTEREST". For general help, send
> > email to
> > KMC> [EMAIL PROTECTED] and include in the body of the message
> "help".
> >
> >
> > Suppose you have one BranchGroup object. All the objects in the scene
> > are attached to this object. This Object is
> > attached to the Universe object(usually SimpleUniverse).
> > And you want to display this BranchGroup object in several different
> > windows?
> >
> > How do you open a new instance?
> >
> > You create new Frame or Panel or JFrame or JPanel and add the
> > Canvas3D object that is already displayed in another Frame or Panel,
> > suppose?
> >
> > Remember:
> > When you attach the BranchGroup object to the SimpleUniverse, this
> > object becomes live and compiled. And it no longer can be modified.
> > In order to modify the BranchGroup object, before adding this object to
> a
> > universe
> > branchGroup.setCapability(ALLOW_DETACH) must be set. So you will be
> > able to detach the branchGroup (branchGroup.detach()) and ONLY THEN
> > modify it.
> >
> >
> > Best regards,
> > Roman Guskov mailto:[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".
>
> ==========================================================================
> =
> 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".
> << File: Josh Richmond.vcf >>
===========================================================================
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".