Game Development Community

* Orphaned Polygons

by Kevin Johnson · in Artist Corner · 03/31/2004 (9:56 am) · 6 replies

Nu-B question of the day:

Map2dif returns:
** *** WARNING WARNING WARNING *** **
*** ** WARNING WARNING WARNING ** ***

Errors exists in this interior. Please use the debug rendering modes
to find and correct the following problems:

* Ambiguous brushes: 0
* Orphaned Polygons: 46

*** ** WARNING WARNING WARNING ** ***
** *** WARNING WARNING WARNING *** **

but compiles the dif anyway.
what does this mean? and is it important..ie is this causing a performance hit..i cant notice any..
also i can't find a switch for debug rendering mode what does that mean?

#1
03/31/2004 (10:06 am)
If your executable is debug
you can type in the console

setInteriorRenderMode(value)

I'm pretty sure that is what it is called.
you can:
[interiorID].dump();
to verify the function signature.

this means just what the warning describes
somewhere in the model, after BSP some splitting has occured orphaning some polygons.
of course a couple is not really an issue
but you should be in the habit of fixing All warning's..
in All your undertakings :)

conformancy is good in the artwork pipeline.
#2
11/23/2005 (4:17 am)
I get the same error message, but even with the debug rendering modes, I can't find anything wrong with my interior. What does "Orphaned Polygons" actually mean ? Can it do any harm or can i ignore this ?
#3
11/23/2005 (5:45 am)
If you make a simple box and export it, I reckon you'll still get orphaned polygons... I always get them on even the simplest geometry.
Certainly got them on my road pieces I made recently... I don't think there's anything wrong with them.

I'd be interested to know how many you get with a simple box.
#4
11/23/2005 (5:58 am)
I dont get a lot of them i guess, just wondering what causes them or what they are.
Here's part of te log:

STATISTICS
- Total brushes: 133
+ structural: 129
+ detail: 0
+ portal: 4
- Number of zones: 1
- Number of surfaces: 608

** *** WARNING WARNING WARNING *** **
*** ** WARNING WARNING WARNING ** ***

Errors exists in this interior. Please use the debug rendering modes
to find and correct the following problems:

* Ambiguous brushes: 0
* Orphaned Polygons: 13
#5
11/28/2005 (12:35 pm)
I get concave brushes detected every export using Pipeline with Cart Shop, But I cant find any holes in my dif in torque so I have been ignoring it so far.

Its been giving me that error ever since my dif was basicly just a few planes
#6
11/28/2005 (1:11 pm)
I found this in a previous thread, reply posted by Tim Gift:

Quote:
Looking through the map2diff code a little, it looks like that orphaned polygons are those that it cannot find a portal zone for. Map2dif breaks up the interior in to visible zones connected by portals brushes. If a polygon (or part of a normal brush) doesn't fit into one of these zones, you get the error. I'm not sure what normally causes this to occure, but not having any portals at all might be your problem.

If you don't want to set portals, you can probably safely ignore the warning.