Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
firststeps [2020/01/09 08:57] – [First Steps] admin | firststeps [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== First Steps ====== | ||
- | Handling Gorilla3D is quite the same as using Firemonkey 3D. | ||
- | The main difference is the usage of TGorillaViewport as the main component for display. | ||
- | **You can no longer use a TViewport3D or TForm3D as basis for showing 3D content.** | ||
- | |||
- | The reason for that is, that Gorilla3D extends functionality a lot and needs special treatment, which the default viewport do not provide (f.e. Render-Passes, | ||
- | |||
- | But, let' | ||
- | |||
- | * [[viewport|Viewport]] | ||
- | * [[models|Models]] | ||
- | * [[animations|Animations]] | ||
- | * [[materials|Materials]] | ||
- | * [[primitives|Primitives]] | ||
- | * [[terrain|Terrain]] | ||
- | * [[skybox|SkyBox]] | ||
- | * [[particles|Particles]] | ||
- | * [[physics|Physics]] | ||
- | * [[fmodaudio|FMOD Audio]] | ||
- | * [[assetsmanager|Assets Manager]] | ||
- | * [[billboard|Billboard]] | ||
- | * [[inventory|Inventory]] | ||
- | * [[dialogues|Dialogues]] | ||
- | * [[skillsystem|Skillsystem]] | ||
- | * [[inputpolling|Input Polling]] | ||
- | * [[pathfinding|Pathfinding]] | ||
- | * [[renderpass|Render Pass]] | ||
- | * [[shadow|Shadow]] | ||
- | * [[bokeh|Bokeh]] | ||
- | * [[deftypes|Internal Model Definition]] | ||
- | * [[transparency|Transparency]] | ||
- | * [[layer3d|2D FMX components]] | ||
- | * [[scripting|Scripting]] | ||
- | |||
- | ===== Building an app with Gorilla3D and Delphi 10.3 Rio for Android ===== | ||
- | |||
- | |||
- | Gorilla3D supports Android as platform, but needs since v0.7.5.1476 some additional configuration in Delphi 10.3 Rio. On older Delphi version, still OpenGLES v2 is used. | ||
- | |||
- | |||
- | Since OpenGLES v3.0+ support was added to the framework, the NDK settings need to be changed. Because OpenGLES v3 was first delivered with Android 4.3 (API level 18), we need to change the minimum api version in our delphi setting. | ||
- | |||
- | |||
- | Go to " | ||
- | |||
- | {{ :: | ||
- | |||
- | When installing Delphi 10.3 Rio, the default configuration is set to " | ||
- | |||
- | |||
- | If you did not change the api version, you will receive an error on compiling your code: | ||
- | < | ||
- | [DCC Error] E2597 C: | ||
- | </ | ||
- | |||
- | Your app should tell Android that it needs at least OpenGL ES 3.0. This can be done in " | ||
- | |||
- | < | ||
- | <!-- Tell the system this app requires OpenGL ES 3.0. --> | ||
- | < | ||
- | </ | ||
- | |||
- | Change the attribute android: |