If I'm not wrong, .draw(Shape3D s) is in fact
.setAppearance(s.getAppearance). So, I thing you are using its Appearance
somewhere, somehow, for example in scene graph. Recheck code and Good luck!


>From: Andrew Adrian <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] What the heck does this mean????
>Date: Fri, 21 Apr 2000 08:05:49 -0500
>
>I'm getting an odd error when trying to use immediate-mode rendering.
>
>"javax.media.j3d.IllegalSharingException: Appearance: Scene Graph
>appearance may not be in immediate mode"
>
>This comes up on a GraphicsContext3D.draw(Shape3D);  The Shape3D it's
>trying to draw is one that I wrote.  Basically I have a class that
>extends Primitive, that based on a constructor argument creates either a
>Pyramid or a ClosedBox.  I wrote both the Pyramid and ClosedBox classes
>to extend Shape3D, making it really easy (I thought) to do immediate-mode
>rendering.
>
>
>Can anyone give me a clue on how to fix this, and perhaps why I'm getting
>it in the first place?
>
>Thanks in advance.
>
>Andy
>
>===========================================================================
>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".

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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