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 2 of 2

Thread: Lightning models

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2009
    Posts
    1

    Lightning models

    I've got some questions about the lighting models in OpenGL. Can you help me to solve this questions? Thanks a lot.


    • What types of light sources are known in OpenGL?
    • On which local illumination model based the lighting model in OpenGL?
    • With what OpenGL command used to set the surface normal of a primitive one vertex down? What factors are important in the indication?

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

    Re: Lightning models

    For your homework, please read the nice documentation for GL 1.1 :
    http://www.opengl.org/documentation/...1.1/index.html

    Something to note, your learning course is getting obsolete, as these questions only makes sense in the GL fixed pipeline, which is getting redundant since OpenGL 2.0 (5 years old), and is even removed from recent GL 3.2 Core ...
    Of course, the old theory is still useful to learn, but it is not an "OpenGL course", and more "computer graphics history".
    Modern specs can be found here :
    http://www.opengl.org/documentation/specs

Posting Permissions

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