[Merged by Bors] - Example for 2D Frustum Culling#1503
[Merged by Bors] - Example for 2D Frustum Culling#1503Byteron wants to merge 1 commit intobevyengine:mainfrom
Conversation
DJMcNab
left a comment
There was a problem hiding this comment.
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 |
DJMcNab
left a comment
There was a problem hiding this comment.
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