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

Search: Search took 0.00 seconds; generated 20 minute(s) ago.

  1. You could try this...

    You could try this.
  2. Why do you include dxerr.lib d3dx11.lib...

    Why do you include dxerr.lib d3dx11.lib d3dcompiler.lib? Those dependencies are from Direct3D 11.
  3. Replies
    1
    Views
    499

    Uniform block binding

    Hello, I'm trying to set some data to a shader through uniform blocks. But I don't get what I wanted. Here's the code:

    const GLfloat pColor[] =
    {
    1.0f, 1.0f, 1.0f, 1.0f,
    1.0f, 1.0f, 1.0f,...
  4. Replies
    3
    Views
    655

    OpenGL doesn't handle collision detection. You...

    OpenGL doesn't handle collision detection. You could try with box-collision detection and spherical-collision detection. It's something like this:


    // Box collision:
    Vector3 Box1, Box2
    If Box1...
  5. Replies
    2
    Views
    900

    Thanks. The error was that I've negated the...

    Thanks. The error was that I've negated the entire output vertex including w coord.
  6. Replies
    2
    Views
    900

    Getting Eye direction vector

    Hello, I'm trying to draw some water in modern OpenGL (greather than 3.x).
    I've got model matrix, view matrix and projection matrix uniforms and my positions' attribute. The problem is: how can I...
  7. Replies
    1
    Views
    527

    Texture pixel coordinate

    Hello, I'm trying to set the texture coordinate by pixels. I do something like this:


    glMatrixMode(GL_TEXTURE);
    glLoadIdentity();
    glOrtho(-width, width, -height, height, -1, 1);

    //...
Results 1 to 7 of 7