Can someone explain Portals and sectors
Moderator: Moderators
-
jojo3450
- Rebel Warrant Officer

- Posts: 317
- Joined: Fri Jul 18, 2014 12:29 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Can someone explain Portals and sectors
Can someone explain Portals and Sectors? I read the documentation but still have no clue, they sound useful but I don't know what they are?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Can someone explain Portals and sectors
They're for level efficiency. Basically, when you're in one sector, the props in particular other sectors won't be rendered. Obviously it's a bit more complicated than that, but yeah.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Can someone explain Portals and sectors
Say you have two rooms connected by a door. Each room can be a sector and the door becomes the portal. When the door/portal is closed, the game will understand that it's impossible for you to see into the other room so it no longer has to do any rendering calculations for that room. When the door/portal is open/active, you may be able to see from one room to the next (from one sector into another sector), so SWBF2 has to spend the processing time rendering the graphics for both rooms instead of just one.
If don't use sections and portals, SWBF2 doesn't know you can't see into the other room when the door is closed, so it always takes the time to render both rooms.
If don't use sections and portals, SWBF2 doesn't know you can't see into the other room when the door is closed, so it always takes the time to render both rooms.
- Ginev
- Command Sergeant Major

- Posts: 260
- Joined: Thu Apr 02, 2009 7:02 am
- Projects :: Remaking FR Battlefront 3 Tatooine map.
- xbox live or psn: No gamertag set
- Location: Bulgaria
Re: Can someone explain Portals and sectors
So for example if i have a very very big map it could cause performance problems so if i add such things we can make the map to work more smoothly.
Thats very good idea.It will be good to get some tutorial
Thats very good idea.It will be good to get some tutorial
- Locutus
- 1st Lieutenant

- Posts: 420
- Joined: Fri Jun 04, 2010 10:08 am
- Projects :: Stargate Battlefront Pegasus
- Location: Germany
- Contact:
Re: Can someone explain Portals and sectors
Those come shipped with the ModTools and can be found in the documentation folder;)Ginev wrote:It will be good to get some tutorial
(Or here...)
