Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodDemoFiremonkeyIOSOSXWindows

Quickly Build An Animated 3D Planet Scene With Firemonkey For Android And IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Firemonkey 3D Planets Android IOS | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDavid 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.

Head over and read the full blog post about building a 3D scene using Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply