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

Thread: Sunlight and sky modeling

  1. #1
    Intern Newbie
    Join Date
    Aug 2003
    Posts
    43

    Sunlight and sky modeling

    Sorry if its too beginers question ,but in beginers forum I didn't get answer during the week:

    I need some practical tutorial with code samples about sky dome(with lighting effects) and some realistic sunlight modeling
    tutorial for 3D scenes(projected with glFrustum(...)).
    Actually sunlight is more less clear to me and I did some basic lighting,
    but with sky dome I need to learn - I don't even know how to do coordinates correct.
    I looked in Google,but it's takes a lot of time to find smth really practical for coding.I looked in "vterrain.org/",they have
    a great screenshots - exactly look that I need,but no informatiom how to implement it.
    In Flipcode.com there is also a very short and too "dry" information.

  2. #2
    Member Regular Contributor
    Join Date
    Jan 2003
    Location
    Edmonton, Alberta, Canada
    Posts
    322

    Re: Sunlight and sky modeling

    Here's a skydome tutorial I found via Google. . .
    http://chman-area.tuxfamily.org/oldsite/tutos/Sky.zip

    The source is in Java, but the code in the accompanying .pdf document is in C.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    2,704
    "If you can't afford to do something right,
    you'd better make sure you can afford to do it wrong!"

Posting Permissions

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