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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. @Jesse: thank you very much for trying my code....

    @Jesse: thank you very much for trying my code. The ubuntu I am using is my institute's cluster which is 16.04. I'm afraid the IT will not upgrade to 18.04 until two years later.
    PS: you are the...
  2. GLUT+GLEW=OK, GLFW+GL3W=OK, but GLFW+GLEW=crash in ubuntu

    The code in red book for OpenGL 4.3 is GLUT(freeglut actually)+GLEW, which runs ok.

    The code in red book for OpenGL 4.5 is GLFW+GL3W, which runs ok too.

    Then I am thinking of GLFW+GLEW, but...
  3. I downloaded it. Thank you!

    I downloaded it. Thank you!
  4. Where can I download the shader examples of "OpenGL Shading Language" 3ed, by R Rost?

    2781

    Many things have changed since the publication of the book "OpenGL Shading Language" 3ed, by Randi J. Rost, et al. The link in the preface that contains sample shader codes as shown in the...
  5. Replies
    3
    Views
    1,149

    OK, I just found that glut64.lib (and its dll) is...

    OK, I just found that glut64.lib (and its dll) is available somewhere in the package. Problem solved.
  6. Replies
    3
    Views
    1,149

    I know freeglut, but I have no choice because, as...

    I know freeglut, but I have no choice because, as I said in the original post, "I am playing with some old stuff". I have to use glut64.lib.
    PS: I am using GLFW & gl3w for new projects.
  7. Replies
    3
    Views
    1,149

    Uh...where did glut go (after 15 years)?

    I need to link to glut64.lib in Visual Studio 2015 because I am playing with some old stuff that uses original GLUT. After trying some broken links, I saw this thread:...
  8. Replies
    3
    Views
    8,768

    I believe the following concrete command would be...

    I believe the following concrete command would be more helpful for a beginner:
    It is highly likely that the asker would need gl3w, and then s/he doesn't know the linking flags ... but that's a new...
  9. I have completely got it. Thank you very much, ...

    I have completely got it. Thank you very much, john_connor.
  10. confusion in understanding the behavior of glDrawArraysInstancedBaseInstance

    I am trying to figure out what the meaning of the last parameter of the glDrawArraysInstancedBaseInstance API is. Following is the doc of this API excerpted from the Red Book:

    2577

    I don't...
  11. Replies
    2
    Views
    863

    Is glutSolidSphere deprecated?

    ... Seems not because I googled this question but found no answer. However, when I tried to use this function, it seemed that I have to use deprecated OpenGL functions like glMatrixMode,...
  12. Thank you for the reply. It is my homework; I...

    Thank you for the reply. It is my homework; I wanna take advantage of recent OpenGL to speedup my program a little bit. It seems at least the containing geometry remains unchanged in GPU so I can...
  13. What bebefit can I enjoy in rigid body particle system if I use recent OpenGL pipe?

    I am doing a simulation of rigid body dynamics system. The system is a collection of particles bouncing back and forth in a containing geometry like a cube. The positions of particles are computed in...
  14. How to activate subroutine uniform and subroutine?

    I strictly followed instructions in section "Shader Subroutines" of Chapter 2 of the red book for OenGL 4.5, but I always got -1 return from glGetSubroutineUniformLocation and glGetSubroutineIndex....
  15. I got it. Thank you very much, Dark.

    I got it. Thank you very much, Dark.
  16. Is gl_Vertex exactly the value transferred from glVertex3f?

    Suppose I am using glVertex3f to transfer vertex position while at the same time using glMatrixMode(GL_MODELVIEW); glLoadIdentity(); gluLookAt(...); to set up the model-view transformation. Is the...
  17. To moderator: I'd like to move this thread to...

    To moderator: I'd like to move this thread to "OpenGL coding: beginners" board. Please help me delete it. Thanks.
  18. Rotate direction with regard to X axis is reversed

    Below is the code that rotates a cube, excerpted and modified from Edward Angel's textbook. We can specify the axis about which to rotate by clicking different mouse key:


    //
    // Display a color...
  19. Rotate direction with regard to X axis is reversed

    Below is the code that rotates a cube, excerpted and modified from Edward Angel's textbook. We can specify the axis about which to rotate by clicking different mouse key:


    //
    // Display a color...
  20. Replies
    3
    Views
    3,167

    Thanks a lot, carsten neumann. I'm so glad to see...

    Thanks a lot, carsten neumann. I'm so glad to see my GT640 card support GL_ARB_gpu_shader_fp64. Cool!
  21. where has built-in variable "gl_FragColor" gone in OpenGL 4.4?

    The book "Interactive Computer Graphics, A Top Down Approach with Shader Based OpenGL, 6th Edition" shows a minimum snippet of fragment shader in page 86 as follows:
    ...
  22. Replies
    1
    Views
    2,025

    Thank you very much. Bookmarked.

    Thank you very much. Bookmarked.
  23. Replies
    3
    Views
    3,167

    why there is no double version of glUniform?

    I checked the webpage http://www.opengl.org/wiki/GLAPI/glUniform but noticed that glUniform API seems not have double version, i.e., something like glUniform3d for dvec3 uniform variables. Does this...
  24. I'm self-studying OpenGL by reading that book...

    I'm self-studying OpenGL by reading that book because I think that book seems most up-to-date, so I was trying everything mentioned in that book. But now I can't help but to believe that the only...
  25. Thank you, @Aleksandar.

    Thank you, @Aleksandar.
Results 1 to 25 of 33
Page 1 of 2 1 2