senoutouya / recastnavigation

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

area makes gap #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.use the attach path_model0.obj and geomset
2.set the cell_size to 1.0
3.build

What is the expected output? What do you see instead?
while the geom without area is a plane, the area should only separate the plane 
into differnt area connected to each other.
however, on the edge of the area, a gap appeared as attached picture "gap".
i test many case, this situation appears when the area edge is very close to 
the tile edge. however, while the area complete fix the tile edge, no gap would 
appear, as picture "no_gap" showed.

What version of the product are you using? On what operating system?
ver 249

Please provide any additional information below.

Original issue reported on code.google.com by zhibin.l...@gmail.com on 16 Nov 2010 at 1:36

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by memono...@gmail.com on 16 Nov 2010 at 7:01

GoogleCodeExporter commented 9 years ago
I could repro the problem, but did not find solution to it yet. In the mean 
while, you can use rcBuildRegionsMonotone() instead of rcBuildRegions() as a 
workaround. If you have small tile size (something like < 50x50) it might be 
better choice anyways.

Original comment by memono...@gmail.com on 21 Nov 2010 at 2:21

GoogleCodeExporter commented 9 years ago
Fixed in R253.

Original comment by memono...@gmail.com on 21 Nov 2010 at 2:53

GoogleCodeExporter commented 9 years ago
Did it fixed? 
i used the latest Recast Demo, the problem still there.
and also ,i can not find the rcBuildRegionsMonotone() function in the whole 
project,
is it a new API?

Original comment by zhibin.l...@gmail.com on 22 Nov 2010 at 7:57

GoogleCodeExporter commented 9 years ago
Please use the latest code from SVN.

Original comment by memono...@gmail.com on 22 Nov 2010 at 8:04

GoogleCodeExporter commented 9 years ago
And yes, it is fixed :)

Original comment by memono...@gmail.com on 22 Nov 2010 at 8:04

GoogleCodeExporter commented 9 years ago
And... (the coffee has not kicked in just yet) the windows executable of the 
demo is not up to date so you need to build it yourself. Sorry for that 
inconvenience, I have very rare access to a windows machine to update the 
windows project.

Original comment by memono...@gmail.com on 22 Nov 2010 at 8:06

GoogleCodeExporter commented 9 years ago
yes, rebuild and ok now.
i had to appreciate your greate work again.
thank you.

Original comment by zhibin.l...@gmail.com on 22 Nov 2010 at 8:26