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

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,927

    Interesting! "but if you are doing state...

    Interesting!

    "but if you are doing state changes as well - all this will kill performance"

    So, you are saying that


    glVertexPointer();
    glDrawArrays();
    glColor3f();
  2. Replies
    12
    Views
    2,512

    I don't think Direct X is doing anything...

    I don't think Direct X is doing anything different.

    Is your image being drawn 1:1 on the screen?
    As opposed to being scaled up or down when drawn to the screen?
  3. Replies
    12
    Views
    2,512

    What I mean is: You are seeing an unsightly...

    What I mean is: You are seeing an unsightly "pop" when your text image animates (moves). Because 1 pixel from the source image is being drawn at a particular destination pixel one second; then it...
  4. Replies
    12
    Views
    2,512

    Can you verify that GL_LINEAR gives a smoother...

    Can you verify that GL_LINEAR gives a smoother animation? In spite of how you feel about the fidelity.

    I don't see how something can use nearest-neighbor sampling and, at the same time, not pop.
  5. Replies
    12
    Views
    2,512

    I just did a test and while the edge of a...

    I just did a test and while the edge of a textured quad is not anti-aliased and will pop pixel to pixel, the texture pixels move smoothly with sub-pixel accuracy.

    Are you enabling bi-linear...
  6. Replies
    6
    Views
    1,927

    Each group (object?) is in it's own...

    Each group (object?) is in it's own glDrawArrays() call because they each have their own mode (GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, etc...) and there may have been a state...
  7. Replies
    12
    Views
    2,512

    Can you explain what you are actually doing? Is...

    Can you explain what you are actually doing?
    Is the text in that video a raster image that you are drawing as a textured quad?
    Or are the letters a bunch of 3d geometric shapes?
  8. Replies
    6
    Views
    1,927

    Here is the code, for reference. This is the...

    Here is the code, for reference.

    This is the init logic for each VBO:


    glGenBuffersARB(1, &vboid);
    glBindBufferARB(GL_ARRAY_BUFFER_ARB, vboid);
    glBufferDataARB(GL_ARRAY_BUFFER_ARB, datasize,...
  9. Replies
    6
    Views
    1,927

    VBO performance question.

    I am working on an application drawing 2D CAD drawings. Most geometry is of the GL_LINE variety. Though there are a few GL_TRIANGLE types in there as well.

    My first pass at it had me using...
  10. Replies
    1
    Views
    762

    VBO performance

    I have a situation where there are 3 million points. Broken up among 255 thousand separate entities. (GL_LINE_STRIP, GL_TRIANGLE_STRIP, etc..)

    I have created 255 thousand VBOs. One for each...
  11. Replies
    10
    Views
    3,419

    Ah, I see. I thought you had to use...

    Ah, I see.

    I thought you had to use glVertexAttribPointer() if you were using interleaved data.
    I thought glVertexPointer() and the others were only for contiguous data. (I didn't notice the...
  12. Replies
    10
    Views
    3,419

    I think you are missing the real question I was...

    I think you are missing the real question I was asking:

    "the claim that there is no requirement for shaders in order to do an interleaved VBO"

    Earlier in the thread, I had asked what was...
  13. Replies
    10
    Views
    3,419

    Yes, there are two ways to connect the shader to...

    Yes, there are two ways to connect the shader to the glVertexAttribPointer() function.
    But I was questioning the claim that there is no requirement for shaders in order to do an interleaved VBO.
  14. Replies
    10
    Views
    3,419

    When you use glVertexAttribPointer() doesn't the...

    When you use glVertexAttribPointer() doesn't the first parameter have to be an attribute taken from a vertex shader?
    Or is there some predefined attribute numbers for vertices, colors, texture...
  15. Replies
    10
    Views
    3,419

    Could you explain what "core profile" means? I...

    Could you explain what "core profile" means?

    I will post my code later, with: no VAO, no element array and no shader.
    Maybe someone will see what I am missing.
  16. use stippling perhaps?

    use stippling perhaps?
  17. Replies
    10
    Views
    3,419

    VBO question

    I am converting some glBegin() / glEnd() code into using VBOs instead.

    While reading various articles about VBOs, I found it rather confusing.
    Some examples used element arrays to index into the...
  18. Replies
    5
    Views
    1,464

    Really? Jeeze. It gets complicated. I...

    Really? Jeeze. It gets complicated.
    I already knew that some state things get associated with the currently selected texture. Like the setting for linear vs nearest sampling and other...
  19. Replies
    5
    Views
    1,464

    Ok, thanks!

    Ok, thanks!
  20. Replies
    5
    Views
    1,464

    OpenGL state. Who owns it?

    Is there a single container storing the state info (glColor(), glBlendFunc(), glEnable(), etc...)?
    Or do FBOs own their own state info? (separate from the screen's state info)
  21. glGenFramebuffersEXT( 1, &m_DL_FBO ); ...

    glGenFramebuffersEXT( 1, &m_DL_FBO );
    glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, m_DL_FBO);

    //Now make a multisample color buffer
    int samples =...
  22. Multisample quality for screen not as good as for FBO on ATI Radeon

    I am not sure if this is a card-specific thing, driver-specific or if I am doing something wrong.

    Here is the problem:
    The card (ATI Radeon HD 4300/4500 Series) does 4x multisampling. The...
  23. Replies
    2
    Views
    1,292

    Ok, thanks.

    Ok, thanks.
  24. Replies
    2
    Views
    1,292

    Frag Shader vs BlendFunc

    Sorry if this question is too simple.
    The answer is probably made clear somewhere, and I just haven't stumbled into it yet.

    Question(s):
    Do the results of glBlendFunc() get fed to the...
  25. Replies
    0
    Views
    627

    Multisample & glCopyTexSubImage2D

    I have a glcontext setup with multisample.
    It works fine and looks good at 16 samples.

    I need to copy the pixel results at a certain point in the render to a texture.
    I have tried this with...
Results 1 to 25 of 109
Page 1 of 5 1 2 3 4