PDA

View Full Version : Sunlight and sky modeling



Javac
11-04-2003, 12:04 AM
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.

Ostsol
11-04-2003, 07:44 AM
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.

jwatte
11-04-2003, 02:10 PM
http://www.mindcontrol.org/~hplus/graphics/skybox.html