   Automatic mipmapping with SGIS_generate_mipmap on ATI
  Hello;   Im trying to do some fx using automatic mipmaping generation, but with the extension SGIS_generate_mipmap, the fps falls to 0.1 on my ATI9800....i know its an old issue in ATI boards, since in NVIDIA it works great...dows anybody knows if is there a solution to use automatic mipmapping generation on ATI boards?Thanks!!   
Sorry can't offer a solution, but up until 6 months ago i'd regularly used SGIS_Generate_Mipmaps with no loss of performance on my Radeon9800. Might want to check you drivers are up to date (or even roll back a version), otheriwse check your support code to make sure you've not made a simple error, like not assigning the texture object mipmaps in the first place etc.   ;  I used this extension for the first time a few minutes ago (ATI Radeon 9800 Pro, Win2k, Catalyst 6.2 w/ CCC):>>> bind texture to GL_TEXTURE_3DglTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);glTexParameteri(GL_TEXTURE_3D, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);glHint(GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);>>> upload texture to tex level 0Worked great for me...   ;  Works for me on a X1900XT...Make sure your textures are a power of 2 and see if you get any errors back from OpenGL.;  Thank u all...after i had my drivers updated, the problem is still there.... here is how i create my texture   glGenTextures(1, &target);glEnable(GL_TEXTURE_2D);glBindTexture(GL_TEXTURE_2D, target);switch (type){case RT_SHADOW_TARGET:{glTexImage2D(GL_TEXTURE_2D, 0, GL_INTENSITY8, width, height,0, GL_LUMINANCE, GL_UNSIGNED_BYTE, NULL);}break;case RT_COLOR_RGB_TARGET:{glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, NULL);}break;case RT_COLOR_RGBA_TARGET:{glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);}break;}glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);if (generate_mipmap){glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);glHint(GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);}else{glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);}glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE_EXT);glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE_EXT);  ...and i fill it withglCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0,0, real_width,real_height);When i bind it, and callglTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL,1);the fps drops from 75 (vsync...) to 10 ... can u see any problem in my code?Thanks!   ;  Shouldn't...glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);glHint(GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);...be called prior to any...glTexImage2D()...?;  No difference,zimerman...is it ok to callglCopyTexSubImage2D ?or should i callglCopyTexImage2D  ?Thanks   ;  Hmm - reading the extension's description I suppose it to gen mimaps whenever the base level is modified (glTex(Sub)Image & glCopyTex(Sub)Image):Quote:If GENERATE_MIPMAP_SGIS is enabled, the side effect occurs wheneverany change is made to the interior or edge image values of the baselevel texture array. I suggest to give glTex(Sub)Image() a try - if it works, then they (maybe) missed the specs - if not, the problem is elsewhere...!?   ;  r u chnaging the base level each frame if so u will see a frame drop, but if youre getting 0.1 then its likely u have software, is it happening with RGBA textures only? (i expect intensity8 to be slow) note L_GENERATE_MIPMAP_SGIS has been superseeded check the 2.0 spec www.opengl.org to see the new method   ;Quote:Original post by zimermanShouldn't...glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);glHint(GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);...be called prior to any...glTexImage2D()...?I would suggest trying without the glHint. Even though the Hint is something that the implementation is allowed to ignore, maybe the ATI driver is trying to something funny that makes it fall back to the software path.zedzeek: GL_GENERATE_MIPMAP as provided by the GL2.0 spec has the same integer value as GL_GENERATE_MIPMAP_SGIS so that's OK.   