Page 1 of 1

non-planar mesh faces

Posted: Tue Apr 01, 2008 12:15 am
by Joe-Schmoe
Hi,

I'm making a map with several arcs in it. A lot, actually. In fact, I group many of them together and then scatter those groups around my map, often with a couple of nested spin operations and/or shifts. (This was the easiest way, yes.)

Unfortunately, the last group I placed gave an error when I loaded it. It said that it had a "non-planar mesh face" and sure enough, when I look at the map there's a face missing on one of the arcs.

I don't know what I did differently to make this one face act up. Perhaps it simply has to do with the number of arcs on the map?

A quick and dirty solution would be fine but I would really like to know what causes this and how to avoid it in the future as well.

This is in addition, BTW, to the "MeshTransform" error which I described here and have summarily ignored throughout this mapmaking process. (I was getting that error before this last group though, so it's not likely to be related.)

Thanks in advance!

Posted: Tue Apr 01, 2008 4:05 am
by optic delusion
non-planar mesh face should not happen with arcs. You must have something wrong in your math. Are you using shear?
It's impossible to tell what the problem is, without seeing the map code.

Posted: Thu Apr 03, 2008 3:26 am
by Joe-Schmoe
No, I am not using shear. I have isolated the piece of the map that causes the problem and attached it. Pay no attention to the giant floating cube, it's just there so the piece is easier to find in observer mode if you have to (The map is quite large).

What's really weird is, if I move that piece around the map, the bad faces sometimes disappear. But I need that piece where it is :P .

Posted: Thu Apr 03, 2008 3:56 am
by optic delusion
I loaded that up, and got no errors at all.
This could be one of those strange "floating point errors" that has more to do with your math processor than anything else.

Could try removing some of the nested spins. You are giving the value of pi quite a workout.

You could also ignore it. One missing face out of thousands is meaningless.