Hello,
I have a problem : If I create a new Texture with com.sun.opengl.util.texture.TextureIO.newTexture and do not use mipmapping, I get a blank cube (which is textured if I’m setting mipmapping=true).
My texture has power of 2 (256x256 pixels).
If I create the Texture with TextureIO.newTextureData and setting the texture for the texture target manually, it works.
Here is my little test programm :
http://horustempel.de/OpenGL/TestFrame.java
and my test texture image :
http://horustempel.de/OpenGL/buntbaum.tga
What is wrong with my code???
dj3hut1
P.S. My graphics card has the following data :
Vendor : Matrox Graphics Inc.
Version : 1.1.3 Aug 2 2001
Renderer : Matrox G400
Extensions : GL_ARB_multitexture GL_ARB_texture_env_add GL_Autodesk_facet_normal
GL_EXT_abgr GL_EXT_bgra GL_EXT_compiled_vertex_array GL_EXT_packed_pixels GL_EX
T_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texture_edge_clamp GL_EXT_t
exture_env_add GL_EXT_vertex_array GL_KTX_buffer_region GL_SGIS_multitexture GL_
WIN_swap_hint WGL_EXT_swap_control