mipmap problems with intel g45 chipset

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

mipmap problems with intel g45 chipset

Hecaton
Hello there,
I've run into a problem with my jogl applet (rc10) on the intel g45/g43 express chipset.
I'm using GL_LINEAR_MIPMAP_NEAREST for my GL_TEXTURE_MIN_FILTER and this works perfectly well on a variety of chipsets (including the intel g33/g31) however on the g45/g43 all textures appear but turn green as soon as the camera is far enough away for the filter to kick in.

After further testing everything works fine when using simply nearest or linear for min filter but all four mipmap filters have this odd glitch.
I'm using glGenerateMipmap(GL2.GL_TEXTURE_2D) for generation.

Anybody else seen this kind of behaviour before?
Or can anyone tell me if there's a way to detect if the chipset you're running on is going to do this?
Obviously I want to use mipmaps but disabling them rather than seeing them messed up would be nice.

 Thanks, Hecaton.
Reply | Threaded
Open this post in threaded view
|

Re: mipmap problems with intel g45 chipset

gouessej
Administrator
Hi

You can detect the graphics card with OpenGL by using gl.glGetString(GL.GL_RENDERER) and gl.glGetString(GL.GL_VENDOR).
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: mipmap problems with intel g45 chipset

Hecaton
Ok, thanks - I'll have to build a restricted list to check against I suppose.

Oh and I also tried generating the mipmaps using AWTTextureIO.newTexture directly with exactly the same results.
Probably the displaying rather than generation that doesn't work properly on this chipset.