Skip to content

GPU instancing #1545

Answered by robertosfield
GaussGun3000 asked this question in Q&A
Jul 24, 2025 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

I have had a chance to write it up yet, but part of the 3D Tiles 1.0 work I recently checked into VSG/vsgXchange master included a new vsg::InstanceNode that is coupled to vsg::InstanceDraw and vsg::InstanceDrawIndexed. These new classes enable more flexible GPU instancing, adding higher level instancing support that provided by the lower level mesh drawing classes.

The InstanceNode class provides the high level interface to the translation, rotations and scale arrays, while the InstanceDraw/InstanceDrawIndexed pass the instance arrays to Vulkan in the appropriate way. You can have multiple InstanceNode nodes sharing the same subgraph, which is used by 3D Tiles when rendering things like …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@robertosfield
Comment options

@GaussGun3000
Comment options

@robertosfield
Comment options

@GaussGun3000
Comment options

@robertosfield
Comment options

Answer selected by robertosfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants