Re: [JAVA3D] ImageComponent

2002-04-15 Thread Kelvin Chung
Hi, From the line number, this happen when one of brainImages[i].getColorModel() == null. Thanks. - Kelvin - Java 3D Team Sun Microsystems Inc. >Date: Sun, 14 Apr 2002 15:47:16 -0400 >From: Vijayaraghavan Rajagopal <[EMAIL PROTECTED]> >Subject: [JAVA3D] Ima

[JAVA3D] ImageComponent

2002-04-14 Thread Vijayaraghavan Rajagopal
Hi, I have an array of RenderedImage, brainImages. I am trying to get the ImageComponent3D calling the constructor ImageComponent3D(ImageComponent.FORMAT_RGBA,brainImages) I get a NullPointerException like this: Exception occurred during event dispatching: java.lang.NullPointerException

Re: [JAVA3D] ImageComponent and Texture question

2001-06-05 Thread Kevin Rushforth
Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Fri, 1 Jun 2001 11:13:05 +0200 >From: Michael Nischt <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] ImageComponent and Texture question >To: [EMAIL PROTECTED] > >yes you can ! > >the only thing you n

Re: [JAVA3D] ImageComponent and Texture question

2001-06-01 Thread Michael Nischt
yes you can ! the only thing you need twice is Texture2D. greetings Michael Nischt code-example //TEXTURE LOADING TextureLoader loader = new TextureLoader("./maps/sky.jpg","RGB", container); ImageComponent2D image = loader.getImage(); Texture2D skyTexture = new Texture2D(Texture.BASE_LEVEL, Tex

[JAVA3D] ImageComponent and Texture question

2001-06-01 Thread Dipl. Ing. Paul Szawlowski
Hi all, can I reuse the ImageComponent object I use, after setting it to a Texture object, i. e. does the Texture object hold a copy of the ImageComponent object or a reference ? I have a lot of images with the same size and format and want to use as little memory as possible. Thanks for answer