I want to create an animated scene with a view of sunset from space.
like this one: http://www.zastavki.com/rus/Space/wallpaper-15233.htm
A task looks simple but confused me alot.
The scene contains:
- a planet
- stars background
- visible sun
- lightning from sun (with proper spot on the planet)
Is just a sphere positioned at (0,0,0) for convenience
Variants to make:
- using world shaded with image as environment texture for background shader
- using giant sphere with incoming vector / environment texture / emission shader – seems stupid
- visible sun
- making the disk as an object:
it will notably drift among stars, because stars are angular mapped (as if at infinite distance), and the object is not
- making very huge object at very large distance
seems very crazy, the sun actual size is 100 times of earth and the actual distance is unimaginable and probably unscalable into blender units
- drawing the circle on an image and combine with stars background texture
seems quite ok to use 16000x8000 image for something like 16x16 circle
- using “sun source”
will make parallel light rays and the light spot on the planet will disapear while sun disk still visible (and should be reflected on surface)
- using “spot source” or “point source” with light falloff = constant
will move light in desync with sun disk on sky, because it is closer then infinity
- using some object with emission shader - the same as previous
Seems like the problem is in fact to synchronize direction of sun lamp with actual position of the sun on the sky.
The position of sun (and stars) on the sky is constantly defined as lattitude/longitude (or azimuth/altitude, or right ascention/declination)
The sun should be oriented so that light flows from visible sun into planet.