-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Example for 2D Frustum Culling #1503
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please can you add this example to examples/README.md
I'd also rename it to something like many_sprites
personally, although the 2d
folder is definitely correct.
Additionally, even though there aren't many comments in other examples, a comment about 'this example is used to test performance with large amounts of sprites' and a link to #1492 in that comment would be useful.
A good start though
While a great example a frustum culling, I don't think this is an example of Bevy. It doesn't show any feature that one may wonder "ok, how do I do this with Bevy, let me check the examples". Do we want to have "showcase" examples for things like performance? Maybe in a dedicated "performance" folder instead of "2d"? |
Gave it a second pass. Now the camera is moving in circles around the tilemap. :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
The video you have linked in the OP needs updating
Also, as of recently you can directly upload videos to GitHub which are embedded
b242007
to
dae2c67
Compare
dae2c67
to
a9e70c6
Compare
bors r+ |
This adds a new project for showing off Frustum Culling. (Master runs this at sub 1 FPS while with the frustum culling it runs at 144 FPS on my system) Short clip of the project running: https://streamable.com/vvzh2u
Pull request successfully merged into main. Build succeeded: |
This adds a new project for showing off Frustum Culling.
(Master runs this at sub 1 FPS while with the frustum culling it runs at 144 FPS on my system)
Short clip of the project running:
https://streamable.com/vvzh2u