From 600b51b6e7774a4c37808318c51a00bc283562f8 Mon Sep 17 00:00:00 2001 From: asus Date: Sat, 20 Jan 2024 15:41:02 +0100 Subject: [PATCH] wip readme presentation --- README.md | 10 +++++++--- ...ting_explanation.gif => raycast_explanation.gif} | Bin 2 files changed, 7 insertions(+), 3 deletions(-) rename assets/{cube3d_raycasting_explanation.gif => raycast_explanation.gif} (100%) diff --git a/README.md b/README.md index 482515a..4babbc2 100644 --- a/README.md +++ b/README.md @@ -78,13 +78,17 @@ How it works : 5. finally, if the rays scan the whole picture, you see the perspective appears -![](assets/raycast_steps.gif) +![](assets/raycast_steps_round.gif) 6. but you can also see that walls are rounded, like a fish eye effect. It's because rays change length while scanning the wall, so we must apply a correction to the angle -![](assets/raycast_steps_round.gif) +![](assets/raycast_steps.gif) -example of raycasting in action while construction of the project : +7. a more realistic step by step example looks like this : + +![](assets/raycast_explanation.gif) + +example of raycasting with errors in action while construction of the project : ![example of raycasting during the construction of the project](assets/cube3d_raycasting.gif) diff --git a/assets/cube3d_raycasting_explanation.gif b/assets/raycast_explanation.gif similarity index 100% rename from assets/cube3d_raycasting_explanation.gif rename to assets/raycast_explanation.gif