Folks,

I am trying to write a customised Canvas3D so that no matter what the given
appearance of an object drawn in that canvas it will always be rendered in
wireframe. I'm displaying multiple views of the object so actually changing
the object's appearance directly isn't an option.

To do this I'd considered customising Canvas3D to return an extension of
GraphicsContext3D, ConstrainedGraphicsContext3D, when its
getGraphicsContext3D() method is invoked. The ConstrainedGraphicsContext3D
class would then modfiy any appearances passed to its setAppearance methods
so that the polygon attributes ensured the object was rendered in wireframe
(I'm assuming that the Canvas3D and GraphicsContext3D works in a similar way
to the Canvas and Graphics AWT classes).

Unfortunately this hasn't proved possible as the GraphicsContext3D class
does not have any public constructors (I assume they have package scope). As
far as I know the source for the Canvas3D and GraphicsContext3D classes is
not available. Without it I'm pretty much stabbing around in the dark trying
to guess what the class does at construction.

Any ideas how to overcome this problem, or suggestions for a completely
different line of attack would be greatly appreciated.

Thanks

Andy Wilkindon

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