Christian Zanardi wrote:

Hi!

first of all thanks for the answers and hint on the problem (the
textureCubeMap from Alessandro Borges was a life savior). I found out that
the problem came from the following lines of code:

texCmap.setMagFilter(Texture.NICEST);
texCmap.setMinFilter(Texture.NICEST);

with them the texturecubmap represented by texCmap disappear all together
either in opengl (on my machine with GeForce but correct with directX) and
in directX (on my client machine with radeon 8500).

Bug?

Best regards,



I don't think this is a bug in Java3D.

Texture.NICEST require setting image of different mipmap levels.
The driver may not able to handle correctly if only 1 level is set.

Check out TextureLoader utility source code. It is able to scale image
and set mipmap level
for normal Texture2D but not TextureCubeMap. You can copy the code
segment and
use it for
TextureCubeMap  public void setImage(int level, int face,
ImageComponent2D image)

- Kelvin
-------------
Java 3D Team
Sun Microsystems Inc.

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