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

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

3D Level Editor Sample Source Code For Delphi XE5 Firemonkey On Android And IOS

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

Delphi XE5 Firemonkey Level Map Editor 3D | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSOver on the Australian Delphi User Group blog there is a post about dynamically creating a 3D scene with Firemonkey at runtime. It basically amounts to the beginnings of a 3D level or map editor. It was originally built for an older version of Firemonkey so I have taken the source code and updated it to work in Delphi XE5 Firemonkey. The main pieces of the sample are a TPlane that has a map text image and then two objects (one of which is a TCone). You press down on the map and move your mouse around. In the OnMouseMove event it uses the RayCastIntersect() function to figure out where the position of your pointer is on the TPlane and creates a 3D object there. The house doesn’t get created (or at least is not visible) in my Delphi XE5 Firemonkey version (it works okay in the original demo). I also created a mobile project for testing on Android and IOS. Other than that if you’re looking to build a 3D level or map editor using Firemonkey this is a good starting point.

Updated Delphi XE5 Firemonkey Level Editor 3D Sample With Source

Head over and check out the full blog post about dynamically creating 3d objects at runtime (source and binaries are at the bottom of the post).

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

Related posts

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


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


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