Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Odd Tile Portal Behavior after Recast Upgrade
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stephen Pratt  
View profile  
 More options Mar 26 2012, 6:39 pm
From: Stephen Pratt <steve...@gmail.com>
Date: Mon, 26 Mar 2012 16:39:58 -0600
Local: Mon, Mar 26 2012 6:39 pm
Subject: Re: Odd Tile Portal Behavior after Recast Upgrade

Just an update:

I've confirmed that the problem appears when I switch from R331 to R332.
So it looks like you are right about the R332 change set causing the
problem.

It may take a little while to locate the cause since I don't have the
ability to visualize contour data yet.

-Steve

On Fri, Mar 23, 2012 at 11:29 PM, Mikko Mononen <memono...@gmail.com> wrote:
> Hi,

> Looks like a bug caused by R332
> http://code.google.com/p/recastnavigation/source/detail?r=332
> I moved the portal calculations a bit higher up.

> I think it might come from border vertex removal, it probably does not
> preserve the portal flags.

> --mikko

> On Sat, Mar 24, 2012 at 12:38 AM, Stephen Pratt <steve...@gmail.com>
> wrote:
> > Hi All,

> > I've been using Recast to successfully build tiled meshes for several
> > months.  Recently I upgraded my version of Recast and now have problems
> > where portals between tiles are being erroneously marked as
> > solid...sometimes.  While I don't yet know the exact trigger, I do know
> that
> > it has to do with the Recast build process (not Detour) and that the
> problem
> > goes away completely if I fall back to the earlier Recast version.

> > The version upgrade was from r312 (September 2011) to r335 (March 2012).

> > Here is an example of the problem using a plane with a box.

> > Plane size: 100x100 world units.
> > Cell Size: 0.1

> > Tile Size: 128
> > Border Size: 7  (Various border sizes tried.)
> > Walkable Radius: 4

> > In the images, the bounding boxes represent tile size + border size.

> > In this first image I've built a section of the plane without the box.
> As
> > you can see, everything is fine.

> > Simple Plane - No Problem

> > In this next image, I've moved the box into one of the tiles.  Suddenly
> one
> > of the portals changes to a solid boundary. (Red)

> > Simple Plane - Tile Portal Error

> > I can see in my debug visualizations that this happening in the PolyMesh
> > object.  Anywhere from zero to four of the portals will become solid as I
> > move the box around.  Adjusting the boundary size effects which portals
> > become solid, but the problem never goes away.

> > The problem goes away when I export the geometry and build it in the
> Recast
> > Demo.  So the trigger is somewhere in my build process. But no luck
> tracking
> > it down so far.

> > Any ideas where I can look for the source of this type of problem?

> > -Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.