Skip to content

Conversation

cmhhelgeson
Copy link
Contributor

@cmhhelgeson cmhhelgeson commented Aug 28, 2025

Related issue: #31685

Description

1st part of trying to improve the performance of the webgpu_compute_birds demo on Mac before sorting (hypothetically, I don't have a Mac to test with)

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 28, 2025

For testing: https://rawcdn.githack.com/cmhhelgeson/three.js/update_birds_instanced/examples/webgpu_compute_birds.html

TBH, I do not see a performance improvement yet. Does it make sense to use instancing if there is only a single mesh added to the scene?

@cmhhelgeson
Copy link
Contributor Author

TBH, I do not see a performance improvement yet. Does it make sense to use instancing if there is only a single mesh added to the scene?

That's fine, figured it was worth checking. At the very least, I think instancing is more intuitive when the instance and vertex data can be derived from builtins rather than packing the geometry with data from each individual bird.

@Mugen87 Mugen87 added this to the r181 milestone Sep 3, 2025
@Mugen87 Mugen87 merged commit 2f47f5e into mrdoob:dev Sep 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants