Hi Manuel

> Now I wan't to set the the ALLOW_LOCAL_TO_VWORLD_READ by calling
>
SimpleUniverse.getViewingPlatform().getMultiTransformGroup().getTransformGroup(0
);setCapability(viewTransform.ALLOW_LOCAL_TO_VWORLD_READ);
> but it returns following Exception:
> javax.media.j3d.RestrictedAccessException: Cannot modify capability bits
on
> a live or compiled object
>
> So my Question: Is there a way to set the Capability BEVORE the
> TransfomGroup get's live?
>
Nope I'm afraid you'e not ale to do this. Because it already hangs on the
locale by creating the SimpleUniverse. Which makes it life. You could do
the following things:

1. Detach the BG where the ViewingPlatform is hanging on
2. Overwrite the class by looking into the sourcecode which is provided
3. Don't use SimpleUniverse.

After rethinking I have to take back option 1 which is also impossible
because you can't set the corresponding Capability for this either.

Sorry the first mail only went to the author.

EOF,
 J.D.

--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test the performance of your PC online!

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