Hello,
I'm trying to represent a real-time curving substrate in 3D.
My goal is to offload most of the heavy-lifting onto a GPU.
To do so, I have put together a TTriSurface in a TChart within a demo project you'll find attached.
The rendering speed of my demo application is improvable (maximum 20 FPS on my machine).
How can I ensure effective hardware acceleration ?
Below are some items that stood out to me :
- In VCLTee, the OpenGL module achieves my requirements, but it isn't supported in FMXTee.
- Enabling global Skia4Delphi usage, TChart canvases seem to default to GLCanvas (supposedly an OpenGL canvas). Nevertheless, it doesn't seem to use the GPU out of the box.
- The base TChart canvas (D2DCanvas) doesn't seem to offload 3D rendering onto the GPU.
Below is my configuration:
Software:
- Embarcadero Delphi 11.3 version 28.0.48361.3236.
- TeeChart FMX Pro with source : Build 2023.38.230607.
- Skia4Delphi version 5.0.0.
Hardware :
- Intel Iris Xe graphics GPU (vPro i7 laptop CPU)
- Nvidia T550 Laptop GPU
Thanks in advance for your help.
Have a nice day.
Regards,
Gabriel A. TAOUSSI
TTriSurface hardware accelaration
-
- Newbie
- Posts: 2
- Joined: Thu Nov 03, 2022 12:00 am
TTriSurface hardware accelaration
- Attachments
-
- ImprovableTriSurface.zip
- (7.51 KiB) Downloaded 274 times
-
- Newbie
- Posts: 2
- Joined: Thu Nov 03, 2022 12:00 am
Re: TTriSurface hardware accelaration
Greetings,
To demonstrate the performance I'm looking for, please find attached a project based on VCLTee I have assembled :
I believe FMXTee's Chart3D holds the answer to my question. It does seem to support hardware acceleration out of the box.
Unfortunately, within a Chart3D, trisurfaces don't render at all on my machine.
In the attachments, you'll find another project to illustrate this, here is its output on my machine :
Any idea what I might be missing ?
Have a great day.
Regards,
Gabriel A. TAOUSSI
To demonstrate the performance I'm looking for, please find attached a project based on VCLTee I have assembled :
I believe FMXTee's Chart3D holds the answer to my question. It does seem to support hardware acceleration out of the box.
Unfortunately, within a Chart3D, trisurfaces don't render at all on my machine.
In the attachments, you'll find another project to illustrate this, here is its output on my machine :
Any idea what I might be missing ?
Have a great day.
Regards,
Gabriel A. TAOUSSI
Re: TTriSurface hardware accelaration
Hello Gabriel,
Sorry for the delayed reply here.
This is just to confirm only these environments use the GPU:
- VCL + OpenGL
- FMX + TChart3D
We are still experimenting with Skia canvas.
Sorry for the delayed reply here.
This is just to confirm only these environments use the GPU:
- VCL + OpenGL
- FMX + TChart3D
We are still experimenting with Skia canvas.
We'll take a look at that.Gabriel, A. TAOUSSI wrote: ↑Mon Aug 07, 2023 8:06 amUnfortunately, within a Chart3D, trisurfaces don't render at all on my machine.
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |