non-planar mesh faces

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Joe-Schmoe
Private First Class
Private First Class
Posts: 192
Joined: Mon Jul 24, 2006 1:10 am
Location: This field unintentionally left blank.

non-planar mesh faces

Post by Joe-Schmoe » Tue Apr 01, 2008 12:15 am

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!
Join MI6!

User avatar
optic delusion
Special Forces
Special Forces
Posts: 986
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Tue Apr 01, 2008 4:05 am

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.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

User avatar
Joe-Schmoe
Private First Class
Private First Class
Posts: 192
Joined: Mon Jul 24, 2006 1:10 am
Location: This field unintentionally left blank.

Post by Joe-Schmoe » Thu Apr 03, 2008 3:26 am

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 .
Attachments
test.txt
(777 Bytes) Downloaded 193 times
Join MI6!

User avatar
optic delusion
Special Forces
Special Forces
Posts: 986
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Thu Apr 03, 2008 3:56 am

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.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest