looks great i have done something similar in the past using the same book but with html canvas and javascript for a free puzzle game I made, raycasting is so fascinating to me
It really is. Sometimes I think of it as 1D raytracing: indeed of tracing rays for a grid, you trace them for a line in the central horizon of the screen :)
Ummm... Of course you can! Consider using opengl libraries like pyopengl. But I would write my own rasterizer (and I did)! With python though that path is much harder.
From the project page “All code present in this project was written by me, without AI code generation or coding agents”
looks great i have done something similar in the past using the same book but with html canvas and javascript for a free puzzle game I made, raycasting is so fascinating to me
It really is. Sometimes I think of it as 1D raytracing: indeed of tracing rays for a grid, you trace them for a line in the central horizon of the screen :)
Wow, this takes me back. I'm curious how much time you have in this?
Glad you like it! About 1.5-2 months. I wanted to build a raycaster so I decided to rewrite my fav DOS game while at it!
- stupid question: can you write a 3d game in c++ or python from scratch without using a GPT?
Are you saying that indie 3D games never existed prior to 2023?
Ummm... Of course you can! Consider using opengl libraries like pyopengl. But I would write my own rasterizer (and I did)! With python though that path is much harder.