A new look: real light, a real sky, real clouds
On 24 October OpenFlight got a new look. Surfaces, light, the sky and the clouds are now drawn from how the real things behave, and the sounds changed with them.
Surfaces with a finish
Every part is drawn with a finish: a set of roughness, metalness, clear coat and refraction values, with the reason for each number written beside it in the code. Planes are built from finishes such as foam, film, plastic, rubber, carbon, metal, varnish, glass and cloth. The paint shop adds gloss, matte, metallic, pearl, candy, flake and chrome. The world has rough ground, paint, leaf, snow and water.
Light from the sky
The sky lights everything. Reflections and the soft fill on the shady side come from the same sky you see, scaled so that a level surface facing up gets exactly the light that sky sends down. One number, the strength of the sun's beam, sets the sky, the fog, the haze and the sunlight together, so nothing is lit by one sky while it shows another.
A sky worked out, not painted
The sky's colour comes from a model of sunlight scattering in air. Molecules scatter blue the most, haze scatters every colour and whitens the horizon, and light scattered again and again fills in the glow. The amount of haze is set so that 22 % of the light on level ground comes from the sky rather than straight from the sun, the share measured on clear summer days. When you pick a time of day at an open site, this is the sky you fly under.
Clouds with a body
Cumulus are volumes: a flat base, billowing tops and no outline. Sunlight crosses them scattered once, which gives the bright lining when you look toward the sun, and scattered many times, which gives the soft white body. The sky lights their tops and the ground lights their bases. Today these are the clouds that grow over thermals, which came a week later: Thermals that follow the sun, and birds that find them.
Straight lines
The chase, ground and pilot's views stand for an eye or a camcorder, so straight lines stay straight to the edge of the picture. Every world goes through the same camera, with the same exposure, haze, sharpening and grain.
Planes that sound like planes
Each plane has one of four engine voices: an electric motor and prop, a four stroke glow engine, a two stroke glow engine or a ducted fan. A gate is a lap timer's beeper pip at 2.7 kHz, pitched to cut through the motor. Touching something is a low knock that grows with how hard you touch. Takeoff, landing and a finished figure each get a short pip. There is no music.
