Author Topic: From Wings to MM  (Read 1231 times)

Fonte Boa

  • Newbie
  • *
  • Posts: 11
    • View Profile
From Wings to MM
« on: December 08, 2009, 06:12:59 PM »
The following obj was generated at Wings3D
and was exported without any kind of tesselation
(wings has triangulate and quadrangulate ones):
it wasnt correctly loaded at MM.

http://www.wings3d.com.br/studies/star.obj

Between, if i add two holes at it, it arrives without problems:
http://www.wings3d.com.br/studies/star4.obj

(and, of course, if i export using tesselation OBJ options:
http://www.wings3d.com.br/studies/star5.obj  )

(right mouse button | save target as)
at the links above...

My question is:
MM could support properly no tesselated OBJs?

RMS

  • Administrator
  • Hero Member
  • *****
  • Posts: 569
    • View Profile
Re: From Wings to MM
« Reply #1 on: December 08, 2009, 08:35:05 PM »
Ha. OK. This is a bug in how I handle non-triangle polygons.

Basically for a polygon I render a set of triangles, which are generated by picking one vertex and generating triangles in a loop to all the other vertices (called a triangle fan)

So, if you export the file, you will see that it is fine. It just looks broken.

But, if you try a cut-paste operation it will fail, because that also depends on the triangles of the polygon.

So, I will need to figure out a better tessellator =).

But in general, meshmixer will not work very will with such low-poly models and highly non-convex faces. It is very hard to do the kinds of things that meshmixer does without a decent sampling of the surface...the only alternative would be to insert edges into your faces, which is very hard to get right...