Wings3D (un)triangulating every face.

Discussion, updates, modifications, etc for the various map editors...
Post Reply
User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Wings3D (un)triangulating every face.

Post by Agent West » Sat Jul 27, 2013 6:09 pm

Greetings!

Am using Wings 3D mostly as a converter from .obj to .bzw and have noticed that every face in the model is divided up into triangles, as if the program connected every vertex to every other vertex on came plane. Is there an easy way to un-do this? Only way i could figure out is to manually select edges and delete them, but that takes a long time.
Have tried "Untriangulate" function as well, but it seems to do nothing.

Main reason why i would like to un-triangulate the faces is so textures would look correctly in the map.

The file was exported to .obj format from SketchUp using "su2objmtl" plugin.
Rest in peace, AliceD (AKA Happy Alice)! miss ya!

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 723
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Wings3D (un)triangulating every face.

Post by allejo » Fri Aug 02, 2013 1:26 am

As far as I know there isn't any native way to do it, though I believe there is/was a plugin for it at one point, not sure if it works any more.

http://nendowingsmirai.yuku.com/topic/1958#.UfsKiRaii0Y
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Re: Wings3D (un)triangulating every face.

Post by Agent West » Fri Aug 02, 2013 7:30 am

Have looked at that program. Even though it shows that it has combined the triangles, for some reason in the file it shows that objects are made of more faces then they were before.
Rest in peace, AliceD (AKA Happy Alice)! miss ya!

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Re: Wings3D (un)triangulating every face.

Post by JeffM » Fri Aug 02, 2013 5:13 pm

View the obj file in meshlab to see if it has the triangles. If it does then they were made by the sketch-up export. This is my guess as to where that happens. Most programs turn everything into triangles so that they are all planar. My guess is that sketch up also doesn't export UV coordinates and you are relying on the default mapping in bzflag, this is not good. You should texture your models and have real burned in UV coordinates.

If the obj file looks fine in meshlab then the problem is wings. You can use ModelTool to convert from obj to bzw and it does not do any extra tessellation by default. It also will properly map any UV texture coordinates that are part of the obj file.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests