Search:

Type: Posts; User: madchab

Search: Search took 0.00 seconds.

  1. Try to use the glu fonctions instead....

    Try to use the glu fonctions instead.
    gluPerspective and gluLookAt are more intuitives.
    You can find a good tutotial here:
    http://www.zeuscmd.com/tutorials/opengles/index.php
  2. Replies
    7
    Views
    10,660

    Finally got it! While glColor4ub(v) does not...

    Finally got it!
    While glColor4ub(v) does not appear in the reference manual:
    http://www.khronos.org/opengles/documen ... index.html
    It does in the header file:...
  3. Replies
    7
    Views
    10,660

    Thx for reply. However i dont find the...

    Thx for reply.
    However i dont find the glColor4ub(v) in openglES api.
    I will try with the color array.

    Regards.
  4. Replies
    7
    Views
    10,660

    In opengles you set the color by using 4 floats...

    In opengles you set the color by using 4 floats clamped to [0,1]
    But when you read back the colors of the picked pixel you get 4 unsigned bytes.
    How do you convert those byte values to the float...
Results 1 to 4 of 7