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

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    822

    Application crashes

    I am trying to send data to GPU without using VBOs. When I do so my application crashes. I am using OpenGL ES 2.0 and Qt development tools. The code is given below. I think the problem is in sending...
  2. Replies
    0
    Views
    1,754

    Zoom in on the mouse position on the screen

    I am trying to perform zoom in OpenGL ES 2.0 based on mouse position. I am using Qt OpenGL support and I use ortho projection. My zoom in center works fine, but when I want to zoom in the mouse...
  3. Replies
    6
    Views
    7,384

    This is exacltly what I wanted. Thank you a lot....

    This is exacltly what I wanted. Thank you a lot. This was very helpful. Thank you.
  4. Replies
    6
    Views
    7,384

    I tried, but it is the same. Thing is that I have...

    I tried, but it is the same. Thing is that I have in vertices x and y position coordinate and z is another attribute variable used for computing something in vertex shader for each position.
  5. Replies
    6
    Views
    7,384

    I am a beginner and I wonder how to change it.

    I am a beginner and I wonder how to change it.
  6. Replies
    6
    Views
    7,384

    Drawing without Vertex Buffer Object

    I am trying to draw without vertex buffer object but nothing is drawn. I do not know where I did wrong. I use Qt and OpenGL ES 2.0. This is my code:



    glBindBuffer(GL_ARRAY_BUFFER, 0);
    ...
  7. Replies
    5
    Views
    5,376

    What I acctually want is to specify depth for...

    What I acctually want is to specify depth for each object. Origanally it goes from first to last that is to be rendered. I just want to say which object is beyond another.
  8. Replies
    5
    Views
    5,376

    Depth in OpenGL ES 2.0

    I want to organize depth for objects in OpenGL ES 2.0 so that I can specify one object to be in front of other object(s). In OpenGL 3.0 I can use gl_FragDepth and just use uniform variable for depth,...
  9. Replies
    1
    Views
    1,274

    Translation of the point normal to the line

    I am currently working on a project of drawing thick polylines and I am usin interpolation. I managed to calculate all the necessary points but I need to draw two more points. I need to translate one...
  10. Read data from Buffer object in openGL ES2.0

    I need to read data from buffer object in OpenGL ES2.0. I am using QGLfunctions and it is not possible to use glMapBufferRange. Is there any other way?
  11. Replies
    5
    Views
    3,226

    Thank you, you saved my life :) It was problem...

    Thank you, you saved my life :) It was problem with translation ...
  12. Replies
    5
    Views
    3,226

    These are the final points produced by the...

    These are the final points produced by the algorithm. Those are sent to GPU and drawn...
  13. Replies
    5
    Views
    3,226

    Triangle side is not straight line

    I have application to draw thick lines. It is drawn using triangles. The problem is one side of triangle is not straight. This is the image showing the drawn picture:

    1415

    These are the...
  14. I will check this. My problem is that I want to...

    I will check this. My problem is that I want to draw thick lines. To do so I take from user points and those points I want to send to the vertex shader using buffers. Thing is when zoom is small I...
  15. Calculate position and indices in vertex shader

    I know that I can calculate vertices in vertex shader. But how can I specify indices in the vertex shader. Outside of vertex shader I create GL_ELEMENT_ARRAY_BUFFER buffer for indices and...
  16. Replies
    1
    Views
    1,076

    Fragment shader compilation problem

    For several days I am trying to reach the problem with my shader. I have several varying floats and problem comes in question when I call my function join. Adding this line causes error which...
Results 1 to 16 of 17