Commit Graph

382 Commits

Author SHA1 Message Date
Lasse Öörni
25ed4020a0 Match the enum order in EmitterType edit field. 2016-01-14 21:14:43 +02:00
Yusuf Umar
353c459e0d Adding direction for particle/billboard. It can create pseudo 3d effect inspired by Unity stretched billboard. Can be used by using face camera option 'Rotate Along Direction'. 2016-01-12 10:46:23 +07:00
Yao Wei Tjong 姚伟忠
431559c2bd For Travis CI & AppVeyor - unified 'ci' rake task and spring cleaning. 2016-01-06 16:38:58 +08:00
Lasse Öörni
6a3bbb8aab Fix D3D11 constant buffers for VSM. Fix editor shadow mode selection. Fix script API for new shadow modes. Fix debughud for new shadow modes. Edit documentation to refer to new shadow modes. Added contributor credit. Some code convention edits, e.g. VSM instead of Vsm. Dump new NinjaSnowWarShaders.xml file. 2015-12-18 14:22:24 +02:00
Lasse Öörni
42ba4f9824 Fix material JSON save in editor. Fix AngelScript API bindings where XMLElement or JSONValue is passed as reference and should be modified (needs to be unsafe inout reference.) 2015-12-12 00:08:38 +02:00
Lasse Öörni
5165aa91fb Remove GetJsonType() function from editor resource browser code since JSON files don't have a similar root element name, and it was causing the editor not to compile. Fix save of ResourceRef / ResourceRefList in JSON. Fix missing child nodes in JSON scenes. Fix editor to use the correct function to save / load JSON nodes. Fix number of attempts in finding the attribute matching JSON data. 2015-12-11 22:57:33 +02:00
Nick Royer
10bad1e36a Added JSON animation triggers as well as a few quick file filter
settings for the editor and documentation changes.
2015-12-10 14:31:05 -06:00
Ivan K
21d8906e7c Editor: set RenderPath for particle editor 2015-12-07 02:09:31 +04:00
Ivan K
044bb17208 editor: more space in status text 2015-12-02 19:57:55 +04:00
Ivan K
372c5b3481 editor: fix positioning of status text 2015-12-02 19:14:32 +04:00
Lasse Öörni
7901b9cae5 Cleanup unused node var names from the scene. Closes #1068. 2015-12-01 12:05:31 +02:00
Lasse Öörni
74e7d027b0 Code convention edits. Added contributor credit. 2015-11-26 18:16:33 +02:00
Yusuf Umar
8eac7a3d01 Updating particle editor with these changes:
- Adding grid with option to hide it
- Gizmo now always visible in the left corner
- Change particle preview viewport camera to behave more predictably
2015-11-26 18:06:27 +02:00
Lasse Öörni
29e62526eb Added event for sound playback finished. Deprecate SoundSource::SetAutoRemove() and change samples + NinjaSnowWar to not use it. Fix network replication of SoundSource to work with repeated playback on the same source. 2015-11-25 22:50:19 +02:00
Lasse Öörni
88c07f952d If the original node is still selected in paste, behave as if duplicating. Closes #1034. 2015-11-21 13:31:23 +02:00
Lasse Öörni
30a26fcfc5 Code formatting. Use node pointer in compare instead of node id. 2015-11-12 12:02:55 +02:00
Vladimir
bf34fc8afb Urho3D Editor: Spawn on selected node in Spawn Editor 2015-11-11 19:51:35 +10:00
Lasse Öörni
2cd28f10a8 Merge remote-tracking branch 'cin/master' 2015-11-09 21:09:51 +02:00
Lasse Öörni
304c866dd0 Separate functions to toggle/show/hide editor sub-windows to prevent mistaken action e.g. when editing a material. Update changelog. 2015-11-09 21:03:01 +02:00
Vladimir
48e62be7ca Urho3D Editor: Local offset for Spawn Editor 2015-11-09 21:01:46 +10:00
JSandusky
f0da08b140 Urho3D Editor: Correct misnaming of function call for hiding spawn editor 2015-11-08 20:18:09 -05:00
JSandusky
80ba2ed375 Urho3D Editor: Show "Window" commands now toggle visibility
example: CTRL + I, will show the inspector if not visible and hide it if
it is visible
2015-11-08 19:54:41 -05:00
JSandusky
ec7aebfa2d Urho3D Editor: Enter/return executes first Quick Action in the quick action results 2015-11-08 19:53:38 -05:00
Lasse Öörni
cb0e6caa24 Apply material list in CreateModelWithStaticModel() & CreateModelWithAnimatedModel(). Closes #1018. 2015-11-08 13:12:03 +02:00
Lasse Öörni
77603f30df Exclude .atlas file type from resource browser XML parsing attempt. 2015-11-04 13:52:53 +02:00
Lasse Öörni
af985e0df1 Alternative O key to create obstacles in the navigation demos. Closes #995. 2015-10-31 22:01:04 +02:00
Lasse Öörni
385493f39a Explain that touch input is needed for multiple dragging. Closes #997. 2015-10-31 16:48:25 +02:00
Yao Wei Tjong 姚伟忠
c0d8415ae8 Fix the spawn button label in CrowdNavigation demo.
[ci skip]
2015-10-31 14:41:26 +08:00
Lasse Öörni
94a7f4ef63 Make UI element layouting not modify the user assigned minSize. Instead keep record of the min.size required by layout separately. Fix HelloGUI sample to the new behavior. Closes #955. 2015-10-29 17:22:53 +02:00
Lasse Öörni
13bc777ab6 Fix using old attribute name in the editor. Closes #979. 2015-10-25 20:57:05 +02:00
Lasse Öörni
19027b4ae4 Merge remote-tracking branch 'JSandusky/MemoryReporting' 2015-10-23 11:55:20 +03:00
JSandusky
83d0f9a23c Add Z-up and handedness options to OBJ export 2015-10-22 22:44:28 -04:00
JSandusky
8e39692ef3 Show "Memory usage" DebugHud in all samples (F3 key) 2015-10-22 19:49:49 -04:00
Jukka Jylänki
bf9111b862 Make Jacks not walk in synchronized lockstep timing in 06_SkeletalAnimation sample. 2015-10-11 19:05:51 +03:00
Lasse Öörni
4bdd80775b Add accelerator keys for reset pos/rot/scale also in editor standard mode. Add reset transform function (Alt-Q). 2015-10-10 01:09:06 +03:00
Lasse Öörni
57310eed00 Fix editor to load the produced temporary scene correctly if AssetImporter -b option is specified. 2015-10-01 18:23:17 +03:00
Lasse Öörni
65d36e4db2 Fix crash / null exception in CharacterDemo which would result if the character node did not exist after loading the scene. 2015-09-30 16:34:24 +03:00
Lasse Öörni
b362c9a953 Remove unnecessary enum qualification. 2015-09-30 10:45:05 +03:00
Lasse Öörni
3859d6dd8c Do not export editor debug geometry to OBJ. 2015-09-29 20:52:52 +03:00
Lasse Öörni
04d74d3f33 Fix Color::BLACK to just BLACK in Localization AngelScript sample. Thanks JSandusky. 2015-09-29 20:24:34 +03:00
JSandusky
4a16d34367 Implement OBJ export functionality in editor
- Global utility method for writing Drawables to an OBJ in Drawable
- AllContentOctreeQuery added
- Minor fixes to Octree query angelscript bindings
2015-09-29 20:24:33 +03:00
Lasse Öörni
69f4a405b7 Removed mention of missing functionality from CrowdNavigation help text. Fixed double -> float conversion warning. 2015-09-19 13:29:37 +03:00
Lasse Öörni
dc7eb0d17a Make the editor's cube map save path setting relative to the scene resource path, instead of being a relative filesystem path. Ensure that the generated cube map XML does not have double slashes and uses resource path relative filenames. Minor code cleanup. 2015-09-14 23:42:26 +03:00
JSandusky
ebd3e67776 Correction of cubemap XML face names.
- Minor refinements to the camera
- Prevention of rendering debug/editor visualization
2015-09-10 13:09:10 -04:00
JSandusky
da0463ec49 Add cubemap generation capability to the Urho3D editor 2015-09-10 00:13:38 -04:00
aster2013
5d50ad4b71 Change SetAnimtion function in AnimatedSprite2D. 2015-09-06 20:37:15 +08:00
aster2013
0f6983b3fe rename variable. 2015-09-05 22:57:48 +08:00
aster2013
0cded698e4 Merge from spine-spriter branch.
Main changes:
     Make spriter as a lib
     Enable spine support in AnimatedSprite2D and Animation2D.
