441 Commits

Author SHA1 Message Date
Mikko Mononen
e6fc6a3817 Removed unused code 2014-06-13 13:28:46 +03:00
Mikko Mononen
3cb87f2432 Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-06-13 13:25:07 +03:00
Mikko Mononen
a89bb843d7 Added new method to partition heighfield
- added layer based heighfield partitioning
- the method is a bit slower than monotone partitioning, but does not
suffer from the long thin ploys
- the method partitions the heighfield into non-overlapping areas, but
does not try to resolve holes
- improved contour hole merging so that it can properly handle all
kinds of holes
- improved polygon triangulation to handle overlapping segments
- improved small and long polygon detail mesh generation
- updated samples to include all 3 partition methods and little
documentation to help to choose between them
2014-06-13 13:25:01 +03:00
Mikko Mononen
d477061f83 - fixed missing index in calls to get query filter
- fixed bug in dtCrowd:addAgent getNearestPolygon()
2014-05-24 18:48:43 +03:00
Mikko Mononen
ad74197c8f Getting rid of the phantom 2014-05-24 18:44:05 +03:00
Mikko Mononen
3c4d99218c Merge pull request #32 from Nightblade/patch-1
Update README.md
2014-05-19 14:08:31 +03:00
Nightblade
10007a0843 Update README.md
Fixed 3 typos.
2014-05-19 21:04:22 +10:00
Mikko Mononen
a2d811e96b Merge pull request #26 from stevefsp/master
Update Doxygen to 1.8.6 and New Repo Location
2014-05-02 19:32:55 +03:00
Stephen Pratt
085bbf2348 Doc Home Page Spelling, Grammar, and Formatting
Updates to the home page file include:

