Book Image

Expert Delphi - Second Edition

By : Marco Cantù, Paweł Głowacki
Book Image

Expert Delphi - Second Edition

By: Marco Cantù, Paweł Głowacki

Overview of this book

Master Delphi, the most powerful Object Pascal IDE and versatile component library for cross-platform native app development, by harnessing its capabilities for building natively compiled, blazingly fast apps for all major platforms, including Android, iOS, Windows, Mac, and Linux. Expert Delphi begins with a quick overview of Delphi, helping you get acquainted with the IDE and the Object Pascal language. The book then quickly progresses to more advanced concepts, followed by the architecture of applications and the FireMonkey library, guiding you through building server-side services, parallel programming, and database access. Toward the end, you’ll learn how to integrate your app with various web services and deploy them effectively. By the end of this book, you’ll be adept at building powerful, cross-platform, native apps for iOS, Android, Windows, and macOS—all from a single code base.
Table of Contents (21 chapters)
Free Chapter
1
Part 1: Building Blocks
6
Part 2: Going Mobile
12
Part 3: From Data to Services
19
Index

FireMonkey in 3D

FireMonkey user interface controls offer a powerful multi-platform and multi-device development solution based on a single source code, with Delphi offering you the ability to build a native app for each target operating system. There are other solutions in this space, some of them more popular, even if not as powerful. What is unique to Delphi is having a component library, similar to the 2D one, for 3D programming. With FireMonkey, we can create fully cross-platform GPU-powered GUIs, based on a specific 3D API on each platform.

In this chapter, we are going to add the third dimension to our FireMonkey projects. We will cover the following points:

  • Cross-platform 3D rendering
  • Direct use of Context3D
  • Ready-to-use 3D objects
  • Mixing 3D and 2D

The objective of this chapter is to learn FireMonkey 3D programming and how to build interactive cross-platform 3D GUIs. As usual, we’ll do this by going over demos – showcasing different...