2015-09-05 22:23:35 +08:00
Lasse Öörni
5bd672f02a Add missing Lua bindings to SplinePath. Make hierarchy & inspector windows the same width on editor startup. Remove unnecessary attributes from EditorHierarchyWindow.xml. 2015-09-02 18:07:42 +03:00
MonkeyFirst
77c7460342 add one space after "if" and fight with other spaces 2015-09-02 18:07:35 +03:00
MonkeyFirst
150865c3ee change icons default size 2015-09-02 18:07:35 +03:00
MonkeyFirst
f484bfe915 add for B.mode distance related camera move 2015-09-02 18:07:34 +03:00
MonkeyFirst
4ee86ced6f revert group-types-clear-commits 2015-09-02 18:07:34 +03:00
MonkeyFirst
7c403d88d9 collapse hierarchy then loading new scene 2015-09-02 18:07:34 +03:00
MonkeyFirst
50502df4a4 add option for IDs show and oneclick button for collapse tree to scene-root scope 2015-09-02 18:07:33 +03:00
MonkeyFirst
3232b79cbe clear old updateIcons placement 2015-09-02 18:07:33 +03:00
MonkeyFirst
14f35757cd add SplinePath check for length 2015-09-02 18:07:33 +03:00
MonkeyFirst
06e186bd73 fix-ghost-icons 2015-09-02 18:07:33 +03:00
Lasse Öörni
56b218a236 Fix indent & if statement space. 2015-08-27 09:45:16 +03:00
MonkeyFirst
46aa0c52e1 fix-m-typing 2015-08-26 23:51:13 +06:00
Lasse Öörni
47fe410d06 Suppress scene changes while toggling the debug icons visibility during preview camera render so that the attribute editor doesn't constantly refresh, making attributes uneditable. Closes #854. 2015-08-24 11:48:21 +03:00
Lasse Öörni
0e3c778f34 Fix using null handle when updating temporary component state. Closes #848. 2015-08-19 18:33:22 +03:00
Yao Wei Tjong 姚伟忠
ac0a712f0b Refactor to rename 'filter type' to 'query filter type'.
Minor clean up on the NavBuildData class.
2015-08-16 15:43:12 +08:00
Yao Wei Tjong 姚伟忠
27cc9c4277 Add filter and obstacle avoidance type attribute to CrowdManager class.
Enhance Editor to have functionality to edit the CrowdManager's filter and obstacle avoidance type attributes.
2015-08-16 15:43:12 +08:00
Yao Wei Tjong 姚伟忠
c9bc4cbae3 Add new event for crowd agent formation.
Add convenient methods for querying point, path, raycast, etc using crowd's extent and filter type configuration.
2015-08-16 15:43:12 +08:00
Yao Wei Tjong 姚伟忠
549b6fd8be Add crowd update callback support. Remove redundant vectors. 2015-08-16 15:43:12 +08:00
Yao Wei Tjong 姚伟忠
2c3033d62a Limit interface to use only crowd agent's parameters and public APIs. 2015-08-16 15:43:12 +08:00
Lasse Öörni
70b871ebfa Code convention edits. Removed unused variable. Make debug icons use Basic shader for no fog. Do not render debug icons to camera preview viewport. Fixed Basic shader with VERTEXCOLOR define on D3D11. 2015-08-14 23:09:53 +03:00
Lasse Öörni
54649e7bb0 Merge remote-tracking branch 'monkeyfirst/debug-component-icons' 2015-08-14 22:25:04 +03:00
MonkeyFirst
baedabf443 freeze icon's size in 2d 2015-08-14 02:30:19 +06:00
MonkeyFirst
bbe7b8f965 del empty lines 2015-08-13 23:51:03 +06:00
MonkeyFirst
cb6039a2b9 arrayed BS, blend & discard icons by distance 2015-08-13 23:34:13 +06:00
MonkeyFirst
43f2c2d618 fix icons min size 2015-08-13 01:12:04 +06:00
MonkeyFirst
aa673321dc add footprint for splinepath 2015-08-12 23:17:50 +06:00
MonkeyFirst
9c6164e4fd add trigger, custom geometry, particle emitter icons 2015-08-12 22:20:37 +06:00
Lasse Öörni
c254205bce Recognize OTF files without going to XML parsing (which fails). Closes #830. 2015-08-12 10:57:38 +03:00
MonkeyFirst
10c117c1bb avoid update icons when debug icons not visible 2015-08-12 10:07:21 +06:00
MonkeyFirst
fc37f268fb increase update time for splinepath 2015-08-12 09:38:55 +06:00
MonkeyFirst
9c0ab25999 add begin and end of splinepath coloring 2015-08-12 09:21:02 +06:00
MonkeyFirst
8670dd6f3c add show spline path debug 2015-08-12 08:34:34 +06:00
MonkeyFirst
886668ab13 add debug temp container(node) and clear scene's scope 2015-08-12 01:35:00 +06:00
MonkeyFirst
4424b98715 add debug icons 2015-08-12 00:45:17 +06:00
Yao Wei Tjong 姚伟忠
842de2fe48 Exposed the database subsystem API to scripting.
Add AngelScript version of the database demo.
Add Lua versio nof the database demo. WIP.
2015-08-10 01:51:26 +08:00
Lasse Öörni
b53b584123 8-bit render order support in materials. This adjusts the drawing order within a scene pass, and takes precedence over both state & distance sorting. 2015-08-06 16:42:52 +03:00
Lasse Öörni
d9d09909d4 Removed commented out code. Minor editor code formatting & typo fixes. 2015-08-05 21:28:47 +03:00
MonkeyFirst
99ad65844f add more event to main editor handlers 2015-08-05 15:43:15 +06:00
MonkeyFirst
5da0bea816 global-editor-handlers 2015-08-05 04:21:39 +06:00
Lasse Öörni
fba5948ab0 Allow to disable rendering of the whole UI (except for the cursor and modal elements) by setting the UI root to not visible. Added new function UIElement::IsVisibleEffective() which checks for propagated visibility. Make sure to clear focus also if a child element (that has focus) becomes effectively invisible. Closes #811. 2015-08-04 17:47:46 +03:00
MonkeyFirst
038ec8c286 fixed missing event handler from color wheel after layer use 2015-08-02 03:08:23 +06:00
Lasse Öörni
c14d6ba4b7 Editor code convention edits. Use Alt+W for color wheel in both hotkey modes. 2015-07-31 22:00:48 +03:00
Lasse Öörni
5344d386b0 Merge remote-tracking branch 'monkeyfirst/hsv-color-wheel' 2015-07-31 21:23:54 +03:00
MonkeyFirst
b42cb1ed2a simplify menu localization 2015-07-31 02:46:23 +06:00
Lasse Öörni
9977ee909b Fix line height in the included .sdf font files. Force reevaluation of material when font changed from ttf to sdf or vice versa. Added .sdf to attribute editor font picker. Closes #801. 2015-07-30 23:27:31 +03:00
MonkeyFirst
c3b52a9e47 hsv-color-wheel 2015-07-30 01:57:16 +06:00
Lasse Öörni
61a7d65393 Explicitly set alpha blend mode for toolbar icons. See #799. 2015-07-27 17:52:07 +03:00
Lasse Öörni
b74c2360f8 Restored original controls in standard hotkeys mode. The MMB pan option (standard hotkeys mode only) now changes the behavior of shift in relation to pan & orbit only. Editor code cleanup & code convention edits. 2015-07-27 17:35:10 +03:00
Lasse Öörni
50013c85d4 Merge remote-tracking branch 'monkeyfirst/hotkeys-smg-instances'
Conflicts:
	bin/Data/EditorStrings.json
