Results 1 to 3 of 3

Thread: Vertex Array

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2000
    Posts
    13

    Vertex Array

    If I have some vertexes
    and my list of indices (for example) is such

    0 1 2 3 4 3 5 3

    and I use glDrawElements();

    so the 3rd vertex will be transformed by opengl 3 times or just once ?

  2. #2
    Member Newbie
    Join Date
    Dec 2000
    Location
    Donetsk, Ukraine
    Posts
    48

    Re: Vertex Array

    Once

  3. #3
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: Vertex Array

    Depends on the implementation. Smart implementations and smart HW will do it once. The reuse also depends on locality of indices. Don't expect HW to buffer very many vertices (talking about 16 or so).

Similar Threads

  1. Generate Indices array from Vertex array
    By VirtualMan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-28-2013, 02:51 AM
  2. a big vertex array or a ser of small vertex array?
    By lovemort in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 09-05-2013, 12:42 PM
  3. Vertex array with differ-normals of one vertex
    By Apollo in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-01-2009, 07:15 AM
  4. Why no per-vertex material specification in vertex array?
    By MelvinEng in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-09-2001, 03:20 AM
  5. Mixing Vertex Array Range & 'normal' vertex arrays
    By MarcusL in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 04-23-2001, 09:00 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
  •  
Proudly hosted by Digital Ocean