-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add texture atlas stress test #5073
Comments
I'm unsure about whether or not to give this issue a |
I have created a stress test based on the many_sprites and sprite_sheet examples here: many_animated_sprites. It's largely just the many_sprites test swapping out SpriteBundle with SpriteSheetBundle and slightly offsetting the animations, this similarity may assist in doing "on vs off" comparisons although if the goal is to test TextureAtlas more thoroughly it might not be appropriate. If this is the right direction I'm happy create a PR and continue iterating on it. |
I'm happy with that! I like the idea of doing a head-to-head comparison. A PR would be great @james-j-obrien. |
…xamples (bevyengine#5087) # Objective Intended to close bevyengine#5073 ## Solution Adds a stress test that use TextureAtlas based on the existing many_sprites test using the animated sprite implementation from the sprite_sheet example. In order to satisfy the goals described in bevyengine#5073 the animations are all slightly offset. Of note is that the original stress test was designed to test fullstrum culling. I kept this test similar as to facilitate easy comparisons between the use of TextureAtlas and without.
…xamples (bevyengine#5087) # Objective Intended to close bevyengine#5073 ## Solution Adds a stress test that use TextureAtlas based on the existing many_sprites test using the animated sprite implementation from the sprite_sheet example. In order to satisfy the goals described in bevyengine#5073 the animations are all slightly offset. Of note is that the original stress test was designed to test fullstrum culling. I kept this test similar as to facilitate easy comparisons between the use of TextureAtlas and without.
…xamples (bevyengine#5087) # Objective Intended to close bevyengine#5073 ## Solution Adds a stress test that use TextureAtlas based on the existing many_sprites test using the animated sprite implementation from the sprite_sheet example. In order to satisfy the goals described in bevyengine#5073 the animations are all slightly offset. Of note is that the original stress test was designed to test fullstrum culling. I kept this test similar as to facilitate easy comparisons between the use of TextureAtlas and without.
What problem does this solve or what need does it fill?
While we can test standard 2D performance in realistic ways, we have no comparable tests that involve texture atlases.
This is particularly important as we start to build out 2D animation features.
What solution would you like?
Add a stress test that uses
TextureAtlas
heavily.This would likely be most realistic if it involved many desynchronized sprite-sheet animations (which currently must be manually operated on). A naive tile-map texture atlas stress test may also be useful.
Additional context
This is required by #5072.
The text was updated successfully, but these errors were encountered: