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 12 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    204

    Texture sharing from multiple threads

    Does openGL offers implicit synchronization for texture access between multiple threads with 2 different contexts? or do i need sync objects ? When does it offer implicit synchronization ? within...
  2. There are threads A and B with different...

    There are threads A and B with different contexts. B takes texture from A. There are using EGL window surface. and yes it is Mali device but i am having some issues with setup of streamline with...
  3. eglclientwaitsync waits for long time inconsistently

    I have 3 buffers to which I am rendering to and for each frame I am calling eglClientWaitSync() for the previous to previous buffer completion. but it waits for around 30 miliseconds in 1/10 frames....
  4. You can store depth value in 32-bits. You can...

    You can store depth value in 32-bits. You can refer it here packing and unpacking of depth data.http://www.codeproject.com/Articles/822380/Shadow-Mapping-with-Android-OpenGL-ES?msg=5036073
  5. Replies
    10
    Views
    1,158

    thanks mhagain and Silence for your inputs..

    thanks mhagain and Silence for your inputs..
  6. Replies
    10
    Views
    1,158

    I am hoping that I will get better performance by...

    I am hoping that I will get better performance by using Vulkan.
  7. Replies
    10
    Views
    1,158

    I am drawing with Vulkan and i have another...

    I am drawing with Vulkan and i have another library which renders it on the screen. So I render with Vulkan and take that data on CPU and pass it to OpenGL.
    Are you saying that passing data to...
  8. Replies
    10
    Views
    1,158

    Updating textures per frame

    i have 3 textures. I am updating 1 texture every frame, so i have circular buffer of textures. 1st frame will be on 1st texture, 2nd frame will render on 2nd and so on. Now the data i am providing to...
  9. Replies
    0
    Views
    162

    Pixel buffer objects with texture array

    How to use pbos with texture arrays? I want to use ogl_multiview feature with pbos. With this extension, we attach texture as attachment zero and it stores all the views. How do we read from this...
  10. Replies
    0
    Views
    186

    Clearing buffer with OVR_Multiview

    with multiview extension, single draw call is made for multiple views. but how does it work when i dont have any draw call ? lets say i have 2 views, i setup the FBO and array textures. Now i bind...
  11. Replies
    2
    Views
    430

    I am using glDrawElements(). If i do upload...

    I am using glDrawElements(). If i do upload one-time only and decide to use first and last parameter, then i will have to make separate draw calls to avoid rendering object which failed frustum cull...
  12. Replies
    2
    Views
    430

    Dynamic Batching in OpenGL-ES

    i am preallocating VAOs for my batches. For every frame, i am adding each object into batch and while adding i update VBOs using glMapBufferRange(), with this I am not getting 40-50 fps with around...
  13. Replies
    3
    Views
    293

    Batching with moving objects

    what is the strategy/ methodology used when implementing batching with continuously changing scene? how do we handle if the view matrix is changing / number of objects in the scene are changing, do...
  14. Replies
    1
    Views
    225

    Optimized ray intersection algorithm

    i am implementing ray intersection algorithm in my project, basically i want to get the list of all objects intersected by the ray and list will be sorted according to distance. I have hundreds of...
  15. Replies
    4
    Views
    672

    creating mesh with low polygon count

    if i have given a mesh, how do i create mesh with lower LOD/ low polygon count? i don't want to use any tool. I want to implement it in my code.
  16. Replies
    2
    Views
    377

    Before perspective division, there is a clipping...

    Before perspective division, there is a clipping stage, hence you cannot produce correct values of NDC space by yourself. I had tried it and it does not work. What is your use case?
  17. I am changing my sampler to sampler2DArray. I am...

    I am changing my sampler to sampler2DArray. I am getting it black via sampler when I read in shader. Interestingly, when I try to read data from color attachment of 2DArray which is bound to same...
  18. Depth array textures not working with FBO

    I am using layered depth textures with FBO. Here is my code for setup:




    glBindTexture(GL_TEXTURE_2D_ARRAY, depth_texture_->id());
    glPixelStorei(GL_UNPACK_ALIGNMENT, 1); ...
  19. Replies
    1
    Views
    504

    Best way to do magnification

    I am rendering to framebuffer of size 512x512 (texture attachment). And I want this to be rendered on another FBO of size 1k x 1k. I can do render to texture with full screen quad. But I am wondering...
  20. Thanks guys for your help.! I found that my...

    Thanks guys for your help.!

    I found that my external library is already using 6 FBOs instead of one. When I render into that FBO, I am calling glInvalidateFramebuffer() with depth, stencil and...
  21. I am using Mali GPU and ES. I am using external...

    I am using Mali GPU and ES.
    I am using external library which is giving me FBO id to render for so I have to make my final render on that FBO. If I do all my 3 passes in that FBO only still I get...
  22. glBindFramebuffer is causing performance drop in OpenGLES

    i am doing rendering in 3 FBOs so i have 3 passes. while rendering to 3rd FBO when I call glBindFramebuffer() its causing my application to run at lower fps. If I just use 3rd FBO for rendering in...
  23. The problem is that for first two vertices, w is...

    The problem is that for first two vertices, w is negative that means they lie behind the camera. Now question is how GPU does clipping i.e. how it generates new vertices in clipping box. So I tried...
  24. problem while calculating NDC of a square

    Can anyone explain me what what are steps to be performed in order to generate NDC from object space coordinates with below example.



    float vertices[] = {
    -2.0f, -12.0f,
    2.0f, -12.0f,...
  25. Replies
    0
    Views
    464

    geometric LOD generation algorithm

    Has anyone ever implemented generating different LOD meshes for a mesh? Any documentation or source code would be appreciated.
Results 1 to 25 of 276
Page 1 of 12 1 2 3 4