Raycasting : problem understanding floor and ceiling rendering

Started by
2 comments, last by basile 1 year, 6 months 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

Advertisement

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 http://www.pawlowskipinball.com/pinballeternal

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

This topic is closed to new replies.

Advertisement