Results 1 to 2 of 2

Thread: Vertex Functions...

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2008
    Location
    Poole, Dorset, England
    Posts
    6

    Vertex Functions...

    Hello all,

    I'm trying to render some quads to the screen for image based hud type things ( text rendered to textures ), there won't be many of these, and they will each be wrapped up in their own class, say a class called text. So each class must draw only 1 quad.

    in this case is it STILL more efficient to use the gldraw arrays and GL_VERTEX_ARRAY drawing method, or is there some kind of overhead? is it more efficient just to call glvertex3f 4 times?

    Thanks in Advance
    - Jorj

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Vertex Functions...

    there won't be many of these
    With large surface with low triangle count, it means the overhead won't be significant in any case.
    Staying away from glBegin/glVertex is more GL3.1 compliant

Similar Threads

  1. Replies: 9
    Last Post: 10-18-2014, 02:00 PM
  2. Built-in Functions: Work-Item Functions
    By sean.settle in forum OpenCL
    Replies: 7
    Last Post: 11-17-2011, 07:39 AM
  3. Replies: 7
    Last Post: 06-01-2005, 05:38 PM
  4. how to add key functions
    By in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 02-26-2002, 09:15 PM
  5. Aux functions where?
    By Dr. Cage in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-03-2000, 03:30 PM

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