[Merged by Bors] - many_cubes: Add a cube pattern suitable for benchmarking culling changes#4126
[Merged by Bors] - many_cubes: Add a cube pattern suitable for benchmarking culling changes#4126superdump wants to merge 2 commits intobevyengine:mainfrom
Conversation
|
While investigating:
|
alice-i-cecile
left a comment
There was a problem hiding this comment.
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_cubessuitable for benchmarking culling changesSolution