Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Element Buffer Object confusion.

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    19

    Element Buffer Object confusion.

    Hey there, so I have been searching a while on the great interwebs.
    Yet I haven't found my solution.


    The problem is that I have three arrays of data, a buffer of vertices, a buffer of normals and buffer of tex coords.
    I also have a list for indexing each buffer.


    The index list looks like this

    0 1 4 5 9 1
    Where the first 0 represents the vertex, the first 1 represents the normal and the first 4 represents the tex coord.
    So my question becomes how can I implement something like this with a IBO ?

  2. #2

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2011
    Posts
    19
    Thank you for the quick response.
    Your answer was what I feared though.

Posting Permissions

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