-
-
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
[Merged by Bors] - many_cubes: Add a cube pattern suitable for benchmarking culling changes #4126
Conversation
While investigating:
|
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.
Well-motivated, code quality is solid. This is also very pretty!
Should we consider moving this and bevymark to their own folder? They're not exactly useful as learning material IMO.
I think it could be useful to have a place for tests/benchmarks that exercise various aspects of the engine and enable developers to test/check things without having to (re)write the same things over and over. At least I find I’m very commonly using examples, possibly slightly modified, for testing various things during development. I also think we should make a gltf viewer out of load_gltf and a flying camera implementation like that in the shadow biases example. But that’s all off topic for the PR. :) |
Agreed; we should consider that in a separate PR I think. |
Could more people test this example to ensure it doesn't cause dizziness or discomfort?
|
@superdump could you also update the few |
Done. |
bors try |
bors try |
tryAlready running a review |
Oh, I thought the test progress would be shown at the bottom and it had failed again. I see the status is elsewhere. |
bors r+ |
…ges (#4126) # Objective - Add a cube pattern to `many_cubes` suitable for benchmarking culling changes ## Solution - Use a 'golden spiral' mapped to a sphere with the strategy of optimising for average nearest neighbour distance, as per: http://extremelearning.com.au/how-to-evenly-distribute-points-on-a-sphere-more-effectively-than-the-canonical-fibonacci-lattice/
We had a couple sets of eyes on this for nausea, and this is a very niche example. We can tweak it later if we get complaints. |
…ges (bevyengine#4126) # Objective - Add a cube pattern to `many_cubes` suitable for benchmarking culling changes ## Solution - Use a 'golden spiral' mapped to a sphere with the strategy of optimising for average nearest neighbour distance, as per: http://extremelearning.com.au/how-to-evenly-distribute-points-on-a-sphere-more-effectively-than-the-canonical-fibonacci-lattice/
…ges (bevyengine#4126) # Objective - Add a cube pattern to `many_cubes` suitable for benchmarking culling changes ## Solution - Use a 'golden spiral' mapped to a sphere with the strategy of optimising for average nearest neighbour distance, as per: http://extremelearning.com.au/how-to-evenly-distribute-points-on-a-sphere-more-effectively-than-the-canonical-fibonacci-lattice/
Objective
many_cubes
suitable for benchmarking culling changesSolution