Re: Portal 2D (tech demo)
Posted: Fri Sep 09, 2011 3:02 pm
You're seriously thinking with portals! This has got potential!
I'm surprised at how simple it was to implement, but I must thank vrld for implementing stencils, I wouldn't have a clue when it comes to talking directly to openGL so I can't imagine how valve did all this in 3d. It should also be possible now to do the portal-within-a-portal effect, brb going to find my thinking cap.The Doctor wrote:You're seriously thinking with portals! This has got potential!
wouldn't it be better if they changed the 3D engine so, when a ray hitted a portal it will change position and direction?Lexsym wrote:valve created a camera object, and projected it onto the "portal" and the camera's angles were set to that of the player's. In simplicity
Surely raytracing must happen at some point low level, in the graphics card?Taehl wrote:No, because Portal (like all games) isn't rendered via raytracing...
And there you're wrong, search it upbartbes wrote:Nope. In fact, raytracing is never used in games, because it is too slow, it provides amazing detail, but can't be done realtime.
That's a demonstration, not an actual game. It can be done realtime, but realistically right now you can't do raytracing plus everything else that a game needs to do at the same time (unless you want to make a game that only $2000+ computers can run).GijsB wrote:And there you're wrong, search it upbartbes wrote:Nope. In fact, raytracing is never used in games, because it is too slow, it provides amazing detail, but can't be done realtime.
Edit : As you can see here ; http://www.youtube.com/watch?v=blfxI1cVOzU (IN 2007!!)