Good day, denikson here.
Cherno’s 3D game programming tutorial in Java was the first programming tutorial I ever watched. I liked
how proper 3D effect can be achieved without using OpenGL or DirectX. I also was trying to find an explanation to Notch’s 3D game he once made for Ludum dare.
Unfortunately, I stopped watching the tutorial after some time. The reason was because it was never
properly explained how 3D is actually made (how rendering floors/walls works). I didn’t like just staring at
the code like it is made by some magician. I wanted to know the math behind it all.
After some time of learning math and programming I was able to derive the methods myself. Now I have
decided to write a guide, an explanation to the things Cherno left unexplained in my opinion. I like Cherno’s
tutorials; they have gone a long way since back then. I just want to offer an alternative way of explaining
how to create the same engine Cherno created.
If you’re interested in the “why” behind the 3D in Cherno’s 3D game programming in Java, keep on reading.
NOTE: Some code won’t match with the code Notch or Cherno wrote. The reason is because their code has
some different implementation details, but overall idea is the same.