News:

 

Topic: Ngons, odd sub-triangulation, how to fix?  (Read 13544 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 21, 2012, 09:05:31 am
I work at a levelterrain mesh at the moment. It has for now a few big ngons. In trueSpace this terrain doesn`t show any odd triangulation. Even when i reload a by Nvil saved mesh. In Nvil it does.

The vertices of the underlying geometry are connected in a wrong way, ignoring vertices that are part of the face. In trueSpace sometimes this happens too. In such a case it sometimes helps to use the optimize tool. Sometimes i don`t have a choice but to delete the trouble faces and to readd the face.

What is the proper way to fix this in Nvil?
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • No avatar
  • Posts: 2103
  • Polygon
September 21, 2012, 10:03:47 am
That problem is from the underlying geometry produced by Nvil for rendering, so only IStonia can change that behavior.

To fix that manually, you would need to divide the n-gon. I thought that was the reason for your request for the "Quadrify n-gons"(Divide n-gons) tool?

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 21, 2012, 10:07:43 am
Not only. That`s more a finishing bit :)

I need the Ngons for the workflow. A single Ngon is easier to select than a few dozen quads :)
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 21, 2012, 11:59:35 am
Quote
Not only. That`s more a finishing bit :)

Which doesn`t work with this odd sub triangulation as i have found out now. Most trouble faces gets fixed with the Divide Ngon tool. I also tried to optimize before. But there`s enoug odd sub triangulation left to give a wrong result.

I have no problem to load this mesh in trueSpace though. All fine. No odd sub triangulation. Seems that the mesh handling of Nvil isn`t really happy with the Ngons.
« Last Edit: September 21, 2012, 12:04:02 pm by Tiles »
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 21, 2012, 12:12:27 pm
Try 'Rewind'. Sometimes it may get better. My format doesn't handle concave ngons well. So you may need to devided it into a couple or more ngons.

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 21, 2012, 12:58:25 pm
So that`s a limit at the moment. Thanks. Rewind tool just helps partially. And not with all my Ngons. Seems that i would have to fix those by hand then.

I´ve found the Rewind tool in the customize toolshelf, and have given it a hotkey. But where is the Rewind tool located in the menu?
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • No avatar
  • Posts: 2103
  • Polygon
September 21, 2012, 03:22:22 pm
But where is the Rewind tool located in the menu?

By default, it is in the [sub-object Polygon] "Visual tools" and "Radial menu-> Commands" and the "Geometry" top drop down menu.

« Last Edit: September 21, 2012, 03:24:56 pm by steve »

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 21, 2012, 04:23:02 pm
Have it. Thanks steve :)
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 22, 2012, 08:24:27 am
Tiles, the improved 'Optimize' tool should help now. Please let me know how it works.

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 22, 2012, 10:46:29 am
Thanks iStonia. The result is now much better at the front side. No trouble triangles anymore But there`s still some problem triangulatin left at the backside. As shown in the shot.
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 22, 2012, 10:58:38 am
Where is the shot?

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 22, 2012, 11:38:49 am
Huh? Good question. Umm, here :D
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 22, 2012, 11:42:17 am
Here`s a small testfile attached.
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 22, 2012, 12:05:17 pm
I downloaded your terrain mesh. Loaded it. Select all polygons then Optimize them. The result looks good to me. Can't see any problem.

In your StillProblems.jpg, I suspect it is two overlapping polygons.

  • Posts: 424
  • Triangle
    • Reiner`s Tilesets
September 22, 2012, 12:44:49 pm
Yes.

Hm, my example shows trouble faces too. Odd that it doesn`t show to you. Are you sure that you cannot see this big face here, going through the rest of the geometry, and connected where it shouldn`t connect?
Free Gamegraphics, Freeware Games http//www.reinerstilesets.de