2015-07-27 16:26:42 +03:00
Ivan K
e91ddb3e58 Localization: fix string IDs conflict 2015-07-27 14:50:26 +04:00
Ivan K
15001acdb8 Russification: Particle Editor 2015-07-27 13:55:15 +04:00
Ivan K
6308da0c63 Russification: Material Editor 2015-07-27 13:28:10 +04:00
Ivan K
d0424bdf87 Russification: Attribute Inspector, resource picker buttons 2015-07-27 12:37:24 +04:00
Ivan K
77be3c88c4 Russification: FileSelector 2015-07-27 11:36:03 +04:00
MonkeyFirst
f1625c6fc7 WeakHandle for last... some polishing for B.mode delete 2015-07-26 22:04:27 +06:00
MonkeyFirst
7807e88e30 default pan for 2d, viewCloser for 2d , alt+scroll-zoom 2015-07-26 04:24:01 +06:00
Lasse Öörni
148bd67938 Do not attempt to localize MRU scene list in editor. 2015-07-25 22:27:17 +03:00
MonkeyFirst
7cf954d4fd delete unused variables 2015-07-25 22:53:54 +06:00
MonkeyFirst
8fc2ae9436 some fixes for smart duplicate 2015-07-25 22:47:02 +06:00
MonkeyFirst
c35ddfedcf fix ViewCloser camera placement 2015-07-25 01:31:09 +06:00
MonkeyFirst
ea02dcf9d1 delete unused action 2015-07-24 23:55:48 +06:00
MonkeyFirst
74f416b92c fixed with StaticModels and renamed into smart duplicate 2015-07-24 23:35:39 +06:00
MonkeyFirst
892a353c2f add B.mode view closer on kp_period 2015-07-24 16:54:55 +06:00
MonkeyFirst
df91bae159 add force to selecting node instead component in view port 2015-07-24 03:59:56 +06:00
MonkeyFirst
7de2a25206 auto instance 2015-07-24 02:45:05 +06:00
Lasse Öörni
9e978e767c Merge remote-tracking branch 'monkeyfirst/material-editor-few-model-preview'
Conflicts:
	bin/Data/Scripts/Editor/EditorView.as
