Re: area portal need to be tied to door?
Posted by $loth on Fri Jan 21st at 6:04pm 2005
In the tut you could try using areaportalwindow
[addsig]

$loth
member
2256 posts
286 snarkmarks
Registered: Feb 27th 2004
Location: South England
Occupation: Student
Re: area portal need to be tied to door?
Posted by RadiKal on Fri Jan 21st at 7:55pm 2005
Well, i'm guessing its just a doorway with no door in it. In that case, you can put an area portal in the doorway and just leave it open all the time. It will actually still seal your area off and can help a lot with optimizing the map. With the area portal there, the things being rendered behind the portal will be clipped to the size of the area portal (in other words, instead of trying to draw everything in the room behind the doorway, it will only try to draw what you are actually seeing behind the door). If you use sv_cheats 1 and then mat_wireframe 1 in game and look throuh the doorway, you'll see more clearly what i'm talking about.
Also, the areaportalwindow should work too, as long as you can afford partial visibility from a distance.

RadiKal
member
55 posts
16 snarkmarks
Registered: Dec 24th 2004
Location: USA
Occupation: student