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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,106

    How do I apply hair?

    Hello everyone,

    The movies these days have the capability of high-resolution graphics.
    And while watching a movie I wondered how they made the hair.

    So I searched for how this is done in...
  2. Replies
    7
    Views
    1,450

    Re: [C/C++] glGetString before configuring

    Yes... I think that should be the best solution.

    The thing I really wanted was putting the OpenGL context part also in the dynamic library.
    But now I see that will not be possible for this.
    ...
  3. Replies
    7
    Views
    1,450

    Re: [C/C++] glGetString before configuring

    Maybe I was a bit unclear.
    And yes I was confused about static and dynamic libraries.

    I know how OpenGL normally works on Windows(32).

    The real thing I should like to do is:

    I've a main...
  4. Replies
    7
    Views
    1,450

    Re: [C/C++] glGetString before configuring

    With "import OpenGL libraries" I meant loading all static libraries runtime (in Windows that are dll's).

    But so you mean I have to configure OpenGL, get the version, "import" my own dll's created...
  5. Replies
    7
    Views
    1,450

    [C/C++] glGetString before configuring

    Hello everyone,

    I'm having a problem with calling OpenGL function before OpenGL is configured.

    Because I want to import OpenGL libraries dependent on the running OpenGL version, I should like...
  6. Replies
    2
    Views
    951

    Re: [Win32] 2D Text disappears at left

    Oh... yes of course, here it is:

    draw:

    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glLoadIdentity();
    static float f = 0;
    f-=.0005f; // maybe you have to change this speed, but I...
  7. Replies
    2
    Views
    951

    [Win32] 2D Text disappears at left

    Hello everyone,

    I want to create an OpenGL application which could show 2D text on the screen, which have to use a font.
    I should like to do this without GLUT, and with pure OpenGL in Win32, so I...
  8. Replies
    7
    Views
    3,495

    Re: More than 8 lights?

    Thanks for all quick responses.

    So I have to create the "lights" by myself, by calculating the color for each pixel.

    I was just wondering how those games did this, but I should be very pleased...
  9. Replies
    7
    Views
    3,495

    More than 8 lights?

    Hello everyone,

    I've seen many times car-racing games with car-lights, of games with many torches on the walls.

    But OpenGL does only support 8 lights.
    So I don't really understand how those...
  10. Replies
    7
    Views
    4,050

    Re: glGenBuffers not exist

    I already found the call who made the error.

    Now it works.

    Thanks for help everyone! :)
  11. Replies
    7
    Views
    4,050

    Re: glGenBuffers not exist

    When using GLEW, and when making the pointer myself, I get the same error.

    Compiling works, but when running (in VC++ 2010) I get the error which will break the program.
  12. Replies
    7
    Views
    4,050

    Re: glGenBuffers not exist

    I've already read a little about GLEW, but for GLEW I need extra dll's, and I don't really like that.

    And I think it should not really be needed, because I already have the functions for 2.1 on my...
  13. Replies
    7
    Views
    4,050

    glGenBuffers not exist

    Hello everyone,

    I've read in OpenGL (higher than 1.5) I could make use of the function "glGenBuffers".

    Now I have also read, my operating (Windows 7) doesn't support OpenGL higher than 1.1 .
    ...
  14. Thread: Texture error

    by Dennis
    Replies
    8
    Views
    1,579

    Re: Texture error

    Errrr.... I think I already know what the problem is...

    The problem was largely in the loading of the bitmap...
    (Who I got from an tutorial from the internet)

    When I use the code shown below...
  15. Thread: Texture error

    by Dennis
    Replies
    8
    Views
    1,579

    Re: Texture error

    Using GL_NEAREST I've already tried and also doesn't work.
    The origional image file is an bmp file (I only use PNG for uploading), and bmp can't be RGBA.

    But I made sure it isn't RGBA and checked...
  16. Thread: Texture error

    by Dennis
    Replies
    8
    Views
    1,579

    Re: Texture error

    Now I use the glPixelStorei function the image looks a bit better, but it still does not fit in the corners.

    (See in attachment)
  17. Thread: Texture error

    by Dennis
    Replies
    8
    Views
    1,579

    Texture error

    Hello everyone,

    I got an error on displaying texture on a quad in OpenGL.
    When I place the fist texture it will work (256x256).
    But when I place the second texture (201x81) I see a wrong result...
Results 1 to 17 of 17