Game Development Community

could not undersand the words about Portals should not share the same plane as any other brush face????

by FanZhang · in Artist Corner · 07/16/2009 (10:39 am) · 6 replies

I dont understand these two sentence s mean :

Portals should not share the same plane as any other brush face. and
Multiple portals along one plane will lead to problems. In this case one big portal 'may' work best

is said that if i have one wall that has several windows i could put a portal in to each windows or make a big one insert the wall that could cover all the windows?Thanks:)

#1
07/16/2009 (11:35 am)
LK(Andrew Brady) has extensive knowledge in this area, I'll message him and hope he replies to you. if I explain it, I may confuse you as I tend to over-complicate explanations :X.

;)
#2
07/16/2009 (12:00 pm)
What is meant with the advice that it shouldn't share the plane is that portals cut through objects and not be directly on top of the brush's face.

Here's rough example where | is the front and back faces of a brush and [ is the portal.

Correct:
| [ |

Incorrect:
[ |
or
| ]


Hopefully that cleared it up and didn't add to the confusion.
#3
07/16/2009 (8:32 pm)
hah,Thanks a lot!Now i got the meaning of them..:)
#4
07/17/2009 (12:04 am)
well, there is also the issue that the portal faces should not share the same plane with another portal face anywhere in the dif. If a face is 4x4y0z in size and located on zplane+6, then you should not allow any other faces of other portals to share the +6 zplane..use zplane +6.1 or different, accordingly.

I think this only becomes a real issue if you have a large level with many portals.

#5
07/17/2009 (1:54 am)
:)ha,thank lodme at all.got it
#6
07/19/2009 (9:33 pm)
Quote:Portals should not share the same plane as any other brush face

and

Quote:Multiple portals along one plane will lead to problems. In this case one big portal 'may' work best

Ok, to add to what's already been said...

When placing a portal, it needs to be placed in between the faces of the brushes it's touching. It should not be lined up with the other brushes face's on either side, but rather somewhere in between. The portal brush should also be buried slightly into those brushes, and it's thickness should be small. Portals may work at times being done another way, but they get unpredictable.

When two (or more) portals share the same plane, glitches will occur. What is meant by sharing the same plane is easiest explained for me like this. If your in constructor, use your various view windows to look at your portals. If any one portal overlaps another that's behind it, they share the same plane. An example would be if you have a portal at one end of a hallway, and then copy it and move it directly down to the other end.. they share the same plane because looking down the hallway you would only see one.. does that explain things better?

When making a portal, you can only use one brush. Multiple brushes will not work, and will cause issues for your portaled area.

examples of issues that may take place:

- Area disappears when the camera/player enters it
- Missing brush work
- crashes
- and more