News for hackers. Stuff that matters.
Re:Show HN: 3D Raycasting Engine in JavaScript by MrK93 on Tuesday March 31, 2020 @02:38PM (#22740882)
There is perspective, so it's 3D. Unless you are talking about the fact that your display can show only 2D images then you are technically correct since most displays are not 3D displays.
Re:Show HN: 3D Raycasting Engine in JavaScript by tantalor on Tuesday March 31, 2020 @02:49PM (#22741027)
Perspective does not require 3d.

You can have perspective in flatland.

Re:Show HN: 3D Raycasting Engine in JavaScript by ahuth on Tuesday March 31, 2020 @03:35PM (#22741558)
You're right, this is definitely not really 3d. It's more of a trick to give the illusion of perspective to a 2d scene.

Made for some nice games in the early 90s, though!

Re:Show HN: 3D Raycasting Engine in JavaScript by vokep on Tuesday March 31, 2020 @02:58PM (#22741125)
I think you're right, its a sort of pseudo3d. Its a 3D presentation of a 1D (2D environment) perspective. Cut a horizontal row of pixels from the center of the screen and you have its flatland point of view.
Re:Show HN: 3D Raycasting Engine in JavaScript by tmilard on Tuesday March 31, 2020 @08:17PM (#22744300)