2015-07-23 15:40:41 +03:00
MonkeyFirst
85e34c5b20 add B. mode rotation when no selection & dox controls2 fix 2015-07-23 15:40:32 +06:00
Ivan K
345954d5aa Editor: automatic creating language list 2015-07-22 16:09:40 +04:00
Ivan K
d00438c224 Editor: select language in preferences 2015-07-22 15:40:35 +04:00
MonkeyFirst
8a1c80796c bledner mode mmb pan, flymode off by rmb or esc 2015-07-22 02:42:49 +06:00
MonkeyFirst
276937d054 blender mode add strafe in ortho w shift & ctrl 2015-07-22 01:44:46 +06:00
MonkeyFirst
3f8cb158d4 blender mode fixes: select w shift , strafe, pan 2015-07-22 01:30:18 +06:00
Ivan K
eb2457ce6a editor russification, add warnings to Localization::LoadJSON 2015-07-21 23:12:20 +04:00
MonkeyFirst
c3f6f1c423 fixed camera move on shift-d 2015-07-21 23:26:00 +06:00
MonkeyFirst
5907f6c22b Add mask selector, bits inversion, scroll types 2015-07-21 20:55:39 +06:00
Lasse Öörni
87c8a0874a Merge remote-tracking branch '1vanK/improvements' 2015-07-21 13:46:06 +03:00
Lasse Öörni
14fe2ad334 Remove unused variable that was moved & renamed elsewhere. 2015-07-20 18:14:22 +03:00
MonkeyFirst
43df9f2e7c fix include in editor.as 2015-07-20 04:00:17 +06:00
MonkeyFirst
9c8ba2e2b0 Add EditLayerWindow for fastest mask view change (with children nodes) 2015-07-20 02:59:22 +06:00
Ivan K
d540f79eec Localization: fixes, adding comments, reworking samples, partial russification of editor 2015-07-19 16:07:24 +04:00
MonkeyFirst
64e7435eca fix "standard" word 2015-07-19 17:07:14 +06:00
MonkeyFirst
1f519959aa Add feature that allow to enable all hidden before nodes on one hotkey 2015-07-19 06:03:27 +06:00
MonkeyFirst
c9910c8c96 Add feature to parent selected nodes into last selected node
Add feature to parent selected nodes into last selected node
Standart key mode - U-key
Blender key mode - P + Ctrl
2015-07-19 04:44:11 +06:00
MonkeyFirst
f5e1e10b6a Add hotkeys mode switching between standart & blender 2015-07-19 01:41:23 +06:00
Ivan K
1d845712c8 Internationalization: initial commit
Localization
2015-07-18 14:43:51 +04:00
MonkeyFirst
6b927e8533 add few models for preview 2015-07-18 03:05:20 +06:00
MonkeyFirst
721f121c91 init blender-keys-branch 2015-07-18 00:23:34 +06:00
Lasse Öörni
0fc4cdf12c Tabs to spaces. Moved MMB pan setting from Preferences dialog to Settings dialog to match the rest of the camera options. Added contributor credit. 2015-07-17 18:08:57 +03:00
julyfortoday
e10aef79cf Save/load mmbpan setting to/from xml, fixed naming 2015-07-17 09:07:25 -04:00
julyfortoday
6d8e057a7e Added togglable setting for changing the behavior of the MMB, allows panning by default instead of rotation/orbit 2015-07-16 22:26:51 -04:00
julyfortoday
0981492802 Center camera on selected object using the HOME key 2015-07-16 18:25:00 -04:00
Mike3D
a25f596e08 Added missing file formats to Editor's resource browser 2015-07-16 07:52:47 +02:00
Lasse Öörni
37f13c91d9 Remove double semicolon. 2015-07-15 00:59:12 +03:00
Lasse Öörni
9b629b2a36 Editor functionality to assign child nodes as a spline path. Contributed by MonkeyFirst. Closes #781. 2015-07-15 00:57:55 +03:00
Ivan K
f317df2961 Adding a button 'Reset Viewport' and checkbox 'Show Axes' for particle editor 2015-07-14 11:56:53 +04:00
Ivan K
8d37ae8e3d Fix scaling particle preview 2015-07-13 16:14:53 +04:00
Ivan K
0532ea5c6f Big particle preview and scaling preview with LMB + LShift 2015-07-13 15:50:58 +04:00
Lasse Öörni
ffa0b96e85 Fix typo. Ensure new node positioning uses world position in case the new node is parented. 2015-07-12 16:19:39 +03:00
Ivan K
8adcd0a965 Editor new node position 2015-07-12 13:48:24 +04:00
Lasse Öörni
986c4ca6fc If CollisionShape trimesh or convex shape assigned without a collision model, try to get it from the StaticModel in the same node. Closes #769. 2015-07-11 21:18:50 +03:00
Lasse Öörni
4219b7b157 Revert mistaken change to 20_HugeObjectCount.as. 2015-07-24 17:11:10 +03:00
Lasse Öörni
e8af02f453 Add double serialization support to Variant, Deserializer/Serializer, XMLElement & JSONValue. Use double to store a Lua object's number attributes. Add editing of double attributes to the editor. Closes #758. 2015-06-29 22:36:12 +03:00
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