Menu

#29 allegro 0.2.2 mipmaps don't work

open
nobody
None
5
2004-05-27
2004-05-27
No

I use allegroGL 0.1.0 on linux and I haven't been able to upgrade
to the new allegroGL because as soon as I recompile all of my
programs, the mipmapping is screwed up.

No matter what I try to do to fix it, the mipmapped (distant)
textures are blocky. It's as if I passed
GL_NEAREST_MIPMAP_NEAREST to the mag filter parameter
though I haven't.

I never had this problem with 0.1.0

Discussion

  • Robert J Ohannessian

    Logged In: YES
    user_id=41801

    Have you tried using allegro_gl_use_mipmapping() or
    allegro_gl_make_texture_ex()?

     
  • Mike Farrell

    Mike Farrell - 2004-07-04

    Logged In: YES
    user_id=750483

    Yes, tried both

     
  • Robert J Ohannessian

    Logged In: YES
    user_id=41801

    Does it affect the examples too?

     
  • Mike Farrell

    Mike Farrell - 2004-08-09

    Logged In: YES
    user_id=750483

    None of the examples use mipmappin in a way that I can test.
    I have to be wandering in a 3D scene and watch the
    transition of the mipmaps in the distance to tell if they
    are being filtered wrong.

    I would imagine though that the examples would have the same
    problem because I have produced very basic mipmapping
    example programs of my own that have the problem. I also
    believe I tried nehe tutorials on the new library that
    produced the problem as well.

     
  • BWPOW

    BWPOW - 2004-08-14

    Logged In: YES
    user_id=1104100

    I have the same problem with version 0.2.4. Old version 0.1.4
    worked ok. Here are the links to two screenshot:
    http://bwpow.ideaz.sk/supreval/good.jpg (ver 0.1.4)
    http://bwpow.ideaz.sk/supreval/bad.jpg (ver 0.2.4)

    Source code for both versions is exactly the same. In 0.2.4
    version are small textures very blocky (light on the ground)
    and textures seems to ignore GL_CLAMP_TO_EDGE flag. Same
    for distant textures.

    I use allegro_gl_use_mipmapping() and
    allegro_gl_make_texture().

     

Log in to post a comment.