Archive Notice: This thread is old and no longer active.
It is here for reference purposes. This thread was created on an older version of the
flipcode forums, before the site closed in 2005.
Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
Yeah, the sun looks more like a thermonuclear explosion....oh wait, it IS a thermonuclear explosion. Well anyway, it doesn't look quite right. If you look into the sun the entire sky should be lit up. Perhaps you could change the colour of the vertices of your skydome depending on their proximity to the sun?
The direct impression is great, it's when You start analyzing deeper You find the flaws, as always.
I believe this would make a pretty neat sky where the main focus in on something else than the sky. The skydome gives a nice atmosphere and feeling to the whole scene!
To which picture are you referring when You mention that the whole sight would be all bright when looking at the sun?
If You refer to the sunrise:
As You can easily (not in Scandinavia these days though - too many clouds) experience, the sunset and sunrise decrease the brightness impact of the sun.
Why not implement scattering of the sun rays? (Blue light waves are scattered all over the sky due to the frequence compared to particles in the atmosphere) And the red color is the least scattering...
This makes it very easy to do "automatic" transitions day/night with great sunsets and sunsets.
hehe, what that you go blind if you keep looking at the skydome for five minutes?? what about this scenario... near sunset, very dark clouds looming overhead... but the sun only lightened the clouds that were either closer to the sun or really far away... the middle clouds seemed unaffected. That's just what I saw the other day... should've taken a picture, so I could try to implement it in a skybox... when I start writing one... I am a newbie by the way, there is a tut on flipcode, anyone know any other cool tuts on skyboxes? lemme know!
Hate to argue, but looking directly at the sun would certainly NOT brighten the whole sky. In fact, if we must be this analytical, it would indeed darken the whole sky.
Darken the sky? If you were to look at the sun your pupils would narrow and let less light in, but I assure you the sky does not change at all.
More to the point the brightness of the sky is directly related to how much of the planet around you the sun is illuminating. If the sun is directly overhead at "12 noon" it will be illuminating the maximum amount of the planet around you as it can. If the sun is setting there will be very little direct sun light and the entire sky will be dim. Not only that, but you *can* look at a setting sun. You guys should go outside and try it sometime ;-)
The top left picture looks like a 'setting sun' shot. I agree that the big yellow dot looks out of place, but the sky should not be brighter - the sun should be orange/red and much lower, just dipping below the horizon.
Note that I said 'how much of the planet around you the sun is illuminating' because other planets/moons/huge mother ships, etc, can obstruct the light rays and stop any light from getting to the planet, in a more general sense the amount of light is related to the angle of the sun, where 90 degrees overhead is the maximum brightness.
Yeah, I was referring to the top-left picture. It somehow looked somewhat abnormal to me. I think you're right in that the sky should be more red, and I think that that's better than my suggestion. It's just that as it is the sun doesn't look very realistic to me. Perhaps we just have weird suns here in Holland :-) Also as you say the sun should be lower, and how about some cloud lighting effects?
As for the demo, I don't have Windows so I can't try it...
When u whatch to horizon, you could make a cool effect like in Quake III Arena, so make your skydome so cute! :)
(someone here knows how Q3A sky deformation works?)
Another thing... i think that you should insert a great lenz flare to make the sun better. One of the best flares i saw around was programmed in Sonic Adventure on Dreamcast... take a look at it. I remember that there's a big ring that scales when u look to the sun, and becomes lighter (to make the light blinding effect)
It should be simple to code, i guess.. :P