Vijay, Java 3D 1.3 adds support for RenderedImage. You can now pass either a BufferedImage or a RenderedImage to the ImageComponent2D constructor, and then wrap the ImageComponent2D in your Texture2D, and finally add your texture to your Appearace for a Shape3D.
Sincerely, Daniel Selman Author - "Java 3D Programming" http://www.manning.com/selman -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Vijayaraghavan Rajagopal Sent: Friday, April 12, 2002 11:44 PM To: [EMAIL PROTECTED] Subject: Reading DICOM file formats into Java 3D Hi, I wrote a while ago asking for help in loading DICOM images into Java 3D. I got a JAI application that has a DICOM decoder. I have used the JAI code. I am at the stage where I am trying to load the image into my branch group. But, if I use code similar to the JAI application, the data is stored as a RenderedImage But Java 3D does not allow this. There is a getRaster function in the JAI application. But this Raster is from java.awt.image.Raster.......J3D only accepts Raster images of javax.media.j3d.Raster. Can someone help me? Is it possible to attach a RenderedImage from JAI into the Branch Group of Java 3D? What types of shapes/images can be attached? __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.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". =========================================================================== 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".
