3 ms·
As a 3D engine programmer from the era, I feel like portals could have been pulled off with relative ease. It's more a matter of wanting to do it. Someone today
by djmips 6y ago
As a 3D engine programmer from the era, I feel like portals could have been pulled off with relative ease. It's more a matter of wanting to do it. Someone today could demake Portal to a nineties era engine I'm sure.
- throwanem 6y agoYou'd certainly know better than I!
- desi_ninja 6y agothe original Prey was demoed in 1996 and had portals. portal has a lot of inspiration from that game
- fl0wenol 6y agoI think the trick would be to realize that the texture on the mirror or portal represents the same screen height and position, just at the virtual screen location of the mirror/portal player behind it. So you render the screen space column as the flipped/mirror column but move the camera, avoiding overdraw, and use the fact that back faces on the wall/mirror texture are invisible from out-of-bounds. Something like that. If you can lie to the engine and say that the flipped/portal camera is still inside the sector that the player is in (even if that's clearly wrong by the camera coords) then maybe your engine culls walls/floors/sprites not visible and you don't need to reserve an empty void for the mirror/portal camera to render from, so that level geometry can occupy the back side and make the illusion convincing.
- marcodiego 6y agoDoom with the portal gun would be fun.
- hgs3 6y agoDark Forces (a Star Wars 2.5D FPS from the 90's) used portal rendering. This let you create impossible geometry, like making a doorway that appeared to be for a small room on the outside was actually a portal to a larger room on the inside (think the Tardis from Doctor Who).
- Zardoz84 6y agoThere is "Portal" mod for DooM