227 Commits

Author SHA1 Message Date
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
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
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
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
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
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
d71740036d Demo: Changed demo "Builders" to "Samples".
Detour: Prefixed static nav with 'dtStat', this includes polys and poly refs too.
imgui: Made imgui code not to use id:s anymore, since there were way too many id clashes.
imgui: Separated the rendering code into its' own file, changed prebaked font to use stb_truetype instead, removed glfont.
imgui: Added 'disabled' property to widgets.
Recast: exposed single triangle rasterization into the recast api.
Demo: Changed the debug draw validation to be "soft", easier to demo now.
2009-07-13 10:30:37 +00:00
Mikko Mononen
9edeccea35 Slightly better heuristic for path finder (Mr. Ericsson would not approve!)
Visualize A* open list.
Visualize parent nodes when querying nodes around.
2009-07-01 12:07:02 +00:00
Mikko Mononen
dd0fcedaa4 Refactored the GUI.
Separeted demo code into builders. The examples should be easier to follow now.
Added scroll wheel support to gui scrolling windows.
2009-06-30 15:17:25 +00:00
Mikko Mononen
e638624828 Version 1.2
Removed paris demo code.
Cleaned up the API and added missing comments.
2009-06-16 09:57:55 +00:00
Mikko Mononen
b1114cb5cd Paris demo build (does not compile from SVN).
Removed portal test from demo.cpp
Added new debug draw mode (regions connections).
Tweaked several debug draw modes to be more illustrative.
Added checks in the Detour code to allow to call the API even if the initialization failed.
2009-06-04 13:03:48 +00:00
Mikko Mononen
ab372964ad Tweaked debug draw to better fit the Paris conferene setup.
Rewrote fixup contours, now should handle all cases.
Added few more debug draw modes for the demo.
Changed the vertex welding to cope with slight imprecision in y-direction.
2009-06-03 07:35:25 +00:00
Mikko Mononen
c5d43c8029 - smaller point size when rendering meshes
- fixed a bug in tiled generation where memory would be double released
2009-05-17 15:20:55 +00:00
Mikko Mononen
c56ebb7e77 - (too) large refactoring of the generation and demo code to support tiled preprocessing
- added rcFixupAdjacentContours which adjust adjacent contour sets so that that they share all vertices (still buggy!)
- changed the demo stucture to handle tiled navmesh generation process (still ugly)
- the performance results are put into a struct instead of logged immediatelly
- added ChunkyTriMesh class which allows to partiotion a trimesh to smaller pieces using AABB tree
2009-05-17 13:31:09 +00:00
Mikko Mononen
b93fe6b29a Changed the polygon merging so that it does not generate parallel neighbor edges.
Added first version of Detour.
Changed the demo to use Detour.
2009-04-11 17:40:09 +00:00
Mikko Mononen
ea8fb55a46 - Moved license.txt, readme.txt to root folder
- Added TODO.txt
2009-03-29 15:59:39 +00:00
Mikko Mononen
f2595134a4 - Removed example from the Recast folder 2009-03-29 15:52:38 +00:00
Mikko Mononen
ddc9af1d93 - Added version 1.0 release notes. 2009-03-29 12:38:26 +00:00
Mikko Mononen
4e6621a124 - Removed multipass blur test 2009-03-29 12:38:01 +00:00
Mikko Mononen
2a1c3dd7e8 - Changed readme
- Fixed XCode project file
- Added readily complied OSX version
2009-03-29 11:54:28 +00:00
Mikko Mononen
06832c885e Initial commit. 2009-03-29 10:30:52 +00:00