Results 1 to 2 of 2

Thread: Which is faster???? Texture map or GL_LINES????

  1. #1
    Senior Member Regular Contributor
    Join Date
    Oct 2005
    Posts
    137

    Which is faster???? Texture map or GL_LINES????

    Hi,

    I have to draw a complex flat object consising of simple lines. Which will be faster and why

    Draw each line of the oject through GL_LINES and make up the entire object?

    or simply draw a quad with the texture map of the object we want. Of course in the later case I will need to use either alpha blending or alpha test to hide non used area ofthe texture.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Which is faster???? Texture map or GL_LINES????

    I know that unblended polys are usually much faster than lines. But between blended polys and unblended lines, I'm not certain which would be faster. I'd make a test app to see.

Similar Threads

  1. What's faster drawing line with GL_LINES or Texture?
    By AlexeyZ in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-30-2012, 01:11 AM
  2. A faster texture upload(to screen)
    By akhil in forum OpenGL ES
    Replies: 0
    Last Post: 10-03-2007, 01:16 AM
  3. Which texture format faster???
    By Viper Craft in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-18-2006, 10:31 AM
  4. GL_LINES
    By Luca in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 10-06-2002, 09:18 AM
  5. GL_LINES
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-30-2001, 07:01 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