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

Search: Search took 0.00 seconds.

  1. Reading pixel intensities from a displayed image

    I want to create a histogram of intensities 0.1, 0.2, .... 0.9, 1, from an image rendered using OpenGL and C++. How can I do this? Can I access the pixel intensities in the framebuffer somehow? Also,...
  2. Thread: gluDisk bug?

    by alexxi
    Replies
    0
    Views
    462

    gluDisk bug?

    gluDisk (gluNewQuadric(), 0.0, 10.0, 32, 32);

    I am using the above call to gluDisk to draw a filled circle, however I always get a circle with a small hole in the middle. I used an inner radius...
  3. Replies
    1
    Views
    1,839

    Nevermind, the angle should be in radians and not...

    Nevermind, the angle should be in radians and not degrees.
  4. Replies
    1
    Views
    1,839

    glm::rotate a normal vector

    I want to rotate normal vector (0,0,1) by 90 degrees about the y-axis. I am using glm::rotate as follows:

    vec4 normal = normalize(rotate(mat4(),90.0f,vec3(0,1.0f,0))*vec4(0,0,1,0));


    but the...
  5. Replies
    3
    Views
    2,739

    I am plotting points within that cube.

    I am plotting points within that cube.
  6. Replies
    3
    Views
    2,739

    3D Poisson distribution

    Is it possible to use C++'s poisson_distribution to sample 3D points within an axis- aligned cube?
  7. Thread: NURBS and GLSL

    by alexxi
    Replies
    1
    Views
    1,091

    NURBS and GLSL

    I achieved NURBS texture mapping and lighting using the OpenGL fixed function pipeline. I am wondering if anyone has hints on how I can do this using GLSL vertex and fragment shaders?
Results 1 to 7 of 7