negative area Faces (0.2.8 with weird axes)

Help test release candidates for the next release
Post Reply
User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

negative area Faces (0.2.8 with weird axes)

Post by philippeqc »

Hi,

I have a reproducible bug about negative Faces:

Code: Select all

Loading map philippeqc/fortress/TheRatRace-0.0.1.aamap.xml...
xml wants AATeam/map-0.2.8.0.dtd
Creating grid...
Go (round 2 of 10 )!
Face [(165.593, 16.5591)->(164.625, 35.1867)->(165.593, 16.5595)] has wrong orientation (area: -0.000120147).
Face [(164.625, 35.1867)->(165.593, 16.5595)->(165.593, 16.5595)] has wrong orientation (area: -4.19617e-05).
Switching to state 3
and a recording
You do not have the required permissions to view the files attached to this post.
Canis meus id comedit.
Luke-Jr
Dr Z Level
Posts: 2246
Joined: Sun Mar 20, 2005 4:03 pm
Location: IM: [email protected]

Post by Luke-Jr »

why is this under Beta Testing?
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Does the negative face cause a problem? It's just a warning, and unless the area is really hugely negative, they're usually harmless, the code knows how to handle them. The only problem is that with a negative area face around, the adjacent faces overlap, and, if you start out in one face, you can enter the other face geometrically, but logically still are in the first face until you leave it; then you suddenly pass through the negative area face into the right face. You can phase a bit through walls that way.

But usually, negative area faces are very thin (1E-5 meters) and these effects aren't noticeable or avoidable.

Luke: because Philippe was wearing his tester head here?
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Then, could we add a check to that warning so it only comes when the area is smaller than -EPS?
There's no place like ::1
User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

Post by philippeqc »

z-man wrote:Does the negative face cause a problem?
Not that I could notice. I flared it as a defect as the map used 2 axes with really unconventional angles and non-normalized dimension, so I though such combinaison exposed a previously unknow problem. A bit after that, Wrt in IRC said it was relatively common and to ignore it, and your post goes in the same direction.

Sorry for the disturbance. ;)

-ph
Canis meus id comedit.
Post Reply