David Intersimone from Embarcadero has a post up about building a 3D scene of Earth and Mars using Firemonkey. The tutorial is for C++Builder but is effectively the same as Delphi except for 5 lines of C++ which are easy to translate to Object Pascal. This scene should easily work across all supported platforms including Android, IOS, Windows, and OSX. The tutorial shows how to use a TViewPort3D, hook it up to the 2D interface, use a custom TCamera, and how easy it is to assign textures to spheres using Firemonkey. It also talks about how to animate the scene using TFloatAnimation and using the Loop property to have the animation automatically loop. The Loop property of the animation components is very powerful because you can use it to loop particle effects (using TPlane objects). Normally you might use object pools to put keep from having to create and destroy lots of particle effect objects all the time but Loop lets you bypass all of that extra code. Lastly there is a full example project that you can download and check out.
Quickly Build An Animated 3D Planet Scene With Firemonkey For Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Tokyo Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.