Lasse Öörni
6b6447eb8c
Detect presence of AssetImporter in either tool subdirectory or in the executable directory.
2015-06-09 21:23:04 +03:00
Yao Wei Tjong 姚伟忠
88d86548a4
Further minor clean up the CrowdAgent class.
...
Revise the sample so Jack walk and turn more naturally.
2015-05-28 17:52:12 +08:00
Yao Wei Tjong 姚伟忠
6b72c4412a
Minor code clean up and bug fixes for DetourCrowd implementation.
...
Avoid using multiple vectors to hold the same set of objects in the DetourCrowd sample.
2015-05-27 21:51:10 +08:00
Mike3D
e166e7a84d
Added moving obstacles and teleportation to sample 39. Also various behavior tweaks and ground texture modified to break monotony and discriminate with sample 15. If something doesn't appeal it can be reverted.
...
Also set default mask and areaID at OffMeshConnection initialization.
2015-05-23 09:27:39 +02:00
Mike3D
7f3a6ef86b
Added off-mesh connections to sample 39
2015-05-20 10:56:32 +02:00
Yao Wei Tjong 姚伟忠
e7e2c262e5
Make button slider not focusable so it is easier to tab around.
2015-05-19 15:33:59 +08:00
Lasse Öörni
f9f920964f
Remove agents & obstacles on OnNodeSet(null), similar to Drawables. Do not allow adding an agent when node is already null. Added missing enum in AngelScript navigation API. Do not keep a persistent array of agent handles in the AngelScript crowd example, as that keeps the agents alive even past removal from scene. Closes #729 .
2015-05-17 16:54:57 +03:00
Mike3D
cca861f6d3
Simplified sample 39 using the crowd manager
2015-05-17 10:15:41 +02:00
JSandusky
ca7a6af1f3
CrowdAgent state handling
...
- CrowdAgentStateChanged event includes Node and Agent parameters
- CrowdAgentFailure event for target/agent-state failures
- GetAreaCost in NavigationMesh, script bindings updated
- Fixed error spawning Jack nodes on top of boxes in Angelscript sample
- DebugRendering for DynamicNavigationMesh layers
- Rename all references to AreaType as AreaID
- CrowdAgent angelscript enum bindings made consistent
- Include simple example handling of CrowdAgentFailure for faulty
initial state (sides of boxes) in all samples
- Consistent values in samples (box/mushroom counts)
- Completed "todo" for investigating rcFilterLedgeSpans in
DynamicNavigationMesh
2015-05-12 02:29:32 -04:00
Mike3D
581d1b550b
Do not hardcode obstacle radius
2015-05-07 17:20:05 +02:00
Yao Wei Tjong 姚伟忠
252206a207
Decouple Physics subsystem from DetourCrowd implementation.
...
Also minor code clean up (dot the i's and cross the t's).
2015-05-07 16:52:18 +08:00
Lasse Öörni
8f29e751b7
Fix memory leak in NavBuildData. Match capitalization of the CrowdNavigation help text in all versions.
2015-05-05 17:58:31 +03:00
JSandusky
567a29d74e
Implementation of DetourCrowd and DetourTileCache
...
Added Components:
- DynamicNavigationMesh (uses DetourTileCache)
- Obstacle (interacts with DynamicNavigationMesh)
- DetourCrowdManager (uses DetourCrowd for crowd control)
- CrowdAgent (interacts with DetourCrowdManager)
- NavArea (marks area types)
Changes:
- Refactor NavigationMesh build process
- Addition of cylinder debug rendering
- Exposed Area Type Costs in navigation
CrowdNavigation sample for Lua, Angelscript, and C++ using
DynamicNavigationMesh, Obstacle, CrowdAgent, and DetourCrowdManager
components.
2015-05-04 22:14:00 -04:00
Lasse Öörni
aa65cedefd
Add NOUV define to LitParticle, LitSolid & Unlit HLSL shaders when used as untextured, to prevent vertex layout creation problem on D3D11 when model has no UVs. Remove texcoords from the editor grid as they're no longer necessary. Closes #712 .
2015-04-29 20:09:18 +03:00
Lasse Öörni
0235c02653
Expose Geometry, IndexBuffer & VertexBuffer to script, with VB & IB content access using VectorBuffer. AngelScript 34_DynamicGeometry example. Lua version to follow.
2015-04-27 10:29:38 +03:00
Lasse Öörni
97fb2638db
Add fill mode to materials.
2015-04-04 02:40:38 +03:00
Lasse Öörni
d06ffe1445
Merge pull request #680 from urho3d/render-refactor
...
Render refactor
2015-03-24 23:34:39 +02:00
Lasse Öörni
2858755334
Log missing vertex element(s) when vertex layout fails to create. Add texcoords to the editor grid to keep D3D11 happy.
2015-03-15 00:23:49 +02:00
Lasse Öörni
dffab8cff1
Add item to Edit menu ("Add children to SM-group") to add all children of the StaticModelGroup node as instances. Closes #676 .
2015-03-09 21:14:04 +02:00
Lasse Öörni
988f1fdc33
Merge branch 'master' into render-refactor
2015-03-07 17:59:37 +02:00
Lasse Öörni
1c549bceee
Import also empty child nodes in AssetImporter scene mode, unless disabled with the -ne option. Refactor handling of the root scene node to prevent unnecessary creation of a duplicate root node. Do not attempt to parse .json files as XML in the editor resource browser. Closes #673 .
2015-03-07 13:36:27 +02:00
Lasse Öörni
6fd6efc4c3
Update PugiXml to 1.5. Do not attempt to parse .txt & .icns files as xml in the editor resource browser, to prevent log spam.
2015-03-04 16:10:21 +02:00
Lasse Öörni
0c48c9df87
Fix Assimp to not give negative light direction. Fix FOV handling for spot lights in AssetImporter. Added error prints to Editor if fails to execute AssetImporter. Closes #669 .
2015-02-24 12:19:25 +02:00
Lasse Öörni
9f129ecd51
Merge branch 'master' into render-refactor
2015-02-23 01:43:02 +02:00
Lasse Öörni
4fd2fe20b8
Fix Editor to not use the sm3Support variable any more.
2015-02-22 02:19:23 +02:00
Chris Friesen
28b511df32
Added copy cam transform to editor for easy cam alignment
2015-02-17 00:06:01 -06:00
Lasse Öörni
5198313a93
Fix null exception in multiple nodes duplication. Closes #632 .
2015-01-26 01:12:05 +02:00
Lasse Öörni
dc39d9e17c
Fix wrong matrix math in gizmo scaling. Take zoom into account.
2015-01-21 12:12:47 +02:00
Lasse Öörni
895dfcdb3a
Fix gizmo scale in orthographic mode (ortho size not taken into account). Cleaned up gizmo scaling code to use camera view matrix. Closes #626 .
2015-01-20 18:03:28 +02:00
Chris Friesen
7376e24400
Editor - numpad camera modes focus selection
2015-01-20 00:33:00 -06:00
Chris Friesen
262bb942e4
Editor deselect all
2015-01-19 23:18:43 -06:00
Yao Wei Tjong 姚伟忠
05a8b79fd2
Rename "Bin" subdir to "bin".
2015-01-18 21:31:13 +08:00