MachoChen / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Contour simplification failing #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate in a tiled approach 
2. Place a small obstacle at the -z tile bounds where it half way overlaps the 
focus tile and the neighboring tile.

What is the expected output? What do you see instead?
Contours should have generated around the obstacle, but they did not.

What version of the product are you using? On what operating system?
r 167ish with some incorporated fixes from r 174 and 191

Please provide any additional information below.
Other obstacles in the "level" that split along tile bounds have their contours 
generated correctly.  The non-simplified contour looks correct it is the 
simplified that is incorrect.  I've attached a contours dump file.

Original issue reported on code.google.com by shawnlha...@gmail.com on 23 Aug 2010 at 6:33

Attachments:

GoogleCodeExporter commented 8 years ago
Which simplification factor are you using? If it is 2.0, then that is causing 
the trouble. Try reducing the simplification factor if you can.

Original comment by memono...@gmail.com on 23 Aug 2010 at 6:48

Attachments:

GoogleCodeExporter commented 8 years ago
That was the issue.  Thanks.

Original comment by shawnlha...@gmail.com on 23 Aug 2010 at 7:59

GoogleCodeExporter commented 8 years ago

Original comment by memono...@gmail.com on 24 Aug 2010 at 6:00