Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Creating 3D applications with Firemonkey (https://www.delphipraxis.net/200964-creating-3d-applications-firemonkey.html)

DP News-Robot 11. Jun 2019 20:20

Creating 3D applications with Firemonkey
 
In this post we will see how easy it is to make a simple 3D application with Firemonkey. We start from the menu File-New-Multi device Application Delphi-3D ApplicationAņadimos a component called tDummy that will behave like a container of other components In Firemonkey 3D. This component is the equivalent of tLayout in the world of 2D Firemonkey. With tDummy we can move, rotate, rotate and scale the objects that we associate and will be the object of which almost all that we put in the form, this will give us a very simple way to manipulate a scene. Now we have to select the tSphere component and place it in such a way that it hangs from the tDummy component. Select tDummy and Change the property Scale X, Y, Z to value 5. From the Structure view you have to look like this: Then select the tTextureMaterialSource component and place it in the form. Then we click tSphere and associate the "MaterialSource" property to the tTextureMaterialSource component. Now you have

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz