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

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    62

    alpha to coverage

    I have question about the working of alpha to coverage. Coverage value specifies that which samples of a pixels are covered by the primitive. with alpha to coverage, we AND alpha value with coverage...
  2. Replies
    3
    Views
    200

    are we assuming that stages are running in...

    are we assuming that stages are running in parallel?
  3. Replies
    3
    Views
    200

    locating bottleneck in graphics pipeline

    if we want to check if the particular stage is causing bottleneck in the pipeline or not we decrease the load in that stage and if the FPS increases then that stage is a bottleneck. For example in...
  4. Multisampling with triangles sharing the edge

    According to my understanding:

    Multisampling: Consider we have primitive with 4X multisampling and only 1 sample is covered by primitive. So it calculates the percentage (pixel coverage based on...
  5. Replies
    12
    Views
    674

    Thanks all for your inputs. I think I put the...

    Thanks all for your inputs.
    I think I put the question not in correct way. So I am explaining it here again. We have a object which we rotate it around X- axis now our coordinate system rotates...
  6. Replies
    12
    Views
    674

    Transformation in Fixed coordinate system

    I have been reading some posts about rotation around the fixed axis and I have some doubts.
    If we want to rotate in the global coordinate system, we need to premultiply the matrix and if we want...
  7. Replies
    1
    Views
    298

    Deferred Shading

    in first pass, we execute VS and FS for all the objects in a scene so MRT will have values for closest pixels. Now in light pass, do we execute the VS for all the objects a scene ? if yes, then FS...
  8. Replies
    2
    Views
    483

    glDepthRange()

    I am bit confused with working of glDepthRange(). I have following doubts:
    1. does it specify the accuracy or resolution of depth buffer values. for example, range 0..2000 will have more accurate...
  9. Storage of texture and framebuffer attachement

    Texture Data: When we call glTexImage() it uploads data on GPU, in which memory (EDRAM or shared memory for Streamline processors) this data is stored? When we call glGenerateMipmap() does it create...
  10. Replies
    2
    Views
    643

    Got it working: float3...

    Got it working:



    float3 pos=gin[0].Position.xyz;
    float3 right=float3(InverseView[0][0],InverseView[1][0],InverseView[2][0]);
    float3...
  11. Replies
    2
    Views
    643

    I was wrong, they should be facing towards the...

    I was wrong, they should be facing towards the camera and should not disappear.
    In above code, I am multiplying position by world matrix, and passing this position into GS, which is wrong. Now...
  12. Replies
    2
    Views
    643

    camera movement in particle system

    I am rendering particles with billboard technique. The problem is that when I move the camera to extreme right side, still they get displayed. But when I move the camera to left side they turn and...
  13. Replies
    4
    Views
    917

    Can you please specify the equations? I am...

    Can you please specify the equations?
    I am using billboard technique to render particles. Here is my part of the geometry shader:



    vec3 pos=gl_in[0].gl_Position.xyz;
    vec3...
  14. Replies
    4
    Views
    917

    bounce.!!!

    bounce.!!!
  15. Replies
    4
    Views
    917

    particle system

    I am implementing particle system in which I want particles to rotate around each other i.e. its own axis along with translational motion outwards from the emitter.
    I have outward motion of...
  16. Replies
    9
    Views
    1,741

    check your glActiveTexture() and glUniform()...

    check your glActiveTexture() and glUniform() calls for samplers when you attach it to both the textures.
  17. this might not be related to original post but...

    this might not be related to original post but just curious to know, how would rasterizer works in case of 2 triangles who share the edge?
  18. Replies
    9
    Views
    1,741

    you need to bind same FBO for every side of the...

    you need to bind same FBO for every side of the cube. it would be somewhat like:


    glBindFramebuffer(GL_FRAMEBUFFER,FboObject);
    for (face = 1; face < 6; face++) {
    Draw();
    ...
  19. 1,2. if it works for default, that means it is...

    1,2. if it works for default, that means it is enabled.
    3. you should create a depth attachment (renderbuffer).
  20. checklist: 1. You have cleared depth buffer and...

    checklist:
    1. You have cleared depth buffer and have set the function.
    2. While creating context, you have enabled depth buffer bit.
    3. your depth attachment.
  21. Replies
    6
    Views
    1,277

    I am still confused with how it works. Initially...

    I am still confused with how it works. Initially we are taking normalized coordinates and multiplying it with inverse projection matrix to get coordinates into view space, but in the reverse step (...
  22. Replies
    6
    Views
    1,277

    Thanks a lot. I forgot to apply camera...

    Thanks a lot. I forgot to apply camera transformation. :)
    It works now :)
    One doubt, after applying projection matrix, vertices will be in clip coordinate space and not in NDC right? but we are...
  23. Replies
    6
    Views
    1,277

    I want light frustrum. here is my code of...

    I want light frustrum. here is my code of geometry shader:



    vec4 vertices[]={

    {-1, -1, -1, 1}, { 1, -1, -1, 1}, { 1, 1, -1, 1}, {-1, 1, -1, 1},

    {-1, -1, 1, 1}, { 1, -1, 1, 1}, { 1, ...
  24. Replies
    6
    Views
    1,277

    How to draw frustrum in opengl

    I want to draw frustrum outlines. What will be my coordinates for these frustrum vertices ?
  25. Replies
    1
    Views
    683

    can you post your code? you need to bind the...

    can you post your code?

    you need to bind the texture when you are drawing to that texture.
Results 1 to 25 of 218
Page 1 of 9 1 2 3 4