Commit Graph
164 Commits
Author SHA1 Message Date
Mikko Mononen 00edec6ffb - dtCrowd API Changed!
- finalizeSlicedFindPathPartial() returns best if no existing match found
- refactored crowd move requests
- removed adjustMoveTarget()
- added requestMoveVelocity() and resetMoveTarget()
- improved path replanning robustness
- added move visualization to crowd tool
2012-05-31 09:07:54 +00:00
Mikko Mononen 6aa8b1d989 Fix for missing tiles in navmesh. 2012-05-19 09:21:08 +00:00
Mikko Mononen 76e2dcfc6d Fix for issue 197. 2012-04-01 10:07:21 +00:00
Mikko Mononen cd3a68dd9b Random polygon selection for Detour. 2012-02-27 07:17:51 +00:00
Mikko Mononen e6b1d141d2 Fixed warnings when compiling with -Wshadow. 2012-02-22 17:25:46 +00:00
Mikko Mononen 98eee7e23a Fix for tile cache merge polys, fix for temp obstacle handleUpdate() (call base class). 2012-02-07 16:04:08 +00:00
Mikko Mononen 336409d037 Added tool states, Crowd can be let run in the BG while changing mesh, Added off-mesh connection support for tile cache, Fixed tile cache area generation, Added debugdraw for tile cache build steps, Migrated to Xcode4. 2012-02-04 21:27:07 +00:00
Mikko Mononen 4748710177 Missign files from tile cache update. 2011-11-17 19:28:49 +00:00
Cameron hart 588d674c72 Made NavMeshPruneTool case consistent with other classes. 2011-10-03 19:38:24 +00:00
Mikko Mononen 54e0e86ff2 Added simple Detour navmesh flood fill and prune tool. 2011-09-11 11:08:55 +00:00
Mikko Mononen 751cf50af8 Sample_TileMesh::buildTileMesh() was returning false instead of 0. 2011-09-04 12:39:53 +00:00
Mikko Mononen 1b6ca5a94a Fixed findStraightPath() to return partial results. Fixed main.cpp FPS throttling. Added initial support for path replanning in DetourCrowd. 2011-08-01 10:48:56 +00:00
Mikko Mononen 4ca8b91653 Updated win32 project. 2011-04-19 05:47:55 +00:00
Mikko Mononen 9902efc845 TileCache progress: Moved tile cache to Detour and made proper class for it. Better obstacles and tile layer management. 2011-04-16 07:57:50 +00:00
Mikko Mononen 76444aa747 - Updated win32 project
- Fixed VC compile errors
2011-03-25 10:13:27 +00:00
Mikko Mononen 1de5e2f119 DETOUR API CHANGE!
- Detour Navmesh supports layers
- Allow to disable Navmesh BV-tree
- Added DetourTileCache
- Cleaned up Recast layer code
- Moved portal edge detection to Recast
- Removed polymesh border offset
- Removed lean heighfield
2011-03-25 09:16:38 +00:00
Mikko Mononen 838d0657bd Temp fix for neighbour rendering. 2011-03-15 07:31:52 +00:00
Mikko Mononen 4be11d07f8 Fixed bug in edge generation (also appears in regular side). Added portal edge detection. Adjusted layer related debug draw. 2011-03-11 20:22:22 +00:00
Mikko Mononen b6a93f063a Removed layer portals, added cons, which stores connectivity and portals. Layer heights is stored as bytes. 2011-03-11 15:12:15 +00:00
Mikko Mononen 9f2390e196 Added mipmaps to the grid texture. Removed obsolete SoloMeshTiled sample. 2011-03-06 16:00:04 +00:00
Mikko Mononen e84d563bfe Added boxmapped texturing to input mesh, helps visualize it better. Added polymesh generation for layered heighfields. 2011-03-06 15:40:33 +00:00
Mikko Mononen 6cb0413cc7 Layer progress: Fixed reg building with multiple areas. Added contour generation. 2011-03-06 08:26:55 +00:00
Mikko Mononen ce6f2a52fc Fixed mem leaks with layers. Added layer region generation test. 2011-02-27 20:39:17 +00:00
Mikko Mononen f140c3962d Heighfield Layer progress. 2011-02-26 15:05:21 +00:00
Mikko Mononen d1dde08d35 Added delay to make sure the app does not hog all CPU. 2011-02-25 08:24:30 +00:00
Mikko Mononen fdb4ad30f7 getPolyWallSegments can return both walls and portals. Added userData pointer to dtCrowdAgent. 2011-02-11 08:43:05 +00:00
Mikko Mononen 496ee57897 Added userData pointer for dtCrowdAgent. 2011-02-06 13:13:42 +00:00
Mikko Mononen 5b4f8b6047 Allow different obstacle avoidance parameters. Changed update flags to be per agent, not per crowd. Added optional separation to steering. Added UI to change obstacle avoidance quality. 2011-02-06 12:52:08 +00:00
Mikko Mononen 98e7390ba0 Fix for issue 155 2011-02-03 09:32:55 +00:00
Mikko Mononen 0ede4bca39 Fix for issue 156 2011-02-03 09:23:45 +00:00
Mikko Mononen 6271b40ae6 Updated VC project and fixed compile warnings. 2011-01-31 07:33:01 +00:00
Mikko Mononen 070d591aa8 Fixed tool update on temp obstacle sample. 2011-01-30 20:57:33 +00:00
Mikko Mononen 6c6a62e3b1 Replaced liblzf with fastlz. 2011-01-30 19:52:10 +00:00
Mikko Mononen 7f2696cbbf First implementation of DetourCrowd off-mesh connection handling. 2011-01-30 17:11:20 +00:00
Mikko Mononen e70a4664c9 Added multisampling. Moved obstacle avoidance to DetourCrowd. 2011-01-29 15:39:42 +00:00
Mikko Mononen 4a81213b3b Refactored and cleaned up CrowdManager and moved it to DetourCrowd. Update tool UI layout, context sensitive help is now rendered as overlay. 2011-01-29 15:28:28 +00:00
Mikko Mononen da00ac2b91 Timesliced temp obstacle processing. 2011-01-22 09:37:04 +00:00
Mikko Mononen 19b8a5f987 Missing Sample_TempObstacles.h/cpp 2011-01-14 15:54:16 +00:00
Mikko Mononen 2f47c29336 Added lean heighfield to store minimal, easy to compress representation of the heightfield. Added temporary obstacle demo. 2011-01-14 10:55:37 +00:00
Mikko Mononen 08741e894c DETOUR return status codes changed, check blog! Changed Detour status codes to be bitfields which describes the highlevel status plus some details about the failure or quality of the result. 2010-11-26 11:56:34 +00:00
Mikko Mononen 1be9de72d8 Detour version change! Added user ID per off-mesh connection. Fixed off-mesh connection draw flags after using off-mesh con tool. 2010-11-07 15:21:38 +00:00
Mikko Mononen ccf401d3da - added finalizeSlicedFindPathPartial()
- added handleStep()/handleToggle() to samples
- changed how crowds are rendered
- added path topology optimization step
2010-11-07 10:56:48 +00:00
Mikko Mononen e5d603ac92 **API CHANGED** Implemented issue 124. Detour API returns error codes. 2010-10-29 12:08:13 +00:00
Mikko Mononen 30b581b67d Simplified crowd tool UI. 2010-10-29 08:24:09 +00:00
Mikko Mononen aa18cf4a8d Tiny fix for imgui drawing. Implemented adjusting of the moving target without path finding. 2010-10-29 07:28:20 +00:00
Mikko Mononen cd52997c48 Fix for issue 133. 2010-10-23 10:52:12 +00:00
Mikko Mononen ed7205308d Made some buffer sizes runtime configurable. 2010-10-23 09:19:26 +00:00
Mikko Mononen 7f84699bfe Cleaned up and simplified Detour obst. avoidance. Simplified path corridor, spinned off LocalBoundary to manage edge segs. 2010-10-20 17:13:47 +00:00
Mikko Mononen 7774a7f45d Adaptive sampling uses rotated circluar grid. Handles tight spots better. 2010-10-15 13:49:26 +00:00
Mikko Mononen 43a79f600f Fix for earlier raycast speed up and another speedup. 2010-10-15 13:00:18 +00:00