Results 1 to 2 of 2

Thread: Quick normal question

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2003

    Quick normal question

    Is there a speed difference when using vertex normals instead of face normals?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2003
    Toulouse, France

    Re: Quick normal question

    when using face normal (ie smooth mode == GL_FLAT) the lighting stage have to compute only one color per triangle (3 for GL_SMOOTH).
    obviously, when using face normal, there is just one call to glNormal (or one access to the normal buffer when using arrays).

    so it is faster to use face normal but since lighting is now done by the gpu (hardware T&L), I think there is no speed difference between the 2 modes.

    but if you use a software renderer (or a pre-geforce hardware), using face normal and GL_FLAT smoothing mode is faster.

Similar Threads

  1. Quick FBO question....
    By scratt in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 11-01-2008, 03:27 AM
  2. Just a quick Question about HDR
    By Twixn in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 12-19-2004, 11:07 PM
  3. quick question
    By ArchMiffo in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-16-2002, 01:48 PM
  4. Quick Question.....
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 10-26-2001, 01:15 AM
  5. Quick question
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 11-01-2000, 03:13 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