Fixes spelling error.
Minor grammar fixes.  (Added 'the', 'and', etc.)
Standardizes formatting for the product and folder names.
2014-05-02 09:07:05 -06:00
Mikko Mononen
a38f83afec Merge pull request #28 from hgaiser/master
Change active type from unsigned char to bool
2014-04-27 20:01:06 +03:00
Hans Gaiser
973f0e2c2b Change active type from unsigned char to bool 2014-04-27 18:57:03 +02:00
Mikko Mononen
70ddbdd345 Merge pull request #27 from hgaiser/master
Add partial path result status for dtCrowdAgent
2014-04-27 19:49:21 +03:00
Hans Gaiser
652317f9e6 Add commented improvements 2014-04-27 18:25:48 +02:00
Hans Gaiser
5290c8aac4 Add partial path result status for dtCrowdAgent 2014-04-27 17:34:36 +02:00
Stephen Pratt
c93b11eafd Add Doc Build Info To ReadMe File
Adds some information on building the documentation to the documentation
ReadMe file.
2014-04-23 12:24:22 -06:00
Stephen Pratt
30558a7c7d Sync Doc Home Page Content with GitHub Home
Updates the content of the documentation home page to match the content
of the GitHub repository home page.  This includes the new Recast
introduction image, premake4 based build info, etc.
2014-04-23 12:12:37 -06:00
Stephen Pratt
3458b9c820 Upgrade to Doxygen 1.8.6 from 1.7.3
Upgrades Doxygen configuration files to 1.8.6.  The upgrade results in
breaking changes (can't use original configuration) so all Doxygen files
were regenerated and updated as needed.

The Doxyfile shows a large number of changes, but most are the comments
and new settings created by the Doxygen auto-upgrade process.
Otherwise, some obsolete settings were removed and the logo was set to
none since its source image no longer exists in the repository.

Where appropriate the configuration files were updated to link to the
new Git repository.  This is the only significant document content
change.
2014-04-23 12:09:50 -06:00
Stephen Pratt
19871f5f5f Add Docs/html to Git Ignore
Docs/html holds the files generated by Doxygen.  It should be ignored by
Git.
2014-04-23 11:59:18 -06:00
Mikko Mononen
9e1bbf9482 Merge pull request #25 from JimmyJames707/master
Merged support for multiple query filters for dtCrowd.
2014-04-11 17:26:43 +03:00
JimmyJames707
52efad386b query filter for each agent type
This has the changes Mikko requested
2014-04-11 22:36:00 +10:00
JimmyJames707
e29b2c8a51 query filter for each agent type
This has the changes Mikko requested
2014-04-11 22:33:33 +10:00
JimmyJames707
907b67bd18 query filter for each agent type with changes 2014-04-11 22:17:21 +10:00
JimmyJames707
ce552fd578 Revert "query filter for each agent type with changes"
This reverts commit b5f70b51a5e627f98a6f5d28aa5704afa9cdff6a.
2014-04-11 21:50:58 +10:00
JimmyJames707
b5f70b51a5 query filter for each agent type with changes 2014-04-11 21:45:42 +10:00
Mikko Mononen
4bcfb17f57 Merge pull request #22 from jadamcze/windowpos
Constrain the window's aspect ratio
2014-04-11 11:42:33 +03:00
Mikko Mononen
a6d4dddaae Merge pull request #21 from jadamcze/warnings
Udpated stb_image and stb_truetype, Fixed compiler warnings.
2014-04-11 11:41:43 +03:00
JimmyJames707
0f2b03a8c0 I would like to submit a query filter for each agent type:
https://groups.google.com/forum/#!searchin/recastnavigation/dtQueryFilter|sort:relevance|spell:false/recastnavigation/t-rFg2Ku9IY/PJNNkCjARccJ

Search on
queryFilterType and m_filters to see the changes.

Also in this code there are bugfixes, that have already been submitted
as issues. They can be ignored.

Possible bug with requestMoveVelocity and navmesh regeneration
https://groups.google.com/forum/#!topic/recastnavigation/E6khmmKJkzk

Bug fix for No guard on dtCrowd::getAgent?
https://groups.google.com/forum/#!topic/recastnavigation/yJ1EEVbOaKg
2014-04-11 16:50:57 +10:00
Jonathan Adamczewski
1d05c18c00 Used read length (and suppress warning) 2014-03-24 00:16:35 -07:00
Jonathan Adamczewski
88484cbd7d Remove unused variable 2014-03-23 23:57:46 -07:00
Jonathan Adamczewski
97fb44e422 Update to latest stb versions
Includes minor compile warning fix
2014-03-23 23:57:39 -07:00
Jonathan Adamczewski
c98c31f33b Constrain the window's aspect ratio 2014-03-23 23:53:57 -07:00
Mikko Mononen
740a7ba516 Merge pull request #18 from jackpoz/rcMergePolyMeshes_portals_fix
Fix rcMergePolyMeshes() ignoring portals of input meshes.
2014-02-21 10:35:39 +02:00
Mikko Mononen
bad6c17182 Merge pull request #16 from qiqian/master
calculate off-mesh-connection height correctly
2014-02-21 10:33:01 +02:00
Mikko Mononen
3e8b413036 Fix for detail mesh height data generation
- if the new region based height data generation fails, use the old
flood fill based method
2014-02-21 10:32:35 +02:00
jackpoz
77ebf64353 Fix rcMergePolyMeshes() ignoring portals of input meshes.
Copy the portals from input meshes on border to the output mesh.
2014-02-19 21:00:14 +01:00
Mikko Mononen
19e2d8dbe6 Fixed pos-over-poly case for finding nearest polygon 2014-02-16 11:27:45 +02:00
Mikko Mononen
6702143bc1 Fix for broken raycasts, changes how findNearestPoly works, slight API change
- test case supports raycasts
- changes how findNearestPoly works directly over polygons
- API change: findNearestPoly has additional parameter
2014-02-11 20:32:00 +02:00
Qian Qian
90d5a85b85 calculate off-mesh-connection height correctly 2014-02-03 16:34:47 +08:00
Mikko Mononen
e117234170 Merge pull request #15 from axelrodR/master
bugfix: divPoly caused a stack overrun by producing an 8th point
2014-01-21 22:41:10 -08:00
axelrodR
adcd4f472e bugfix: divPoly could produce an 8th point after several calls because some of the old clipPoly code on which it was based
can add the same point twice consecutively (interpolation+adding the point).
Rather than raising the buffer I rewrote divPoly to avoid adding the same point twice.
2014-01-21 22:05:40 +02:00
Mikko Mononen
bc964f9994 Fix for U-turn path case 2014-01-21 19:15:08 +02:00
Mikko Mononen
cbab6a3825 Merge pull request #14 from axelrodR/master
Bugfix: A typo in dividePoly can cause stack overrun when several vertices happen to fall exactly on cell boundaries
2014-01-19 22:13:44 -08:00
axelrodR
f60468abcb Merge branch 'master' of https://github.com/memononen/recastnavigation
thrown away the fix I made to Recast/Source/RecastMeshDetail.cpp in favor of the upstream code.
2014-01-20 01:28:33 +02:00
axelrodR
4d657b9561 changed remarks 2014-01-20 00:55:40 +02:00
axelrodR
0c40165908 bugfix in RecastMeshDetail: in some rare dense cases the polygon simplification moves the polygon to a point where the center is very far from the region. For now we just fall back to the old code (flood-fill from the vertices) 2014-01-20 00:54:18 +02:00
axelrodR
b4204ba9a2 bugfix: minor typo caused stack overrun when several vertices happen to fall exactly on cell boundaries 2014-01-20 00:12:53 +02:00
Mikko Mononen
29db8cde1b Fix for detail mesh corner cases
- fix case where thing long poly center may not be on the region
2014-01-19 17:49:40 +02:00
Mikko Mononen
65da694f50 gitignore meshes starting with underscore 2014-01-19 16:47:47 +02:00
Mikko Mononen
ad7a13cbf3 Small formatting change to dividePoly() 2014-01-19 16:47:26 +02:00
Mikko Mononen
1b04dc9c80 Merge branch 'master' of https://github.com/axelrodR/recastnavigation into axelrodR-master 2014-01-19 15:32:47 +02:00