Posts: 2
Threads: 1
Joined: Oct 2023
Reputation:
0
10-06-2023, 02:10 PM
(This post was last modified: 10-06-2023, 02:13 PM by abenedik.)
Hello AB4D Team,
I am interested in the capabilities of Ab4d.SharpEngine and Ab3d.DXEngine concerning GPU Instancing. Does either of these libraries currently support GPU Instancing, or is there a plan to support this feature in upcoming releases?
Thank you for your time.
Best regards.
Posts: 731
Threads: 8
Joined: Sep 2009
Reputation:
35
Both Ab3d.DXEngine and Ab4d.SharpEngine support GPU instancing.
You can check that in samples:
- Ab3d.DXEngine: in "Extreme performance" samples from "Instanced MeshGeometry3D" to "Instance World matrix samples"
- Ab4d.SharpEngine: "Advanced 3D models" / "Mesh instancing"
Ab3d.DXEngine has some additional features:
- support using texture for all instances,
- support screen-space scaled instances
Those features will be added to Ab4d.SharpEngine in one of the future versions.
Andrej Benedik
Posts: 731
Threads: 8
Joined: Sep 2009
Reputation:
35
First, sorry for the late answer.
No, there are no plans to support skeleton animation and mesh skinning in instance shader or on the GPU. This can be done on the CPU by using code from Ab3d.PowerToys.Samples project from the Assimp folder that define animation classes that support skinning and skeleton animation.
Andrej Benedik