Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2021-12-07 18:19:26



Reply to topic  [ 3 posts ] 
Pathfinding/navmesh support 
Author Message

Joined: 2009-03-17 18:42:51
Posts: 4776
Reply with quote
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 1765 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 1765 times ]


2012-08-11 10:46:04
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 4776
Reply with quote
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 1671 times ]
2012-08-18 13:52:47
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 4776
Reply with quote
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).


2012-08-25 14:27:55
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.