Advertisement

Raycasting : problem understanding floor and ceiling rendering

Started by October 17, 2022 01:59 PM
2 comments, last by basile 2 years, 1 month ago

Hello, I am working on a raycasting engine project. I got to the point where i can render textured walls with correct perspective. I am now trying to render floor and ceiling with textures. I am following Lode tutorial on how to do this but the floor is moving very weirdly and i can't get what is wrong. Any help would be appreciated.

Here is the project repo :

https://github.com/Bazouz660/RaycasterProject

The code for the floor raycasting is under src/raycasting/wall_cast.c

but the floor is moving very weirdly

Always good to upload a video to youtube. Weird typically does not mean “random” so it might correlate to a common issue.

NBA2K, Madden, Maneater, Killing Floor, Sims

Advertisement

@dpadam450 Yes you are right, I added a video of it

This topic is closed to new replies.

Advertisement