Search:

Type: Posts; User: krikit

Search: Search took 0.00 seconds.

  1. Re: How can i isolate Opengl code from my view class?

    Hi,

    thanks! It's right i didn't use an unsigned int. I use the gcc compiler under iOS and it doesn't give me a warning. So i didn't find the solution for a while ^^ and it takes a lot of time to...
  2. Re: can framebuffer object used without egl initialization?

    Hi,

    i use the context without showing any surface on the screen. Im using iOS so i don't know if this is available on your platform, but maybe it helps you. It's necessary to create a rectangle...
  3. Replies
    4
    Views
    3,202

    Re: glReadPixels() alternative solution?

    Hello gardin,

    thank you for your informations. You are completely right what you say in your post. And i do the sobel or blur or any other simple convolution on the GPU with the fragment shader -...
  4. Replies
    1
    Views
    1,749

    Re: glReadPixels - wrong picture Size

    Hello,

    i found my mistake. The initialization of the view was wrong. I used a rectangle with a size which was too small to render the complete image.

    So i tried to change the rectangle size...
  5. Re: How can i isolate Opengl code from my view class?

    Hello,

    i have solved the problem.

    It seems that in OpenGL ES a GLuint variable isn't the same like a casted variable.

    So the following code snippet shows the differences.


    GLuint i = 20;
  6. Replies
    4
    Views
    3,202

    Re: glReadPixels() alternative solution?

    Hello gardin,

    with "read back" i mean read the image data to an unsigned char array and work on the CPU on this result. I like to sobel an image and work on the result set on the cpu it works fine...
  7. Replies
    4
    Views
    3,202

    glReadPixels() alternative solution?

    Hello Everybody,

    is there an alternative solution to get the pixels back from a rendered image? I have read some infos about using frame buffer objects. But i still use frame buffer objects and...
  8. How can i isolate Opengl code from my view class?

    Hello everybody,

    i have tried to isolate some methods and OpenGL ES calls to some normal c++ classes. But they doesn't work. The same code works when i use it in the Objective C class with the...
  9. Replies
    1
    Views
    1,749

    glReadPixels - wrong picture Size

    Hello everybody,

    i have a little problem to read my pixels back from the GPU. I use the following code element.


    -(void)readPixels : (unsigned char*) image pictureDest: (unsigned char*) dest...
  10. Re: glGetShaderSource() - didn't get my source code back.

    I've solved the problem.

    htx
    krikit
  11. Re: glGetShaderSource() - didn't get my source code back.

    I didn't get something from the shader. The string is the same like before. So I didn't get some wrong source but i didn't get any source code back. Maybe it's important for my question.
  12. glGetShaderSource() - didn't get my source code back.

    Hi, i'm new here on this board so i wanna say hello at first.

    I have some trouble with my shader. I like to compile the shader source and i get some weird things. First when i call the following...
Results 1 to 12 of 21