428 Commits

Author SHA1 Message Date
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
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
Mikko Mononen
6469a99f11 Fixed item type in PolyRefArray from int to dtPolyRef 2014-01-19 15:32:09 +02:00
axelrodR
98f2f02c2b Optimization of of the mesh detail construction: replaced the first of the 2 flood-fill algorithms (the one used to find the span corresponding to the center of the polygon) with a search of span at the center with the region matching the polygon. 2014-01-19 14:02:41 +02:00
axelrodR
e063ba6f5a Rasterization optimization: replaced clipping for each individual cell. the clipping line/plane between two adjacent cells is common so data from former cell can be reused if we keep track of the "remaining polygon". 2014-01-15 14:14:08 +02:00
axelrodR
8e4633c64b Performance optimizations:
1. Triangle rasterization: replaced loops over all the grid cells of the AABB with looping over the area of the triangle itself (i.e. bounds are set per row).
2. Region expansion: instead of sweeping through all the cells at each expandRegion() and finding the right level - sweep once per few levels and divide among several stacks. Left over are appended.
2014-01-08 12:02:00 +02:00
Mikko Mononen
b3d27bdb46 Fix for Issue #12
- fixed errors reported by valgrind
2014-01-02 21:03:05 +02:00
Mikko Mononen
64828488b1 Fixed docs of maxSimplificationError units. 2013-12-22 18:24:58 +02:00
Mikko Mononen
a08258d9dd Merge pull request #11 from flippy84/master
Update DetourNavMeshQuery.h
2013-12-22 08:02:47 -08:00
Mikko Mononen
6a7f5268ab Added define to compile Detour with 64bit dtPolyRefs 2013-12-22 18:01:06 +02:00
flippy84
3f8c0506fb Update DetourNavMeshQuery.h
Changed existing and existingSize parameters of finalizeSlicedFindPathPartial to @param[in]
2013-12-21 13:49:38 +01:00
Mikko Mononen
7308f91d80 Merge pull request #8 from grahamboree/unused_warnings
Fix for google code Issue 108
2013-10-16 09:38:48 -07:00
grahamboree
dc7e248de6 Removed header dependency between Detour and Recast due to addition of rcIgnoreUnused. Added dtIgnoreUnused. 2013-10-15 17:29:14 -04:00
grahamboree
683acbb11c Silenced double->float conversion warning. 2013-10-14 16:38:03 -04:00
grahamboree
35db2af872 Silenced additional unused parameter warning. 2013-10-14 16:36:49 -04:00