26 Commits

Author SHA1 Message Date
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
caeb02e2fd Detour/Demo: Fixed compile warnings and errors for VC++. 2009-07-14 17:03:35 +00:00
Mikko Mononen
a7cb1f86e2 Detour: Commented DetourTileNavMesh API.
Demo: Fixed and improved few tile navmesh demo issues.
2009-07-13 12:06:04 +00:00
Mikko Mononen
c2e4e01201 Detour: Reduced tile navmesh link size by 6 bytes.
Demo: Fixed some include file errors from previous renaming fest. 
Added license at top of some files.
2009-07-13 11:09:28 +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
20e07146b9 Added icon to xcode project. 2009-07-09 11:25:35 +00:00
Mikko Mononen
2eab83c0e3 Added license info to some files.
Added mem info for last processed tile view.
Fixed memleak in tiled navmesh demo.
2009-07-09 11:12:50 +00:00
Mikko Mononen
aa7357d897 Updated VC project to include new tiled navmesh.
Fixed warnings for VC.
2009-07-09 08:55:29 +00:00
Mikko Mononen
7b20818706 Removed .suo file from VC build dir. 2009-07-09 08:42:12 +00:00
Mikko Mononen
cdf03f3cd5 Changed tiled stat mesh demo from 'tiling' to 'tiled'.
Added ugly tiled nav mesh demo.
2009-07-09 08:36:35 +00:00
Mikko Mononen
b0cc29570e Added overlay rendering support for builders + return of start/end labels. 2009-07-01 07:22:18 +00:00
Mikko Mononen
22865e60af Fixes for VC and new Win32 binary. 2009-06-30 15:29:52 +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
b31b9334c3 Visual studio compile fixes. 2009-06-16 10:03:47 +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
dac9bc0f64 Fixes to win32 version. 2009-04-11 17:59:15 +00:00
Mikko Mononen
a2a85ede2b Fixing RecastDemo 2009-04-11 17:57:09 +00:00
Mikko Mononen
1453be33cd - win32 version of the recast demo 2009-03-29 15:51:07 +00:00
Mikko Mononen
8e9bf581cf - Removed build temp files. 2009-03-29 15:40:25 +00:00
Mikko Mononen
ec96c8d1ef - Separating demo out from the Recast folder (osx version only) 2009-03-29 15:39:02 +00:00