The first Sun in Solar Time was a yellow texture with a glow around it. When I got close or watched it rise from Mars, I wanted to see more happening on the surface. That’s what started the Sun shader work for v0.85.
Eight stages of the Sun shader, from the upper left to the lower right.
Getting the glow right
One early experiment turned the Sun into a bright white disc. It had plenty of glare, but I could barely see the surface. I kept adjusting the glow, the flow of the texture, and the contrast until the surface shimmered and the edge faded more naturally into space.
Adding rays and rising arches
Tibi’s Realistic Sun gave me a starting point for the rays and arches. I adapted their color and motion to work with Solar Time’s own surface and soft glow. I went back and forth between the overview, the close-up, and sunrise from Mars to see how they looked. The distant view also draws fewer rays, so a tiny Sun takes less work to render. Tibi’s Realistic Sun
DEVELOPMENT DIARY
Flying Along the Martian Horizon
Sunrise was the scene I most wanted to get right on the Mars tour. As the Sun comes over the horizon, its light scatters through the thin atmosphere and the edge of the planet slowly lights up. I adjusted the scattering based on the Sun’s direction and the viewing angle so the light changes naturally as the camera moves.
Sunrise along the Martian horizon in Solar Time.
Seeing the craters up close
I used a normal map to bring out the craters. Their rims and interiors catch the light differently, so you can make out the contours as you fly close to the surface. To help the tour run smoothly on lower-end PCs, I spread texture preparation across several frames and delayed effects that weren’t needed on screen yet.
Trying the canyon and Olympus Mons
I also tried flying low through a winding canyon and circling Olympus Mons, climbing toward the summit crater. It looked great in my head. In practice, the camera felt like it was dropping into the canyon, and I couldn’t get across how tall the mountain was. I didn’t yet have the skills to make those scenes feel the way I wanted, so I left them as experiments.
Once the tour was finished, I put it on just to watch. Flying along the horizon and seeing the Sun come up took away a lot of the stress I’d built up while making it.
DEVELOPMENT DIARY
Flying Through Uranus’s Rings
After building the Saturn tour, I wondered what it would be like to keep flying all the way to Uranus. I tried moving the camera the same way, but ran into a new problem. Uranus’s rings are so narrow that they nearly vanished from view even as the camera got closer.
Flying through Uranus’s rings in Solar Time v0.81.
Between the thin rings
I kept the distant rings faintly visible and let small fragments gradually come into view near the camera. I also used fewer fragments than in the Saturn tour. The rings still look slender, and the pieces sweeping past give you a sense of which way you’re flying.
From Saturn to Uranus in one flight
When you leave Saturn’s rings for Uranus, the camera keeps its direction and speed from the moment you set off. The ring fragments you just passed stay behind as Uranus draws closer ahead. Flying between the two planets in one continuous shot was the part I was most excited to make.
DEVELOPMENT DIARY
Flying Through Saturn’s Rings
From far away, Saturn’s rings look like thin, smooth bands. Wouldn’t it be fun to get close enough to see the pieces and fly right through them? That’s how the Saturn tour started.
Flying through Saturn’s rings in Solar Time v0.72.
A smooth flight from any starting point
You might start from a view of the whole solar system, or you might already be right beside Saturn. At first, I sent the camera straight to the same spot. Depending on where you started, it could cut across the rings or suddenly swing around.
So I used the camera’s position, direction, and speed at the start of the tour to shape a curved approach. The motion carries through as you settle into the flight. I also smoothed the return so the other planets don’t suddenly change size on screen.
Getting close to the rings
The distant rings stay visible as bands, while individual pieces gradually come into view near the camera. The pieces rush past, and Saturn moves slowly behind them. That difference makes it feel like you’re flying through the rings.
When the pieces appeared all at once, the animation could briefly stutter. I spread the work of getting them ready across several frames on the way in, and fixed a separate hitch that made the flight seem to slow down mid-tour.
When you bump into a piece, the camera gives a little shake. It’s over in a moment on screen, but it took me quite a few tries to get that little jolt to feel right.
DEVELOPMENT DIARY
Earth’s Clouds and City Lights
I used NASA’s Black Marble map to bring out the city lights on Earth’s night side. There’s a slider in the Earth panel, so you can turn the lights down for a quieter view or brighten them to pick out more detail.
Earth and the Moon in Solar Time v0.70.
I ran into a small problem at the edge of the globe. The lights are squeezed into fewer screen pixels there, so tiny points of light could flicker as Earth turned. I blended in nearby pixels gradually as the lights approached the rim. That calmed the flicker and kept the cities near the center sharp. NASA’s Black Marble maps
Clouds that follow the weather
Someday I’d love to use real observations from a weather agency so the clouds in Solar Time follow the actual weather. I’m still figuring out how to make that work smoothly in the browser. This is as far as I’ve gotten for now. Maybe someday.