Wednesday, May 19, 2021

Firemonkey 3D Globe Example.

Delphi 10.4.2
Compiles for Windows, OSX, Android, IOS, FMXLinux


Here is an example of a Firemonkey 3D app. It shows the earth lit by sunlight at current time.
On the dark side it shows the city lights.
Earth can be rotated and zoomed.

It uses two spheres with bitmap textures, one for the lighted globe and one for the city lights. The bitmap for city lights is masked off for only the lights on the dark side.

Download the source code here:
https://i-logic.com/ftp/GlobalView.zip