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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    7,669

    I would find such tool very useful. Especially if...

    I would find such tool very useful. Especially if it could generate a C++:ish interface that puts everything in a gl namespace.

    It would be even more useful if it had some support for multiple...
  2. Replies
    2
    Views
    1,350

    You probably do have a video card, often called...

    You probably do have a video card, often called graphic card. Though it might be integrated in your motherboard.
  3. Replies
    2
    Views
    2,002

    Have you updated your drivers to the latest...

    Have you updated your drivers to the latest version?

    Some programs use an old OpenGL version but a modern DirectD3 version. Dor example, I know a program that uses the very old OpenGL 1.4 but...
  4. Replies
    4
    Views
    1,652

    Re: Invalid triangle detection

    Since zero area is equivalent to three colinear points, and two overlapping points is a special case of them, it is enough to check if the area is zero. (posting this in case someone else finds this...
  5. Replies
    6
    Views
    2,152

    Re: Best OpenGL Toolkit

    I'd say GLFW in combo with GLEW is the best. freeGLUT is overrated, its only advantage vs GLFW is that can be slightly easier to use for some.
  6. Replies
    5
    Views
    721

    Re: Weird performance issues

    First, don't measure performance in FPS, use frame time instead, see this wiki page for more information.

    Second, it is likely that the GPU is not the bottleneck. What other hardware do the...
  7. Replies
    2
    Views
    772

    Re: Colours in GLSL

    In that case, it is be better to use two triangles.
  8. Replies
    5
    Views
    2,002

    Re: Deprecated functions

    You should avoid most deprecated functions, ESPECIALLY immediate mode (glBegin/glVertex etc).
  9. Replies
    3
    Views
    817

    Re: writing, please its urgent

    There's the standard C function sprintf(), or in C++11 there's std::to_string().
  10. Replies
    13
    Views
    2,840

    Re: Open GL source code for APIs

    There is no source for OpenGL. OpenGL is a specification, not a library.
  11. Replies
    9
    Views
    3,882

    Re: GLUT and OpenGL 3.2

    Yes, switch to freeGLUT, unless you want to use GLFW. Nobody should use GLUT these days.
  12. Replies
    5
    Views
    1,203

    Re: FBO - shadow mapping

    Wouldn't it be glScissors()?
  13. Replies
    6
    Views
    6,778

    Re: OpenGL 3 font library feedback

    * Your quickstart guide is very hard to understand, partially because "string" has the wrong type.

    * You are calling glVertexAttribPointer in your draw function, while it should be done in some...
  14. Replies
    6
    Views
    2,419

    Re: How to make random colors?

    So what you want to do is to pick 4 out of those colours at random? That was completely impossible to guess from your original post.

    Just generate 4 random integers, to use as indices for an array...
  15. Re: Does freeglut allow you to draw in top of other?

    To "erase", use glClear(GL_COLOR_BUFFER_BIT), and swap buffers if using double buffering.
  16. Replies
    5
    Views
    1,678

    Re: VBO/VAO + Triangle-Specific Textures?

    Have a large texture containing all the textures used by the triangles in the buffer, and use appropriate coordinates.
  17. Replies
    4
    Views
    2,486

    Re: opengl problem

    You might want to try updating the drivers for the ATI card. When I bought my HD 5770, the drivers included only supported OpenGL 2.1, but updating to the latest version made 4.1 available.

    My...
  18. Thread: Menu

    by Zyx_2000
    Replies
    2
    Views
    680

    Re: Menu

    There's no features for user interface in GLUT (apart from right-click popup menus). You will need to render buttons, text, or whatever you want with OpenGL. Then you will have to get the coordinates...
  19. Replies
    4
    Views
    893

    Re: Basic OpenGL question

    It depends on what platform you run it on. On GNU/Linux systems, Mesa3D (which is technically not OpenGL, but still follow the specs) is almost always present to do software rendering. On Windows,...
  20. Replies
    5
    Views
    3,647

    Re: How to import maya files into opengl

    How to import specific file formats has nothing to do with OpenGL itself. I suggest that you look for a library that reads vertex data and such from a maya file, and then pass that data to OpenGL.
  21. Replies
    3
    Views
    2,319

    Re: [GLM] Operator overload

    A minor thing, it is usually better to multiply by 0.5f than to divide by 2.0f. It is faster (though most compilers probably optimize the division into the multiplication), but more importantly...
  22. Replies
    6
    Views
    2,157

    Re: glDrawElements not working

    Have you made sure the depth buffer is set up correctly? You must explicitly ask GLUT for a depth buffer.

    And also: what does glGetError() return?
  23. Replies
    7
    Views
    3,927

    Re: glGenBuffers not exist

    You need to get pointers to functions above version 1.1. I recommend you to use an extension loading library for that.
  24. Replies
    8
    Views
    1,857

    Re: Performance Issue

    This is not true, in general. There are often other bottlenecks than CPU and GPU processing. In your case it most likely is the GPU computations that are the bottleneck (as others have said).
  25. Replies
    1
    Views
    1,275

    Re: Troubleshooting OpenGL

    I can't give you an answear to your main question, but I definitely recommend to move away from GLUT. It will most likely not fix the problem, but GLUT is really outdated and changing will make...
Results 1 to 25 of 74
Page 1 of 3 1 2 3