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
Navmesh on the ceiling
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Resric  
View profile  
 More options Apr 3 2012, 10:28 pm
From: Resric <res...@gmail.com>
Date: Tue, 3 Apr 2012 19:28:01 -0700 (PDT)
Local: Tues, Apr 3 2012 10:28 pm
Subject: Navmesh on the ceiling

I'm coding with the XNA framework and the detail mesh that I end up with is
tracing the contour of the ceiling as if CAINav has up and down reversed.
I've tried tweaking the parameters (which are no longer named the same as
the config page) but they have no effect. Outside of an extremely small
range of values I don't even get a mesh.

Any particular areas I should focus on or sections of code I can paste that
would help?


 
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.
Stephen Pratt  
View profile  
 More options Apr 4 2012, 12:19 am
From: Stephen Pratt <steve...@gmail.com>
Date: Tue, 3 Apr 2012 22:19:01 -0600
Local: Wed, Apr 4 2012 12:19 am
Subject: Re: [CritterAI] Navmesh on the ceiling

Hi Resric,

It sounds like you may have the wrong wrap direction for the input
triangles.  Wrap direction is how NMGen detects the up-face.  The following
page includes a helpful visualization:

http://www.critterai.org/projects/cainav/doc/html/8a99e478-a235-49ef-...

If that isn't the problem, could you send me your configuration?  I can
check it for common issues.

Also, if you have a link to the page with the documentation errors I'll
take a look and get it fixed.

-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.
Resric  
View profile  
 More options Apr 4 2012, 12:17 pm
From: Resric <res...@gmail.com>
Date: Wed, 4 Apr 2012 09:17:43 -0700 (PDT)
Local: Wed, Apr 4 2012 12:17 pm
Subject: Re: [CritterAI] Navmesh on the ceiling

I hadn't seen that page so that is definitely my problem (at least one of
them) since my polys are CCW. I had suspected as much and tried simply
reversing the order of the indexes on all my polys, but that left me no
detail mesh. Is that the correct approach to change my winding?

http://www.critterai.org/nmgen_config

That link is probably correct as part of the Java study, but as a C#
reference the reader has a lot of matching up to do. Some of the parameters
don't seem to exist for C# and some have different types which seem to
contradict the suggested values I've seen. I've been trying to glean what I
can from the Unity sample but having never worked with the engine it is
slow going.


 
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.
Stephen Pratt  
View profile  
 More options Apr 4 2012, 1:21 pm
From: Stephen Pratt <steve...@gmail.com>
Date: Wed, 4 Apr 2012 11:21:37 -0600
Local: Wed, Apr 4 2012 1:21 pm
Subject: Re: [CritterAI] Navmesh on the ceiling

It all depends on your source format. Sometimes it's just a matter of
swapping indices.  Other times you'll need to flip an axis (usually the
x-axis) by multiplying its vertex values by -1. I often revert to good old
graph paper to help me figure out what to do when dealing with an
unfamiliar format.

That linked configuration document only applies to the Java study, which I
don't keep in synch with CAINav.  CAINav is moving forward while the Java
Study is pretty much frozen. The CAINav
documentation<http://www.critterai.org/projects/cainav/doc/Index.html>contains
an
*Introduction to NMGen -> Recommendations* page that provides some extra
information related to choosing configuration settings.

-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.
End of messages
« Back to Discussions « Newer topic     Older topic »