Hello Thijs!

Whatever attribute you change on the live object,
you should set this capability on it's appearence.
in your case I think you need to do the following:

Appearance look;
    .
    .
    .
look.setCapability(Appearance.ALLOW_POLYGON_ATTRIBUTES_READ);
look.setCapability(Appearance.ALLOW_POLYGON_ATTRIBUTES_WRITE);

Boris Epelman

On Thu, 7 Sep 2000, Thijs Maenhout wrote:

> I think this is a simple question but I can't get out of it (I'm a newbie to
> Java3D)
>
> I wan't to change the appereance of a Shape3D at Runtime (wireframe ->
> Solid; Solid -> wireframe)
> The code to do this works fine but when I wan't to switch between Wireframe
> and Solid at Runtime I get the exception that
> the object is Live.
>
> So my question is how can I change the appereance of a Live object.  Wich
> Capabilities do I have to set and Where do I have to set them.
>
>
> Looking forward for you words of Wisdom
>
>
> Greetings
>
> thijs
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, sendemail 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".

Reply via email to