hi
keep a "global" reference - a class field - of your
Appearance(lets say myApp);
on this Appearance enable some capabilities, as:
myApp.setCapability(Appearance.ALLOW_POLYGON_ATTRIBUTES_WRITE);
myApp.setCapability(Appearance.ALLOW_POLYGON_ATTRIBUTES_READ);

and to set your new polygon draw mode  do something
like this:

myApp.
getPolygonAttributes().setPolygonMode(polygonMode);
// where  polygonMode (int) is one of
// PolygonAttributes.POLYGON_FILL,
// PolygonAttributes.POLYGON_LINE, or
// PolygonAttributes.POLYGON_POINT

 Read javadocs, it's all there ;-)
Maybe you also like to know about CULL_NONE, when in
point or line mode...

Alessandro



 --- Ben Logan <[EMAIL PROTECTED]> escreveu: >
Hi do I go about changing this during exectuion of
> the program...i want
> the user to be able to press a key and be able to
> see the equivelant
> wireframe view of the current scene.
>
> Regards
>
> ********************************************
> Ben Logan - Graduate Software Engineer
> RCID
> Stephenson Building
> Newcastle Upon Tyne
> NE1 7RU
> www.rcid.ncl.ac.uk
> ********************************************
>
>
===========================================================================
> 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".

_______________________________________________________________________
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, cāmeras digitais, videogames e muito
mais! www.cade.com.br/antizona

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