mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
61a3494a06
# Objective - As requested here: https://github.com/bevyengine/bevy/pull/4520#issuecomment-1109302039 - Make it easier to spot issues with built-in shapes ## Solution https://user-images.githubusercontent.com/200550/165624709-c40dfe7e-0e1e-4bd3-ae52-8ae66888c171.mp4 - Add an example showcasing the built-in 3d shapes with lighting/shadows - Rotate objects in such a way that all faces are seen by the camera - Add a UV debug texture ## Discussion I'm not sure if this is what @alice-i-cecile had in mind, but I adapted the little "torus playground" from the issue linked above to include all built-in shapes. This exact arrangement might not be particularly scalable if many more shapes are added. Maybe a slow camera pan, or cycling with the keyboard or on a timer, or a sidebar with buttons would work better. If one of the latter options is used, options for showing wireframes or computed flat normals might add some additional utility. Ideally, I think we'd have a better way of visualizing normals. Happy to rework this or close it if there's not a consensus around it being useful. |
||
---|---|---|
.. | ||
3d_scene.rs | ||
lighting.rs | ||
load_gltf.rs | ||
msaa.rs | ||
orthographic.rs | ||
parenting.rs | ||
pbr.rs | ||
render_to_texture.rs | ||
shadow_biases.rs | ||
shadow_caster_receiver.rs | ||
shapes.rs | ||
spherical_area_lights.rs | ||
texture.rs | ||
two_passes.rs | ||
update_gltf_scene.rs | ||
wireframe.rs |