News Forums RAIN General Discussion and Troubleshooting Nav Mesh Problem

Tagged: 

This topic contains 6 replies, has 3 voices, and was last updated by  prime 1 year, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4573

    nomax5
    Participant

    I have a probelm with creating NavMesh, as usual it may be me being thick

    okay I create a new project
    create a plane
    Reset the plane (click the little cog in inspector)
    Make it x = 50 Y = 1 and Z= 50 (50 by 50)
    its on the Default Layer
    Create a directional light

    RAIN meu at the top Create NavMesh (New black inspector window appears)
    I leave the defaults
    Size 20
    Display mode NavigationMesh
    Include Layers Everything
    Max Slope 45
    Walkable Height 2
    Walkable Redius 0.55
    Step height 0.75
    Cell size 0.1

    Click Generate NavMesh (take a couple of seconds)
    it generates a tiny navmesh in the middle

    So I’m thinking its made size 20 cell size 0.1 = a 2 by 2 nav mesh

    So okay I’ll make the cell size 1 instead of 0.1
    Generate navMesh and basically no change still small

    So I think Okay I’ll set the Cell size back to 0.1
    and make the size 200

    Click generate NavMesh and OVER 4 minutes later its made it

    Now I have a Big F-off PC - it weighs 6 stone with 2 GeForce GTX 480 cards
    I’ll cut n paste some dxDiag below I can give you full dxDiag text if it will help
    What am I doing Wrong??

    Machine name: ALIEN
    Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)
    Language: English (Regional Setting: English)
    System Manufacturer: Alienware
    System Model: Area 51
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz (12 CPUs), ~3.3GHz
    Memory: 12288MB RAM
    Available OS Memory: 12278MB RAM
    Page File: 5259MB used, 19296MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11

    2 monitors and 2 Graphics cards

    Card name: NVIDIA GeForce GTX 480
    Manufacturer: NVIDIA
    Chip type: GeForce GTX 480
    Display Memory: 4063 MB
    Dedicated Memory: 1503 MB
    Shared Memory: 2559 MB
    Current Mode: 1920 x 1080 (32 bit) (59Hz)
    Monitor Name: LG M2794DP(Digital)
    Monitor Model: M2794DP
    Monitor Id: GSM5703
    Native Mode: 1920 x 1080(p) (59.934Hz)

    #4574

    prime
    Keymaster

    A couple of things there:

    There are two ways to adjust the size of the NavMesh:
    1) Increase the size directly on the NavMesh
    2) Change the scale of the game object the NavMesh is attached to.

    We normally use option 2, because that also let’s you change the shape.

    Cell size represents the granularity of the NavMesh, and has a big impact on generation time. The smaller the cell size, the longer it will take. On a flat plane you could increase the size significantly (try 1) and speed up generation. If you have complex geometry and want a very precise mesh, a number like 0.1 is usualy about right.

    As for the speed issue - generating a NavMesh at .1 cell size over a large area will take a while, even if the area is a flat plane. However, we’ve got speed improvements in the works that didn’t quite make it into the initial release. The improvements will be significant and will bring the time down noticeably. We’ll put the patch out through our new update system as soon as it is ready.

    Thanks!

    #4591

    nomax5
    Participant

    Thankyou scaling the NavMesh object works really well

    #4700

    nomax5
    Participant

    Sorry to resurrect this one but I think there is a problem

    I’ve been conduction many experiments to try and identify exactly what the problem is.

    Rather than try to explain what my settings are etc. I’ve recorded a video so you can see what the settings are and what is happening

    I’ve not recorded a video for a while so please bare with the quality till I get into the swing again. the audio might be low because I was getting background noise

    I’ll delete it when its served its purpose.

    #4712

    prime
    Keymaster

    Thanks for the vid @nomax5. I couldn’t hear what you were saying, but I guess the general notion is that things are too slow. The upgrades we are working on will help tremendously, both with overall speed and with being able to cancel.

    • This reply was modified 1 year, 8 months ago by  prime.
    #5165

    loadexfa
    Participant

    Were the speed improvements included in version 2.6? I’m checking because generating a navmesh is still extremely slow for me (I force quit after letting it run for hours). Let me know if you’d like more details or if I should just wait for a newer version with speed improvements.

    #5204

    prime
    Keymaster

    No, speed improvements were not included. We’re trying to get them into the next patch.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.