Hi. I think that the back face of your square is being
culled by the renderer.

Try doing this:

PolygonAttributes pa=new PolygonAttributes();
pa.setCullFace(PolygonAttributes.CULL_NONE);

Mail me if you have any problems with this.
Hope this helps.

--Venkata

--- Bruno Sousa Caiado <[EMAIL PROTECTED]> wrote:
> Hello.
>     I am experiencing a problem that i can�t solve:
>
>     I have a flat square drawn with the
> IndexedQuadArray class. I�ve specified per vertice
> color, an appearance (with a material) and lights
> (ambient and direccional).
>     The problem occurs when i rotate the scene.At a
> certain point (when the square�s front face is not
> facing me..) i stop seeing the square!! It only
> appears back again when i rotate it back to the
> initial position.
>     I would to see the square all the time (even
> without ligths).
>     How can i do this and what am i missing?
>     Thank you very much for your help.
>
>     Bruno Caiado
>     [EMAIL PROTECTED]
>
>
>

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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