Archived

This topic is now archived and is closed to further replies.

DuhMe

Anyone have info on Portals?

Recommended Posts

DuhMe    122
I wanted to implement a camera system in my game like Tribes. I want to be able to place a security camera on a wall and be able to have it render it in a box on my status bar(with all the player''s information). Is there any term given to this technique other than a Portal and is there any information out there on it? Thanks DuhMe I''m an idiot so you don''t have to be.

Share this post


Link to post
Share on other sites
Isaac Vanier    122
You don''t have to use portals to do that, but if you want to anyway (because it''s a real good thing to learn), go check out www.flipcode.com, and look through everthing in their index. You''ll find docs on portal systems, among other things.

But instead of portals, you can just make another "viewport", and render the camera''s image to that viewport. It actually turns out to be almost exactly the same as a portal, which is almost exactly the same as rendering a whole screen image... almost. The only real differance is that a portal can have any number of sides, and they can have just about any shape (within reason ; ) Wheres your screen is always rectangular.

Share this post


Link to post
Share on other sites
DuhMe    122
Well I was hopeing to create a viewport like Q3 does with their teleports(or whatever you would call them). This way the viewport isn''t always parallel with the current viewing plane so it would be more of a rhombus or diamond when rotated.

DuhMe
I''m an idiot so you don''t have to be.

Share this post


Link to post
Share on other sites