Search:

Type: Posts; User: jessee

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    11,625

    Re: glReadPixels problem

    It's amazing!!
    After i adjust my code just as you said,the code does work well now. thanks Petri Kero, and thinks all.
  2. Replies
    8
    Views
    11,625

    Re: glReadPixels problem

    thanks Petri Kero, the alpha value read correct now. but why the renderNormal() influence the renderForSelect()'s result.i think it can't. and i really need the renderNormal() function not influence...
  3. Replies
    8
    Views
    11,625

    Re: glReadPixels problem

    Thank you for reply.
    after i adjust my code about initialise EGL, the code seems not work quite well. so i ddcide to post more detail here, i hope it's helpful to find the fault.

    //the Initialise...
  4. Replies
    8
    Views
    11,625

    Re: glReadPixels problem

    The Screen coordinate system can't influence my result. becoz the pixel i want to get is the center of the screen. and there is a colored pixel there obviosly. but i just get the wrong result.
  5. Thread: Mouse Picking

    by jessee
    Replies
    1
    Views
    4,803

    Re: Mouse Picking

    I think you should implement the gluUnproject youself.
  6. Replies
    8
    Views
    11,625

    glReadPixels problem

    i used glReadPixels to read back the color buffer, but the result seems not correct. and the alpha value of the pixel always are 0xFF, what's wrong with me ? any suggestion?

    The code list below:
    ...
Results 1 to 6 of 6