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

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. See also EXT_window_rectangles...

    See also EXT_window_rectangles.
  2. With primitive restart off, you're asking GL to...

    With primitive restart off, you're asking GL to dereference element 0xFFFFFFFF from each of your enabled attributes.
    If your vertex arrays are large enough (i.e. gigabytes) to actually include this...
  3. The default texture parameters use linear...

    The default texture parameters use linear filtering. Integer format textures are incomplete with linear filtering, so the sampler returns (0,0,0,1).
  4. Replies
    5
    Views
    552

    Your error has nothing to do with OpenGL. You...

    Your error has nothing to do with OpenGL. You need to understand how pointers work:


    void create_program(GLuint &handle, GLuint *shaders) {
    ...
    for (int i = 0; i < (sizeof(shaders) /...
  5. See Nvidia's FAQ...

    See Nvidia's FAQ.
  6. Generally, use the "Break on Error"...

    Generally, use the "Break on Error" checkbox.
    Errors inside glBegin are a special case, though. You need to audit your usage of glBegin, and understand what is not legal.


    Your pixel format...
  7. Replies
    6
    Views
    1,402

    Or 3.3 on OSX...

    Or 3.3 on OSX.
  8. Replies
    2
    Views
    343

    See Issue (43) in EXT_fbo...

    See Issue (43) in EXT_fbo.
  9. Replies
    3
    Views
    539

    The GLSL grammar says that layout-qualifier must...

    The GLSL grammar says that layout-qualifier must precede interface-qualifier, so "in layout" is invalid, you must write "layout(location=1) in".
  10. Replies
    5
    Views
    1,039

    I think you have your answers right in front of...

    I think you have your answers right in front of you.

    * What width & height do you expect your input images to be?
    * How many pixels does 34603008 DXT1 bytes correspond to? (in a square width x...
  11. Replies
    5
    Views
    1,039

    Your (simplified) code does: allocate storage...

    Your (simplified) code does:

    allocate storage (TexImage) w x h x faces for mipmap level zero
    for each face
    for each mipmap level
    upload image (TexSubImage) w x h x 1


    Of course...
  12. Replies
    14
    Views
    26,840

    Sticky: [/LIST] Actually, this allows applications to...

    [/LIST]

    Actually, this allows applications to limit the number of threads used for parallel compiles. Previously, drivers were free to use as many threads as they like.
  13. While the specification contains all of the...

    While the specification contains all of the information you need, it is dense. Here's another tip:

    OpenGL features evolve from extensions. Which are all listed in the registry right next to the...
  14. Or just ignore all that and read the real...

    Or just ignore all that and read the real documentation, from which all other man pages etc are derived. See: State Tables [Vertex Array Object State], where everything is explicitly listed...
  15. Replies
    2
    Views
    393

    OSX Supports: A "Legacy" (Compatibility)...

    OSX Supports:

    A "Legacy" (Compatibility) profile: GL 1.1, 1.2, 1.3, 1.4, 1.5, 2.0, 2.1 GLSL 100, 110, 120
    A "Core" profile: GL 3.2, 3.3, 4.0, 4.1 GLSL 140,...
  16. Replies
    3
    Views
    802

    You can browse the source code of an...

    You can browse the source code of an implementation, including software rasterizers.
  17. Replies
    15
    Views
    2,903

    glMultiDrawElements.

    glMultiDrawElements.
  18. Replies
    9
    Views
    1,646

    No. You can use up to MAX_VERTEX_ATTRIBS...

    No. You can use up to MAX_VERTEX_ATTRIBS locations in your vertex shader. Attributes which are enabled will be read from your vertex arrays. Attributes which are not enabled will read from the...
  19. Replies
    8
    Views
    1,475

    That's true in a core profile GL context, or in...

    That's true in a core profile GL context, or in ES2, ES3, or WebGL.
    But it's not true in a compatibility profile GL context, or in ES1.

    So, what context profile are you using? And do your...
  20. Replies
    8
    Views
    1,475

    Read the documentation...

    Read the documentation, specifically the GLSL specification that defines gl_PointCoord:



    Next question: do you understand how to enable point sprites?
  21. Replies
    8
    Views
    1,475

    Do you understand when gl_PointCoord is undefined?

    Do you understand when gl_PointCoord is undefined?
  22. Replies
    9
    Views
    1,646

    Uniforms are initialized to zero by...

    Uniforms are initialized to zero by glLinkProgram. Zero matches glActiveTexture(GL_TEXTURE0).
  23. Replies
    9
    Views
    1,646

    Do you understand what...

    Do you understand what glEnableVertexAttribArray() does? What happens to attributes that aren't enabled?
  24. Replies
    9
    Views
    2,679

    Anytime your program crashes, you need to learn...

    Anytime your program crashes, you need to learn to debug the crash.

    Read the documentation for your debugger, and learn how to examine your image1, image2 pointers.
    For example you should be able...
  25. Sounds similar to this paper...

    Sounds similar to this paper.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4