SilverLining Sky & 3D Clouds on Android by fkane
Date Added: Aug 13 2012 07:37 AM
I've got SilverLining running on Android / OpenGL ES 2.0 now - it's available over at the Sundog Software website, where I've got a demo of SilverLining for Android and evaluation SDK's for SilverLining.
SilverLining offers physically-realistic 3D volumetric clouds and dynamic time of day effects with procedural sky boxes and tone-mapped natural lighting to games. You tell it a time, location, and weather conditions that you want to simulate, hook it into your render loop, and it does the rest. It's been available on PC platforms for years and more recently as a Unity asset, but this marks our first foray into native code on mobile platforms. The SilverLining SDK for Android includes sample code for Java-based Android apps, C++-based native activities, and OpenSceneGraph apps.
It's surprisingly fast on my Kindle Fire and Samsung Galaxy SII; I hope making this available will lead to more vast, realistic outdoor virtual environments on Android devices. Most of our OpenGL code for PC ported over pretty easily to OpenGL ES 2.0, although we weren't able to bring over our GPU ray-casting code for stratocumulus clouds due to lack of 3D texture support. That's changing, however, in OpenGL ES 3.0. SilverLining for Android does include volumetric clouds rendered using splatting (cumulus congestus, cumulonimbus, and cumulus mediocris) as well as planar clouds (stratus, cirrus, and cirrocumulus.) You can fly around and through these clouds, making them especially useful for flight-based games - both NASA and the FAA use it, for example.
I admit this isn't the most exciting screenshot in the world; it's more of a "look, it actually works" sort of moment. Grab the demo if you can, it makes a lot more sense when you can change the time of day and cloud parameters in real time and see the sky change and see the clouds in motion.
Eclipse Indigo & Juno
Visual Studio 2010
Kindle Fire & Samsung Galaxy SII