Readme.txt 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Recast & Detour Version 1.4
  2. Recast
  3. Recast is state of the art navigation mesh construction toolset for games.
  4. * It is automatic, which means that you can throw any level geometry
  5. at it and you will get robust mesh out
  6. * It is fast which means swift turnaround times for level designers
  7. * It is open source so it comes with full source and you can
  8. customize it to your hearts content.
  9. The Recast process starts with constructing a voxel mold from a level geometry
  10. and then casting a navigation mesh over it. The process consists of three steps,
  11. building the voxel mold, partitioning the mold into simple regions, peeling off
  12. the regions as simple polygons.
  13. 1. The voxel mold is build from the input triangle mesh by rasterizing
  14. the triangles into a multi-layer heightfield. Some simple filters are
  15. then applied to the mold to prune out locations where the character
  16. would not be able to move.
  17. 2. The walkable areas described by the mold are divided into simple
  18. overlayed 2D regions. The resulting regions have only one non-overlapping
  19. contour, which simplifies the final step of the process tremendously.
  20. 3. The navigation polygons are peeled off from the regions by first tracing
  21. the boundaries and then simplifying them. The resulting polygons are
  22. finally converted to convex polygons which makes them perfect for
  23. pathfinding and spatial reasoning about the level.
  24. The toolset code is located in the Recast folder and demo application using the Recast
  25. toolset is located in the RecastDemo folder.
  26. The project files with this distribution can be compiled with Microsoft Visual C++ 2008
  27. (you can download it for free) and XCode 3.1.
  28. Detour
  29. Recast is accompanied with Detour, path-finding and spatial reasoning toolkit. You can use any navigation mesh with Detour, but of course the data generated with Recast fits perfectly.
  30. Detour offers simple static navigation mesh which is suitable for many simple cases, as well as tiled navigation mesh which allows you to plug in and out pieces of the mesh. The tiled mesh allows to create systems where you stream new navigation data in and out as the player progresses the level, or you may regenerate tiles as the world changes.
  31. Latest code available at http://code.google.com/p/recastnavigation/
  32. --
  33. Release Notes
  34. ----------------
  35. * Recast 1.4
  36. Released August 24th, 2009
  37. - Added detail height mesh generation (RecastDetailMesh.cpp) for single,
  38. tiled statmeshes as well as tilemesh.
  39. - Added feature to contour tracing which detects extra vertices along
  40. tile edges which should be removed later.
  41. - Changed the tiled stat mesh preprocess, so that it first generated
  42. polymeshes per tile and finally combines them.
  43. - Fixed bug in the GUI code where invisible buttons could be pressed.
  44. ----------------
  45. * Recast 1.31
  46. Released July 24th, 2009
  47. - Better cost and heuristic functions.
  48. - Fixed tile navmesh raycast on tile borders.
  49. ----------------
  50. * Recast 1.3
  51. Released July 14th, 2009
  52. - Added dtTileNavMesh which allows to dynamically add and remove navmesh pieces at runtime.
  53. - Renamed stat navmesh types to dtStat* (i.e. dtPoly is now dtStatPoly).
  54. - Moved common code used by tile and stat navmesh to DetourNode.h/cpp and DetourCommon.h/cpp.
  55. - Refactores the demo code.
  56. ----------------
  57. * Recast 1.2
  58. Released June 17th, 2009
  59. - Added tiled mesh generation. The tiled generation allows to generate navigation for
  60. much larger worlds, it removes some of the artifacts that comes from distance fields
  61. in open areas, and allows later streaming and dynamic runtime generation
  62. - Improved and added some debug draw modes
  63. - API change: The helper function rcBuildNavMesh does not exists anymore,
  64. had to change few internal things to cope with the tiled processing,
  65. similar API functionality will be added later once the tiled process matures
  66. - The demo is getting way too complicated, need to split demos
  67. - Fixed several filtering functions so that the mesh is tighter to the geometry,
  68. sometimes there could be up error up to tow voxel units close to walls,
  69. now it should be just one.
  70. ----------------
  71. * Recast 1.1
  72. Released April 11th, 2009
  73. This is the first release of Detour.
  74. ----------------
  75. * Recast 1.0
  76. Released March 29th, 2009
  77. This is the first release of Recast.
  78. The process is not always as robust as I would wish. The watershed phase sometimes swallows tiny islands
  79. which are close to edges. These droppings are handled in rcBuildContours, but the code is not
  80. particularly robust either.
  81. Another non-robust case is when portal contours (contours shared between two regions) are always
  82. assumed to be straight. That can lead to overlapping contours specially when the level has
  83. large open areas.
  84. Mikko Mononen
  85. memon@inside.org