Results 1 to 2 of 2

Thread: Selection 3d objects OpenGL ES 1.x

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    2

    Selection 3d objects OpenGL ES 1.x

    How can I select an object in a world?

    color picking is not working, the device sadly come with incorrct datas.

    How can I do ray cast to do that?

    Thanks

  2. #2
    Junior Member
    Join Date
    Jul 2011
    Posts
    17

    Re: Selection 3d objects OpenGL ES 1.x

    Why is the device giving you incorrect data?

    There are some state changes you should do to make sure you get the exact correct color values when doing picking:

    http://www.opengl.org/archives/resource ... r.htm#0040

    GL_DITHER is for example something that is easy to forget.

    If that did not work, im afraid you have to implement something on the CPU-side, such as encapsule your objects in spheres, AABBs or OBBs and then do some raytracing, or do it directly with the triangles if you need perfect matches

Similar Threads

  1. Replies: 5
    Last Post: 01-29-2013, 08:58 AM
  2. selection the 3d objects OpenGL ES 1.1
    By pcersltda in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 07-23-2010, 09:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •