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".

Reply via email to