Pathing w/Recast + Detour - Potential issue - thoughts? menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pathing w/Recast + Detour - Potential issue - thoughts?

    All-

    So I thought I had this working properly but I'm seeing some strange results when I try to load my meshes into RecastDemo.

    This is tile 31_47 loaded in Azeroth (3x3 around 31_47), everything looks pretty ok:


    But then if I load 31_47 within a 3x3 around 32_48, it looks quite strange (maybe my generation of 32_48 + the 3x3 tiles around it didn't extend far enough, so it stretches far):


    And even more strange, here is if I load a 3x3 around 32_48 and try to load the nav mesh I created for each tile:


    This doesn't look normal - does anyone have any ideas on why this is happening? It seems like the bottom left and top right tile (of the last image) don't even have nav meshes.

    Here is what I'm generating them with:
    Code:
    #define m_cellSize (1.0f / 3.0f)
    #define m_cellHeight 0.3f
    
    #define m_agentHeight 1.652778f
    #define m_agentRadius 0.35f
    
    #define m_agentMaxClimb 1.0f
    #define m_agentMaxSlope 50.0f
    
    #define m_regionMinSize 8       // 20
    #define m_regionMergeSize 20    // 40
    
    #define m_edgeMaxLen 12.0f
    #define m_edgeMaxError 1.0f
    
    #define m_vertsPerPoly 6.0f
    #define m_detailSampleDist 3.0f
    #define m_detailSampleMaxError 1.0f
    
    #define m_tileSize 1600.0f
    
    #define m_keepInterResults false
    
    #define m_monotonePartitioning false
    And I do extend beyond the tile a bit by doing:
    Code:
        // we want to go over the tile's edge a bit!
        m_cfg.bmin[0] -= m_cfg.borderSize*m_cfg.cs;
        m_cfg.bmin[2] -= m_cfg.borderSize*m_cfg.cs;
        m_cfg.bmax[0] += m_cfg.borderSize*m_cfg.cs;
        m_cfg.bmax[2] += m_cfg.borderSize*m_cfg.cs;
    Note: I haven't tried to generate a path, I just assumed I did it wrong given recast is displaying it this way.

    Thoughts?

    Thanks in advance!
    ~ Tanaris
    https://tanaris4.com

    Pathing w/Recast + Detour - Potential issue - thoughts?

Similar Threads

  1. Replies: 32
    Last Post: 05-13-2022, 05:38 AM
  2. Recast/Detour - 16 tiles per ADT - Proper method to save/load?
    By Tanaris4 in forum WoW Memory Editing
    Replies: 5
    Last Post: 12-29-2011, 12:48 PM
  3. Recast + Detour - Connecting tiles
    By Tanaris4 in forum WoW Memory Editing
    Replies: 12
    Last Post: 12-21-2011, 04:04 PM
  4. Replies: 1
    Last Post: 12-12-2011, 02:31 AM
  5. [Link] C++ Recast/Detour Wrapper
    By Millow in forum WoW Memory Editing
    Replies: 11
    Last Post: 08-02-2011, 04:26 AM
All times are GMT -5. The time now is 01:55 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search