Home > Software engineering >  About opengl figure problems generated in the mip
About opengl figure problems generated in the mip

Time:09-27

In order to reduce the large size texture was applied to small deformation of the surface, the large size texture opengl can generate a series of cutting pattern (mip), I found that using glubiuld2Dmipmaps functions in practical use can decrease the deformation effect, but can make the texture became blurred, the biggest series can avoid the problem of fuzzy control to cut (in another place I is to use the grain size of 1024 x 8, glubiuld2Dmipmaps to generate 128 x 1 cut pattern, only the equivalent of the largest series of 3, the effect of generation is good),
Generation mip figure I want to be able to control the largest series, then I see glubuild2Dmipmaplevels can control the shrink series range, but the visual studio includes glu. H header file was not glubuild2Dmipmaplevels function definition, I attempted to manually generated by glteximage2D mip now figure, but simple function will be the second parameter is set to an integer greater than zero and cannot generate correct mip figure, so want to ask next everybody here if you want to be generated by glteximage2D mip figure code should be how to write, thank you all for the great god

CodePudding user response:

Baidu search relevant keywords,

CodePudding user response:

http://blog.csdn.net/dcrmg/article/details/53385433

http://www.linuxidc.com/Linux/2015-02/114020.htm

CodePudding user response:

Has been solved, in fact, the distance of fuzzy not mipmap problem, should not be solved through adjusting mipmap series, but should open anisotropic filtering

CodePudding user response:

much,
  • Related