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