Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: SporreKing

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,674

    Turns out all I had to do was change...

    Turns out all I had to do was change M.TM.getTile(id).bind(); to glBindTexture(GL_TEXTURE_2D, M.TM.getTile(id).getTextureID());

    Thanks anyways! :)
  2. Replies
    4
    Views
    1,674

    Another thing I also noticed is that if I put the...

    Another thing I also noticed is that if I put the first piece of code in the main render function so that it repeats itself over and over again, and remove the glList functions, so that it render the...
  3. Replies
    4
    Views
    1,674

    I checked it out and as far I i can see it's only...

    I checked it out and as far I i can see it's only a way of simply initializing a Texture. There seems to be nothing more to it :/ I changed my code from loading from a single image to loading from a...
  4. Replies
    4
    Views
    1,674

    glCallList(); behaving strangely.

    Hello! I have recently discovered a problem with my opengl game. This is my render code:


    for(int j=0;j<M.L.id.getHeight()/chunkSize;j++){
    for(int i=0;i<M.L.id.getWidth()/chunkSize;i++){...
Results 1 to 4 of 4