Commit Graph

  • 193f44a388 Issue 61: take 2, missing files. Mikko Mononen 2010-04-13 10:58:18 +00:00
  • 9bb95ef45b Issue 61: Everything compiles now without errors in warning level 4. Mikko Mononen 2010-04-13 09:39:33 +00:00
  • 1d8c7dac84 Issue 60: fixed end of path issues in findStraightPath(). Mikko Mononen 2010-04-13 07:38:57 +00:00
  • 77cc2b9eef Update VC9 project, VC compiler fixes. Mikko Mononen 2010-03-30 07:04:07 +00:00
  • 5119b5cb16 API CHANGE! Better serialization support. Mikko Mononen 2010-03-25 12:24:40 +00:00
  • ca6bbf1889 Fix for Issue 57: snprintf undefined on win32 Mikko Mononen 2010-03-24 08:06:53 +00:00
  • a988697cc1 fixes for Issue 56: Fairly minor bugs picked up by static analysis tool, redux Mikko Mononen 2010-03-18 08:57:16 +00:00
  • 9cd943264e fixes for Issue 56: Fairly minor bugs picked up by static analysis tool Mikko Mononen 2010-03-18 08:53:45 +00:00
  • 8291ceace2 Fix for Issue 54: Bug when a non-shared vertex is marked for remove Mikko Mononen 2010-03-18 08:42:45 +00:00
  • 70c17e8212 Fix for Issue 55: Negative array access in dtNavMesh::raycast() Mikko Mononen 2010-03-18 08:06:12 +00:00
  • 21f76bc0a5 Fixed hadling of negative tile indices. Made findStraightPath a tiny bit simpler. Mikko Mononen 2010-03-08 09:43:16 +00:00
  • d9d9fa85a5 Added more bits to compact neighbour indices, moved region id to rcCompactSpan to save memory. Mikko Mononen 2010-03-05 09:10:13 +00:00
  • ababd28f59 Issue 51: crash when poly nvp is change to smaller after first build. Mikko Mononen 2010-03-02 10:05:04 +00:00
  • 359f15b11c Moved pointers from dtMeshHeader to dtMeshTile, allows mixing build/use 32/64 bit builds. Bumbed Detour version number. Mikko Mononen 2010-03-02 09:24:24 +00:00
  • b50aecfa51 Removed cump code from solo test. Mikko Mononen 2010-03-01 08:25:59 +00:00
  • af0d41f5ff Compact heighfield dump and debug project to load it. Mikko Mononen 2010-03-01 08:22:50 +00:00
  • dbf95000e6 fix for issues 48 and 49. Mikko Mononen 2010-02-20 17:53:04 +00:00
  • e51b31dab4 Made A-star cost admissible, fixed previous visib bug, commented path finder code, rearranged tests for readability. Mikko Mononen 2010-02-16 18:43:04 +00:00
  • 095c9a544f Changed null to 0, fix compilation on linux. Mikko Mononen 2010-02-16 08:49:32 +00:00
  • e0fe72ebb0 small change to display list Mikko Mononen 2010-02-16 08:48:21 +00:00
  • f02c123001 debug draw display list class. Mikko Mononen 2010-02-16 08:45:42 +00:00
  • deb7f0e0f8 uninitialized tile color. Mikko Mononen 2010-02-16 08:39:17 +00:00
  • 6f066ba9ea polygon area getter/setter. Mikko Mononen 2010-02-12 15:14:38 +00:00
  • ce338df394 More robust handling of detail mesh height values. Mikko Mononen 2010-02-12 14:41:42 +00:00
  • dd5377a503 Moved rcAddSpan to public API. Mikko Mononen 2010-02-12 13:19:47 +00:00
  • 5ade5a3052 More robust path iteration code. Mikko Mononen 2010-02-12 13:04:55 +00:00
  • 668484eb14 Better handling of contour problems. Mikko Mononen 2010-02-12 10:25:28 +00:00
  • f6236c133d Added cost per poly. Added API to change poly flags. Optimized pathfinder. Mikko Mononen 2010-02-12 09:29:09 +00:00
  • 1eaf28c548 Missing files for ConvexVolumeTool. Mikko Mononen 2010-02-09 16:15:54 +00:00
  • 4d778cbf39 Area progress: Pass area type and ability flags to recast. Convex Area tool. Mark chf with convex volumes. Better visualization of volumes. Mikko Mononen 2010-02-05 16:19:50 +00:00
  • a715e9a5f7 Area progress: Pass area type and ability flags to recast. Convex Area tool. Mark chf with convex volumes. Better visualization of volumes. Mikko Mononen 2010-02-05 16:15:49 +00:00
  • 8561fb6d00 Updated stb_truetype, fixed compiler warnings. Compiles with -Wall now. Mikko Mononen 2010-02-05 08:01:30 +00:00
  • fa66b9a9f3 Compiles with -Wall (except stb_truetype) Mikko Mononen 2010-02-05 07:32:30 +00:00
  • 9c5b541b00 Enabled more warnings on xcode project. Issue 39: GCC compiler warnings Mikko Mononen 2010-02-05 07:26:23 +00:00
  • be4a807242 fix for Issue 40: RecastMesh.cpp : removeVertex bad indexing Mikko Mononen 2010-02-05 06:50:08 +00:00
  • f839fb080a NOTE: Changed the generation procedure, see samples! Erode walkable area before area is generated. Allow to mark areas on chf. Generate regions following areas (+ many fixes here and there to make it alwasy work). Part 2 Mikko Mononen 2010-02-01 14:58:30 +00:00
  • 9035462e86 rcBuildRegionsMonotone works again too. Mikko Mononen 2010-02-01 14:57:26 +00:00
  • 9b881bde8c NOTE: Changed the generation procedure, see samples! Erode walkable area before area is generated. Allow to mark areas on chf. Generate regions following areas (+ many fixes here and there to make it alwasy work). Mikko Mononen 2010-02-01 14:08:06 +00:00
  • 139409c645 Fix for Issue 37: Endian swap routines are incorrect Mikko Mononen 2010-02-01 10:30:30 +00:00
  • 1753297fd5 Humble beginnings of box volume too. Allow to save and restore GeomInput state. Mikko Mononen 2010-01-29 13:58:36 +00:00
  • d6a5eb5ee2 Climb height to int should floor not ceil. Mikko Mononen 2010-01-29 13:02:54 +00:00
  • 9bf68216a3 Better handling of low obstacles. Mikko Mononen 2010-01-29 11:37:14 +00:00
  • bd2e60a008 Humble beginnings of test cases. Mikko Mononen 2010-01-28 15:04:01 +00:00
  • 3648ebe765 Updated win32 project, compile fixes. Mikko Mononen 2010-01-28 13:53:23 +00:00
  • 1202ee641a Removed debug printfs. Mikko Mononen 2010-01-28 10:18:12 +00:00
  • 531d655ff6 Off-Mesh connection direction now actually works. Mikko Mononen 2010-01-28 08:37:56 +00:00
  • 4d3be029d7 Endianess conversion routines for navmesh data. Mikko Mononen 2010-01-27 15:37:48 +00:00
  • 5651b7c5dd Changed many 0xffff:s to named consts. Mikko Mononen 2010-01-27 14:52:18 +00:00
  • 4cb96e9dc0 Better documentation of navmesh header. Mikko Mononen 2010-01-27 14:30:43 +00:00
  • a56bf3ec2d Off-Mesh connections across tile boundaries. Fixed getPolysAround(). Detour links per poly use linked list. Adjusted off-mesh connection tool. Mikko Mononen 2010-01-26 12:48:58 +00:00
  • e973b71d4b More polygons flags. Added filter for Detour queries. Mikko Mononen 2010-01-19 15:13:33 +00:00
  • fe1a62db22 Draw off-mesh connections over/after navmesh edges. Fixed bvtree size issue (was not decoded correctly on mesh add). Mikko Mononen 2010-01-19 14:29:01 +00:00
  • 3abbfe006d Changed Detour header var names more to verbose. Pass params as a struct to dtCreateNavMeshData. Named Off-mesh links to Off-mesh connections. Cleaned up Off-mesh connection code and samples. Added connection radius and direction to Off-mesh connections. Agent dimensions passed store in navmesh header. Mikko Mononen 2010-01-19 14:22:48 +00:00
  • da9dec1eef Sped up off-mesh link connection process. Mikko Mononen 2010-01-13 21:32:28 +00:00
  • a81223f3bb Update path iterator code to cope with off-mesh links. findStraightPath() returns now more info so that off-mesh links can de detected. Mikko Mononen 2010-01-13 21:25:07 +00:00
  • 4ad8dafa40 Off-Mesh link progress (not fully working). Mikko Mononen 2010-01-10 17:21:01 +00:00
  • 5c4f1ed0bd Off-Mesh Link progress (not fully working). Mikko Mononen 2010-01-10 17:19:02 +00:00
  • 6c76919ab9 Moved common debugdraw code to DebugDraw.h/cpp, changed API to allow uint colors. Mikko Mononen 2010-01-10 17:17:47 +00:00
  • 44b6c54c57 Fixed too large memory alloc in rcBuildPolyMesh. Mikko Mononen 2010-01-10 17:16:33 +00:00
  • c897eaedb8 Issue 32: Fixed crash in Sample_TileMesh. Mikko Mononen 2010-01-06 10:40:05 +00:00
  • eb6b215d23 Changed the sample stuff to support extra link tool. Added simple tool to create eextra links (no detour support yet). Mikko Mononen 2010-01-05 14:26:40 +00:00
  • 57c70704d8 Missing files from NavMeshTesterTool. Mikko Mononen 2009-12-30 16:27:11 +00:00
  • 4934dc2065 Refactored sample code. Separated navmesh test code to a tool class. Mikko Mononen 2009-12-30 08:49:46 +00:00
  • 5daf3f8157 raycast resturns hit normal. Mikko Mononen 2009-12-21 10:48:27 +00:00
  • 021880fe92 Updated VC project to contain Detour merge. Some debug draw code was still passing number of primitives to draw to the DD, removed those. Mikko Mononen 2009-12-21 08:14:01 +00:00
  • 41061699d6 Missing debug utils files. Mikko Mononen 2009-12-09 16:45:57 +00:00
  • a73da5e966 Moved all debug draw utilities to DebugUtils folder. Added recast data to .obj dump functions. Mikko Mononen 2009-12-09 15:45:10 +00:00
  • 121807b601 Fixed Issue 27: RecastMeshDetail.cpp:buildPolyDetail: Unused parameter: reg Mikko Mononen 2009-12-07 09:53:41 +00:00
  • 8d146ade90 Fixed Issue 26: RecastMeshDetail.cpp: updateLeftFace: t parameter is unused. Mikko Mononen 2009-12-07 09:52:07 +00:00
  • 113ba0aaae Fox for Issue 25: RecastMeshDetail.cpp:buildPolyDetail: Uneeded line of code. Mikko Mononen 2009-12-07 09:48:23 +00:00
  • b4a0dc6e7f Commented dtNavMesh header. Mikko Mononen 2009-12-04 07:45:05 +00:00
  • e4239a3bdf Removed stat and tile navmeshes. Fixed examples. Mikko Mononen 2009-12-04 07:27:53 +00:00
  • 6a00efb936 Compile fixes for VC. Update VC project. Mikko Mononen 2009-12-03 16:28:27 +00:00
  • a47e3436c9 Changed static navmesh samples to use new navmesh. Renamed Stat samples to Solo. Added moveAlongPathCorridor() to dtNavMesh. Mikko Mononen 2009-12-03 13:16:25 +00:00
  • d142754ad5 Fixed crash in rcBuildPolyMesh() when one of the contours had zero vertices. Mikko Mononen 2009-11-25 15:21:49 +00:00
  • f77a7511ed Detail mesh is calculated in tile local coordinates for better floating point accuracy. Mikko Mononen 2009-11-23 08:44:01 +00:00
  • 7b7f0e6fb9 Removed ununsed dialtion code from detail mesh getHeightData(). Mikko Mononen 2009-11-23 08:34:39 +00:00
  • 753ebdc319 Issue 20: removed unused variable from mergePolys() function. Mikko Mononen 2009-11-20 13:47:15 +00:00
  • ab023b1700 Added dtNavMesh, which is combination of dtStatNavMesh and dtTiledNavMesh. Added Sample_DynMesh which is used for dtNavMesh testing for now. Mikko Mononen 2009-11-20 13:26:13 +00:00
  • 3a8b259bd2 Align all data chunks in the navmesh data to 4 bytes. Mikko Mononen 2009-11-20 08:29:03 +00:00
  • b93bd10fa4 Fixed a couple of bounds checks in detail mesh height query. Mikko Mononen 2009-11-20 08:15:09 +00:00
  • 5ecdda0a18 Documented debug draw iface. Mikko Mononen 2009-11-15 15:40:17 +00:00
  • 480063229d Removed rcMarkReachableSpans(), added RC_LEDGE flag, made rcFilterLedgeSpans() to add RC_LEDGE flags instead of removing RC_WALKABLE flag. Voxel debugdraw colors voxels based on flags. Added debug draw interface. Mikko Mononen 2009-11-15 15:30:54 +00:00
  • 14d1c97f1a Added RC_NOT_CONNECTED which is used to check the return value of rcGetCon() Mikko Mononen 2009-11-15 11:24:20 +00:00
  • f29a51b612 Changed SDL_Opengl.h to SDL_opengl.h Mikko Mononen 2009-11-15 10:32:05 +00:00
  • 2ef0db50c0 Issue 16 in recastnavigation: RecastContour.ccp : removeDegenerateSegments() : Contour vertex list left in invalid state. Mikko Mononen 2009-11-09 17:57:19 +00:00
  • ecb01d3441 Added functions to rasterize index mesh based in ushort indices and function which is equivalent to ogl drawArrays. Mikko Mononen 2009-10-23 13:41:48 +00:00
  • aa62a15161 Rewrote the delaunay triangulation code of the detail mesh generation. Fixed some cases where detail mesh height was bad. Mikko Mononen 2009-10-23 13:02:10 +00:00
  • 02477f981f Fixed crash in case building malformed detail mesh data. Mikko Mononen 2009-10-23 12:54:28 +00:00
  • 6e8581400a Fixed bug where removeVertex() would crash with certain meshes because vflags array was not adjusted properly. Mikko Mononen 2009-10-04 16:12:37 +00:00
  • 1a87422676 Fixed case on opengl include dir. Mikko Mononen 2009-10-01 20:38:11 +00:00
  • 587dfb80f8 Path finder was not clearing closed flag properly. Mikko Mononen 2009-10-01 20:37:08 +00:00
  • ed73b46308 - Changed gotos as cleanup mechanism to a scoped delete template. - Removed unnecessary ptr casts to ints to allow to compile on 64bits systems. - Added custom and portable qsort_r. - Use gettimeofday() as performance timer on unix/bsd/osx - Moved variables from rcCompactSpan to separate arrays. Mikko Mononen 2009-09-28 09:54:37 +00:00
  • 404491901a Fixed Issue 10: clipping during rasterization. Mikko Mononen 2009-09-04 06:47:42 +00:00
  • 5fc5626938 Log is printed to stdout after build. Fixed tile data deletion in tilenavmesh (thanks jswigart). Adjusted default border size in tiled versions. Added experimental monotone region builder. Mikko Mononen 2009-08-27 09:01:15 +00:00
  • 40b8b093a3 Updated readme.txt Mikko Mononen 2009-08-24 13:27:18 +00:00
  • d2c7d8640b OSX binary. Mikko Mononen 2009-08-24 13:22:26 +00:00
  • c3e9d7fcb3 Win32 binary and VC compile fixes. Mikko Mononen 2009-08-24 13:20:15 +00:00
  • f142f33415 Few debugdraw tweaks. Commented some magic flags. Mikko Mononen 2009-08-24 13:04:12 +00:00
  • 6de4d30705 Monster update which adds detail height meshes. - Added detail height mesh generation (RecastDetailMesh.cpp) for single,tiled statmeshes as well as tilemesh. - Added feature to contour tracing which detects extra vertices along tile edges which should be removed later. - Changed the tiled stat mesh preprocess, so that it first generated polymeshes per tile and finally combines them. - Fixed bug in the GUI code where invisible buttons could be pressed. Mikko Mononen 2009-08-24 12:44:44 +00:00