OpenGL Lighting: The basics?

Discussion in 'OT Technology' started by Joe_Cool, Mar 21, 2005.

  1. Joe_Cool

    Joe_Cool Moderator

    Joined:
    Jun 30, 2003
    Messages:
    302,496
    Likes Received:
    1,677
    Anybody have a link or a brief explanation of how to handle very basic lighting under OpenGL? I drew a solar system and want to add light coming from the sun at the center to light the scene.

    Any help?
     
  2. SLED

    SLED custom title

    Joined:
    Sep 20, 2001
    Messages:
    28,122
    Likes Received:
    12
  3. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,864
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    search for the red book for openGL.
     
  4. Joe_Cool

    Joe_Cool Moderator

    Joined:
    Jun 30, 2003
    Messages:
    302,496
    Likes Received:
    1,677
    Yes to both. Thanks for the link.

    And I'll look for the red book. It's as good as I've heard?
     
  5. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,864
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
  6. SLED

    SLED custom title

    Joined:
    Sep 20, 2001
    Messages:
    28,122
    Likes Received:
    12
    haa, i have that book from college, but it's the very first 1st edition that covered OpenGL 1.1 or some shit :mamoru:




    EDIT: on a serious note, it did help me learn, but if you're not a serious math/physics guy, the explained detail about the technology behind the scenes may confuse you.
     
  7. MrMan

    MrMan New Member

    Joined:
    Jul 13, 2004
    Messages:
    308
    Likes Received:
    0
  8. SLED

    SLED custom title

    Joined:
    Sep 20, 2001
    Messages:
    28,122
    Likes Received:
    12
    nehe is good, but he's using GLUT. nehe is all win32 specific
     

Share This Page