We are still at a very crude stage but already have some nice things to show.
The code is not yet available because right now it's just a total mess. We are fixing it and it will be available as soon as possible.
As of now, 2 portals can be created and each one renders what the other is "seeing". The teleportation feature has not been done yet.
Please give us some feedback on suggestions to make it better and the performance obtained when running our program.
Instructions:
-Unpack everything in the same directory.
-Run the executable.
-WASD and mouse for movement.
-Left click creates one portal, right click creates the other.
By the way, we are now thinking about changing the camera angle inside the portal when the player moves relatively to the portal. That is, if the player is looking straight at the portal, the camera should show what the portal is seeing on the direction of its normal. However, if the player looks at the portal from a "crooked" direction, then the camera should pan to the side in order to set the view right. Any thoughts on this?
Below are some screenshots of the portals.
The first screen shows the 2 portals set on 2 different walls:
![Image](http://img42.imageshack.us/img42/9065/portal1k.jpg)
Here I move closer to one of them:
![Image](http://img10.imageshack.us/img10/512/portal2t.jpg)
And now I move close to the other one:
![Image](http://img193.imageshack.us/img193/9603/portal3x.jpg)
Here is the download link for the program:
http://rapidshare.com/files/297425093/Portal.rar
Any comments will be very appreciated. Thanks!
Edit: Here's a video of a demo stage we made:
http://www.youtube.com/watch?v=me2N9DdriNo
In this demo stage, the player must hit the button (small square) with the bouncing ball, in order to open the door (big rectangle) and reach the end of the level.