• MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 288 from 2003/7/26
    From: Wroclaw/Poland
    Does mipmapping work in current version of TinyGL? I am not sure...

    After using:
    Code:
    gluBuild2DMipmaps(GL_TEXTURE_2D, depth, width, height, GL_RGB, GL_UNSIGNED_BYTE, data);

    when I check:
    Code:
    glGetError();

    result is 0 (GL_NO_ERROR).

    However I don't see mipmaps on small/far objects which should use smaller textures.

    I use in MorphOS gluBuild2DMipmaps() because glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE) doesn't work in TinyGL (includes in the latest SDK don't contain GL_GENERATE_MIPMAP);

    This is problematic for me because this is reason why MorphOS version of application works slower than version for other platforms. MOS version is the most important for me. :)

    [ Edited by MDW 01.07.2020 - 19:16 ]
  • »01.07.20 - 16:58
    Profile Visit Website