All,

I am using JAI to generate some procedural texture images and I am getting
the following exception:

java.lang.ClassCastException: javax.media.jai.RenderedOp        at
javax.media.j3d.ImageComponent2DRetained.getImage(ImageComponent2DRetained.j
ava:339)        at
javax.media.j3d.ImageComponent2D.getImage(ImageComponent2D.java:275)

Java 3D appears to be assuming that the image is a BufferedImage. It is a
javax.media.jai.RenderedOp instance (which implements
java.awt.image.RenderedImage).

Is this a bug, or am I doing something wrong?

Thanks,

Daniel Selman

Author - "Java 3D Programming"
http://www.manning.com/selman

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