Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

metamind

Member Since 29 Oct 2012
Offline Last Active Apr 30 2013 03:33 AM
-----

Posts I've Made

In Topic: Losing clarity

25 March 2013 - 11:57 AM

I did try various combinations. This is what it looks like with:

 

                glBegin(GL_QUADS);
                    glTexCoord2f(1.0f, 0.0f);    glVertex2i(mFrameWidth,    mFrameHeight);    // Top right
                    glTexCoord2f(0.0f, 0.0f);    glVertex2i(0,            mFrameHeight);    // Top left
                    glTexCoord2f(0.0f, 1.0f);    glVertex2i(0,            0);    // Bottom left
                    glTexCoord2f(1.0f, 1.0f);    glVertex2i(mFrameWidth, 0);    // Bottom right
                glEnd();

 

and

 

        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );

 

2013-03-25.png


PARTNERS