Author Topic: Quick Question  (Read 6534 times)

Silly

  • 68 Carbine
  • Posts: 324
Quick Question
« on: January 04, 2008, 12:41:31 PM »
What does leaf with to many portals mean?

I hit the final compile button, and under where Num Portals should be, i get that message.

What can i do to make this go away, and what is it?


S8NSSON

  • Autococker
  • Posts: 709
Re: Quick Question
« Reply #1 on: January 04, 2008, 01:02:19 PM »
Quote
A leaf is a leaf-node, one of the leaves in the BSP tree that is used to store your map. Each leaf-node is a small convex volume of space within the player-space inside the map's outer hull. Each leaf-node in the tree has a set of faces, which are flat (planar) surfaces which form portals where they meet the faces of other Leaf-Nodes in the map. This error is results when one of the leaf-nodes in your map meets too many other leaf-nodes, and therefore has too many portals. To fix it you can split the offending leaf-node up, or reduce the number of leaf-node it meets. Leaf-Nodes are created at the first q3map compile stage when the BSP Tree is generated. Put simply, the compiler arbitrarily splits the inside space of the map up into convex sections, using the faces of the brushes in the map to split along. To reduce the number of splits made you can simplify the brushes in the map. You can also make the compiler ignore certain brushes by tagging them as "detail" (Ctrl+M with selected brushes). To force a split in the map, you can use a Hint brush, which is an invisible nonsolid brush which only q3map can see and use (Hint brush = axial brush with all faces tools/hint).

Quote
Leaf has too many portals

This error is results when one of the leaf-nodes in your map meets too many other leaf-nodes, and therefore has too many portals. To fix it you can split the offending leaf-node up, or reduce the number of leaf-node it meets.

To reduce the number of splits made you can simplify the brushes in the map. You can also make the compiler ignore certain brushes by tagging them as "detail" (Ctrl+M with selected brushes).

To force a split in the map, you can use a Hint brush, which is an invisible nonsolid brush which only q3map can see and use (Hint brush = axial brush with all faces common/hint). (Courtesy SmallPileofGibs) (QER)

Forum link saying same as above:
http://forums.gamedesign.net/viewtopic.php?p=20848&sid=6115b255f5a345f1545d7157b7fbbb04

RUST (awesome site):
http://www.gamedesign.net/node/11

Quote
Q.  Leaf has too many portals

A.    Generally means that you have a very complicated brush someplace probably with a lot of faces and is far too irregular and complex so the map wont compile so you need to make it less complex.

Another answer:
http://www.halflife2.net/forums/archive/index.php/t-113782.html

Silly

  • 68 Carbine
  • Posts: 324
Re: Quick Question
« Reply #2 on: January 04, 2008, 01:19:17 PM »
S8N to the rescue.

Thanks alot man. I know what to do now