OpenGL Lighting: The basics?

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

  1. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,200
    Likes Received:
    510
    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 build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
  3. CyberBullets

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

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

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,200
    Likes Received:
    510
    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,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
  6. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    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 build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    nehe is good, but he's using GLUT. nehe is all win32 specific
     

Share This Page