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

Search: Search took 0.00 seconds.

  1. Hi. Don't trouble yourself, I got the problem...

    Hi.
    Don't trouble yourself, I got the problem fixed. I had a getter func that was only returning the width and height of texture1. Thanks.
  2. For texture1, I want to draw a quad of 71x96. I...

    For texture1, I want to draw a quad of 71x96. I should do the following calculation to convert pixels to vertex

    texture_w[0] = 71 * xratio = 71 * 2.0f / w = 71 * 2.0f / 600 = 0.236666f...
  3. Rendering two textures with different dimensions ?

    I have two textures that I want to render in Glut, one is 71x96 and the other one is 75x105 pixels.
    I'm having troubles rendering the second texture, which renders 71x96 instead of 75x105.

    Here...
Results 1 to 3 of 3