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: opusGlass

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,149

    Hi Bruce, I was hoping it would be okay if it is...

    Hi Bruce, I was hoping it would be okay if it is only done when initially loading a texture -- which occurs one time in main and then never again. I don't know how to use shaders yet though this is...
  2. Replies
    10
    Views
    1,149

    I know C stores arrays in row-major order, but it...

    I know C stores arrays in row-major order, but it considers the first index as the row and the second index as the column.



    From the wikipedia article, 'Row-Major Order'. So the most efficient...
  3. Replies
    10
    Views
    1,149

    Dan: That is unfortunate...I can't just go...

    Dan: That is unfortunate...I can't just go through all the mipmap levels, because the target pixels may have been blended with other pixels during the mipmapping. But it should work if I enable...
  4. Replies
    10
    Views
    1,149

    Thanks Dan, that fixed the crashing problem. I...

    Thanks Dan, that fixed the crashing problem. I also added masking to ignore the alpha channel (so any pixel whose RGB values are the same as the key should be removed, regardless of its alpha...
  5. Replies
    10
    Views
    1,149

    Color-key transparency for a texture image

    I'm trying to write a function that color-keys a given texture image. For those of you not familiar with color-keying, you specify a certain color to remove from the image, and all pixels with that...
Results 1 to 5 of 5