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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,030

    I tried that, and for an image that should be all...

    I tried that, and for an image that should be all red, I get black streaks (shown below):

    It seems like it's interpolating in between the R, G, and B values by treating them each as texels,...
  2. Replies
    2
    Views
    1,030

    really simple rgb shader

    I hope this is an easy question...

    I'm just trying to create a shader that reads an RGB image frame (width x height) formatted as (R1,G1,B1,R2,G2,B2,...,Rn,Gn,Bn) into a texture.

    The code below...
  3. Replies
    0
    Views
    656

    weird zoom-in with simulated earth

    My world has a coordinate system that represents the earth as a sphere. I can pan around my earth, and zoom in/out of my earth.

    I pan by calling gluLookAt(x, y, z, 0, 0, 0, 0, 0, 1), where x, y, z...
Results 1 to 3 of 3