Cool VL Viewer forum
http://sldev.free.fr/forum/

Pathfinding/navmesh support
http://sldev.free.fr/forum/viewtopic.php?f=6&t=887
Page 1 of 1

Author:  Henri Beauchamp [ 2012-08-11 10:46:04 ]
Post subject:  Pathfinding/navmesh support

With v1.26.4.24 and v1.26.5.3, the Cool VL Viewer starts supporting pathfinding/navmesh.

This is for now just a minimal support, but more will come in the next releases.

Beside the LSL functions related with pathfinding (that were already supported in previous releases), the following has been added:
  • The viewer was made aware about the new pathfinding/navmesh objects attributes ("Character" and "Permanent" objects) and takes them into account/reports them:
    • You can't break "Permanent" objects while editing them with the build tools.
    • Pathfinding/navmesh attributes are reported, when they exist, in both the Build and the Inspect floaters, next to (Build floater) or as a tool-tip for (Inspect floater) this icon:
      Attachment:
      nav_mesh_info.png
      nav_mesh_info.png [ 451 Bytes | Viewed 2353 times ]
    • Pathfinding/navmesh attributes are also shown in the hover-tips.
    • "Character" and "Permanent" beacon types were added to the "Beacons and highlights" floater ("View" -> "Beacons"), allowing to easily spot the objects with the corresponding attributes.
  • Whenever a pathfinding-enabled region is using dynamic pathfinding but got it disabled, this icon is displayed in the status bar, together with the parcel icons:
    Attachment:
    status_no_path_finding.png
    status_no_path_finding.png [ 549 Bytes | Viewed 2353 times ]

Author:  Henri Beauchamp [ 2012-08-18 13:52:47 ]
Post subject:  Re: Pathfinding/navmesh support

As usual, the Cool VL Viewer is the first v1-UI viewer to provide you with the newest features backported from the v3 viewer (and even not all v3-based TPVs are providing those features !).

The pathfinding/navmesh tools have been fully implemented into the Cool VL Viewer v1.26.4.25 and v1.26.5.4, with the exception of the navmesh rendering (that depends on a closed source library based off Havok's).

The viewer can now send rebake requests to a region; when such a rebake is needed, a "dirty navmesh" icon (see the attached picture below) appears in the status bar and if you can build in that rergion a "Rebake Region" button appears in the overlay bar.

Two floaters were added, that you can open from the "Tools" menu: the "Pathfinding Characters" floater and the "Pathfinding Linksets" floater. They are the same floaters as the ones found in the v3.4 viewer, with the exception of the missing "Physics capsule" check box in the "Pathfinding Characters" floater (the Havok library being needed to render these "capsules").

Note that the backported code was also hardened against bogus server messages (that the original code simply 'dealt' with by voluntarily crashing the viewer !), with proper warnings in the log and adequate fall through code to avoid crashes or other dire consequences.

Enjoy ! :D

Attachments:
File comment: Status bar dirty navmesh indicator
status_dirty_nav_mesh.png
status_dirty_nav_mesh.png [ 536 Bytes | Viewed 2259 times ]

Author:  Henri Beauchamp [ 2012-08-25 14:27:55 ]
Post subject:  Re: Pathfinding/navmesh support

In today's releases (v1.26.4.26 and v1.26.5.5), the newest pathfinding tools updates from viewer-pathfinding v3.4 have been backported, with new notifications in case of conflictual attribute changes, and a new "Scripts" column in the Pathfinding Linksets floater. Note that since the servers currently do not send the corresponding info (i.e. whether the pathfinding linksets are scripted or not), I made it so that the column in question is auto-resized to 0 when no info is available (i.e. it will not show till the servers are updated).

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/