Mikko Mononen
c897eaedb8
Issue 32: Fixed crash in Sample_TileMesh.
2010-01-06 10:40:05 +00:00
Mikko Mononen
eb6b215d23
Changed the sample stuff to support extra link tool. Added simple tool to create eextra links (no detour support yet).
2010-01-05 14:26:40 +00:00
Mikko Mononen
57c70704d8
Missing files from NavMeshTesterTool.
2009-12-30 16:27:11 +00:00
Mikko Mononen
4934dc2065
Refactored sample code. Separated navmesh test code to a tool class.
2009-12-30 08:49:46 +00:00
Mikko Mononen
5daf3f8157
raycast resturns hit normal.
2009-12-21 10:48:27 +00:00
Mikko Mononen
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.
2009-12-21 08:14:01 +00:00
Mikko Mononen
41061699d6
Missing debug utils files.
2009-12-09 16:45:57 +00:00
Mikko Mononen
a73da5e966
Moved all debug draw utilities to DebugUtils folder. Added recast data to .obj dump functions.
2009-12-09 15:45:10 +00:00
Mikko Mononen
121807b601
Fixed Issue 27: RecastMeshDetail.cpp:buildPolyDetail: Unused parameter: reg
2009-12-07 09:53:41 +00:00
Mikko Mononen
8d146ade90
Fixed Issue 26: RecastMeshDetail.cpp: updateLeftFace: t parameter is unused.
2009-12-07 09:52:07 +00:00
Mikko Mononen
113ba0aaae
Fox for Issue 25: RecastMeshDetail.cpp:buildPolyDetail: Uneeded line of code.
2009-12-07 09:48:23 +00:00
Mikko Mononen
b4a0dc6e7f
Commented dtNavMesh header.
2009-12-04 07:45:05 +00:00
Mikko Mononen
e4239a3bdf
Removed stat and tile navmeshes. Fixed examples.
2009-12-04 07:27:53 +00:00
Mikko Mononen
6a00efb936
Compile fixes for VC. Update VC project.
2009-12-03 16:28:27 +00:00
Mikko Mononen
a47e3436c9
Changed static navmesh samples to use new navmesh. Renamed Stat samples to Solo. Added moveAlongPathCorridor() to dtNavMesh.
2009-12-03 13:16:25 +00:00
Mikko Mononen
d142754ad5
Fixed crash in rcBuildPolyMesh() when one of the contours had zero vertices.
2009-11-25 15:21:49 +00:00
Mikko Mononen
f77a7511ed
Detail mesh is calculated in tile local coordinates for better floating point accuracy.
2009-11-23 08:44:01 +00:00
Mikko Mononen
7b7f0e6fb9
Removed ununsed dialtion code from detail mesh getHeightData().
2009-11-23 08:34:39 +00:00
Mikko Mononen
753ebdc319
Issue 20: removed unused variable from mergePolys() function.
2009-11-20 13:47:15 +00:00
Mikko Mononen
ab023b1700
Added dtNavMesh, which is combination of dtStatNavMesh and dtTiledNavMesh. Added Sample_DynMesh which is used for dtNavMesh testing for now.
2009-11-20 13:26:13 +00:00
Mikko Mononen
3a8b259bd2
Align all data chunks in the navmesh data to 4 bytes.
2009-11-20 08:29:03 +00:00
Mikko Mononen
b93bd10fa4
Fixed a couple of bounds checks in detail mesh height query.
2009-11-20 08:15:09 +00:00
Mikko Mononen
5ecdda0a18
Documented debug draw iface.
2009-11-15 15:40:17 +00:00
Mikko Mononen
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.
2009-11-15 15:30:54 +00:00
Mikko Mononen
14d1c97f1a
Added RC_NOT_CONNECTED which is used to check the return value of rcGetCon()
2009-11-15 11:24:20 +00:00
Mikko Mononen
f29a51b612
Changed SDL_Opengl.h to SDL_opengl.h
2009-11-15 10:32:05 +00:00
Mikko Mononen
2ef0db50c0
Issue 16 in recastnavigation: RecastContour.ccp : removeDegenerateSegments() : Contour vertex list left in invalid state.
2009-11-09 17:57:19 +00:00
Mikko Mononen
ecb01d3441
Added functions to rasterize index mesh based in ushort indices and function which is equivalent to ogl drawArrays.
2009-10-23 13:41:48 +00:00
Mikko Mononen
aa62a15161
Rewrote the delaunay triangulation code of the detail mesh generation. Fixed some cases where detail mesh height was bad.
2009-10-23 13:02:10 +00:00
Mikko Mononen
02477f981f
Fixed crash in case building malformed detail mesh data.
2009-10-23 12:54:28 +00:00
Mikko Mononen
6e8581400a
Fixed bug where removeVertex() would crash with certain meshes because vflags array was not adjusted properly.
2009-10-04 16:12:37 +00:00
Mikko Mononen
1a87422676
Fixed case on opengl include dir.
2009-10-01 20:38:11 +00:00
Mikko Mononen
587dfb80f8
Path finder was not clearing closed flag properly.
2009-10-01 20:37:08 +00:00
Mikko Mononen
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.
2009-09-28 09:54:37 +00:00
Mikko Mononen
404491901a
Fixed Issue 10: clipping during rasterization.
2009-09-04 06:47:42 +00:00
Mikko Mononen
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.
2009-08-27 09:01:15 +00:00
Mikko Mononen
40b8b093a3
Updated readme.txt
2009-08-24 13:27:18 +00:00
Mikko Mononen
d2c7d8640b
OSX binary.
2009-08-24 13:22:26 +00:00
Mikko Mononen
c3e9d7fcb3
Win32 binary and VC compile fixes.
2009-08-24 13:20:15 +00:00
Mikko Mononen
f142f33415
Few debugdraw tweaks.
...
Commented some magic flags.
2009-08-24 13:04:12 +00:00
Mikko Mononen
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.
2009-08-24 12:44:44 +00:00
Mikko Mononen
b1addd3574
Win32 binary for 1.31 release
2009-07-24 06:43:36 +00:00
Mikko Mononen
0eaf2d302b
Updated readme and todo
2009-07-24 06:34:13 +00:00
Mikko Mononen
cc0f1431cd
Detour: Optimized new cost code to removed redundant edge midpoint calculations.
...
Detour: FIxed broken raycast code on TileNavmesh.
Detour: Added more comments to public API.
2009-07-20 08:05:18 +00:00
Mikko Mononen
e1d7b3e1f5
Detour: Fixed open list bug in pathfinder, nodes were never marked as closed!
...
Detour: Made the cost function to use polygon edge midpoints instead of polygon centroids.
2009-07-16 11:15:21 +00:00
Mikko Mononen
6fc3d5c58e
Detour/Recast/Demo: Removed GCC reorder warnings (enabled -Wreorder under xcode).
...
Recast: RecastTimer should compile with null implementation under Linux now.
2009-07-15 12:51:05 +00:00
Mikko Mononen
cc1126daaa
New OSX binary with recent changes.
2009-07-14 17:04:57 +00:00
Mikko Mononen
caeb02e2fd
Detour/Demo: Fixed compile warnings and errors for VC++.
2009-07-14 17:03:35 +00:00
Mikko Mononen
b418aba176
Detour: yet another rename fallout.
2009-07-14 16:51:05 +00:00
Mikko Mononen
8278720ff2
Detour: Submittin missing renamed file, deleting old (tiled->tile renaming).
2009-07-14 16:04:11 +00:00