Lasse Öörni
ae9ff0d8df
Store colliding bodies first as weak pointers to allow safe deleting of them during collision event handling.
2013-04-16 19:36:29 +00:00
Lasse Öörni
1f8b84c4dc
Text3D minor code cleanup.
...
Mention Text3D in the rendering documentation.
2013-04-15 21:48:54 +00:00
Lasse Öörni
56fbf5a1e9
Added attributes to Text3D.
...
Limit font face size to 96 pixels for now to prevent crash when rendering font to texture.
Added font resource picking support to editor.
2013-04-15 21:42:37 +00:00
Lasse Öörni
f01b491152
Make sure Text3D octree reinsertion is queued when the text geometry changes.
2013-04-15 00:30:16 +00:00
Lasse Öörni
5bd757850f
Added functionality to Text3D. Attributes yet missing.
...
Added missing MarkNetworkUpdate() calls to NavigationMesh.
Removed unused parameter from Text::UpdateText().
2013-04-15 00:23:00 +00:00
Lasse Öörni
d567ef83fc
Started work on 3D text component.
2013-04-14 18:31:12 +00:00
Lasse Öörni
9132ea611c
Removed shadow bias adjustment according to shadow map resolution, as it causes the amount of "peter panning" to change.
...
Instead, added bias adjustment factor according to far clip of directional light cascade splits.
Slightly adjusted ninja offset to physics shape to align better with the ground.
Ensure same memory layout of CascadeParameter on desktop and mobile, though mobile uses only 2 of the cascades.
2013-04-14 14:50:25 +00:00
Wei Tjong Yao
832ef7ddfd
Fixed XPath query result integration with existing XMLElement class (XMLElement constructed from XPath query result should be abled to traverse up/down document tree as if it is a 'normal' XMLElement). Added feature to auto-add variable into XPath variables set based on pre-formatted variable string. Modified 3rd-party PugiXML library to have a proper xpath_node copy-constructor. Fixed UI.h to build under GCC.
2013-04-14 14:03:43 +00:00
Lasse Öörni
fedccdebd6
Set busy cursor when importing model or scene.
2013-04-14 11:24:25 +00:00
Lasse Öörni
bc4b428295
Allow UI to operate without a defined cursor element, if the operating system cursor is visible.
2013-04-14 11:13:15 +00:00
Lasse Öörni
37d2911ec8
Fixed AssetImporter to not save empty submeshes.
2013-04-13 22:02:24 +00:00
Wei Tjong Yao
4d30392c1c
Added more null check on XMLElement and XPathResultSet classes.
2013-04-13 16:59:52 +00:00
Wei Tjong Yao
e7c46428d5
Fixed XMLElement copy constructor and added assignment operator to handle the xpath_node assignment correctly.
2013-04-13 16:48:02 +00:00
Lasse Öörni
379d786da4
Fixed NinjaSnowWar assets to use 1m world unit.
...
Added GetDistanceToWall() function to NavigationMesh.
NavigationMesh code cleanup.
2013-04-13 13:20:43 +00:00
Wei Tjong Yao
342db6f72b
Fixed indentation calculation for vertically layout UI-element parent. Fixed LineEdit indentation handling on internal objects. Added and exposed functions to determine whether UI-element size is fixed.
2013-04-13 09:59:32 +00:00
Wei Tjong Yao
21a2a008fa
Fixed UI-element debug draw being clipped by clip-border.
2013-04-13 03:50:46 +00:00
Wei Tjong Yao
a16998dc41
Code cleanup.
2013-04-13 00:15:29 +00:00
Wei Tjong Yao
5d698d9ad1
Turned on XPath feature in pugixml thirdparty library. Added new XPath query and resultset wrapper classes and exposed them to Script. Reimplemented UI-element serialization filtering function using XPath query.
2013-04-12 12:20:07 +00:00
Wei Tjong Yao
c31961bd6a
Fixed gcc build.
2013-04-12 00:00:05 +00:00
Lasse Öörni
78a5a2ed89
Updated to newest stable kNet.
2013-04-11 20:59:58 +00:00
Lasse Öörni
362e6a6f95
Added functionality to NavigationMesh.
2013-04-11 07:15:49 +00:00
Wei Tjong Yao
2ffd92b9f0
Code cleanup.
2013-04-11 04:05:31 +00:00
Wei Tjong Yao
e57bc3987b
Serialized UI-element's user variable names in its own UI-element file instead of in scene file. Automatically determine the right UI-element level to perform the serialization when it is being requested. Fixed a bug in Scene class to unregister all the scene variable names when the scene is being cleared.
2013-04-10 17:48:24 +00:00
Wei Tjong Yao
0af8f6afda
Applied the UI-element child sorting fix recursively.
2013-04-10 12:30:08 +00:00
Wei Tjong Yao
f7195a0e6b
Prevent unnecessary update on attribute inspector if it is not showing attributes of UI-element having the attribute changed event detected.
2013-04-10 11:58:45 +00:00
Wei Tjong Yao
5106e4cf00
Fixed the UI-element editor issue caused by child sorting.
2013-04-10 11:49:16 +00:00
Wei Tjong Yao
6925853d0c
Fixed the signature of the UIElement 'parent' property setter.
2013-04-10 08:49:37 +00:00
Wei Tjong Yao
17714cb198
Further fine tuning on the UI subsystem.
2013-04-10 08:38:51 +00:00
Lasse Öörni
c1e1c20ea2
Added documentation page on navigation.
2013-04-09 21:26:10 +00:00
Lasse Öörni
606d374936
Added GetWorldBoundingBox() to CollisionShape.
...
Prefer physics geometry (trimesh, convex hull, box supported) when generating navigation mesh.
2013-04-09 19:02:26 +00:00
Wei Tjong Yao
05fd7419a7
Fixed UI-element debug draw overdrawing the modal element and menu popup. Refactored UI subsystem to support multiple modal elements and auto-dismissal of modal elements when ESC is pressed. The 'Is Modal' attribute of Window UI-element type can be tested in Editor.
2013-04-09 10:32:16 +00:00
Lasse Öörni
56a7f36a0c
Store the indices of a physics convex hull in preparation to using it for navigation data.
...
Generalized the geometry collection list in NavigationMesh to hold any components.
2013-04-09 07:05:10 +00:00
Lasse Öörni
3fac48401a
Added support for partial navmesh rebuild.
...
Added navmesh properties (bounding box, number of tiles) to the script API.
Serialize navmesh tiles directly from Detour data, do not keep a duplicate.
2013-04-08 23:14:47 +00:00
Lasse Öörni
d623481ad0
Changed to use a tiled navmesh to allow for larger navigable areas.
...
Fixed Navigation example using a detached navmesh component if scene was loaded.
2013-04-08 20:42:33 +00:00
Lasse Öörni
3c43ccb3f1
Transform geometry to local space of the navigation mesh root node to allow moving the root without invalidating navigation data.
2013-04-08 16:24:02 +00:00
Wei Tjong Yao
0eced5780e
Implemented 'Save UI-element' functionality (currently the 'UI style' is also getting serialized, which is not preferable). Fixed UI debug draw from being rendered on top of modal window.
2013-04-08 08:15:58 +00:00
Wei Tjong Yao
2e57e55e84
Fixed a bug in XMLElement::RemoveChild() method. Implemented 'Save child UI-element' functionality.
2013-04-08 07:02:05 +00:00
Lasse Öörni
00eac389f9
Added "Is Enabled" attribute to Navigable. This only affects the build process of the navmesh.
2013-04-08 06:42:05 +00:00
Wei Tjong Yao
712de11c99
Debug draw UI-elements in Editor.
2013-04-08 03:51:54 +00:00
Lasse Öörni
be3b304836
Added batch files to start the navigation example.
...
Added recursive flag to Navigable to optionally disable recursive collection of geometries.
Check that Navigable is enabled before collecting navigation geometry.
2013-04-07 22:49:06 +00:00
Lasse Öörni
c11f65dfea
Added FindPath() function to NavigationMesh.
...
Added navigation test script.
2013-04-07 19:12:29 +00:00
Lasse Öörni
a8d9904467
Debug-draw the navmesh.
...
Moved navmesh build data to a separate class so that it's cleaned up automatically when it goes out of scope.
2013-04-07 16:47:21 +00:00
Lasse Öörni
49ec63e620
To be safe, store the navmesh data for later serialization before Recast patches it.
2013-04-07 14:59:27 +00:00
Lasse Öörni
03dce6b988
Serialize navigation data along with the scene.
...
Added icons for Navigable & NavigationMesh.
2013-04-07 11:56:14 +00:00
Wei Tjong Yao
2d8d3705d7
Able to pick non enabled UI-elements as well.
2013-04-07 06:48:41 +00:00
Wei Tjong Yao
1c38290e77
Added functionality to select UI-elements by using cursor (Only enabled elements at this moment). Changed implementation of creating new component so that it also works for multi-edit nodes.
2013-04-07 06:12:57 +00:00
Lasse Öörni
0e713bd509
Generate Recast/Detour data.
2013-04-06 23:28:37 +00:00
Wei Tjong Yao
4d66b554c3
Fixed exit crashes issue in Editor (manifested itself when 'Edit' menu has been popped up).
2013-04-06 15:59:48 +00:00
Wei Tjong Yao
156b69e75a
Fixed duplicate ID when copying/pasting UI-elements having more than one level deep.
2013-04-06 12:22:30 +00:00
Wei Tjong Yao
1230087620
Implemented all the common edit functionalities under 'Edit' menu for UI-element with undo/redo support. Exposed Variant's SetUInt() and GetUInt() to script. Enhanced UIElement's CreateChild() and LoadXML() to insert newly created child at the request child index, added new FindChild() method and exposed it. Added new XMLElement's SetUInt() and GetUInt() methods and exposed them. Simplified the Menu's hover logic to resolve stability issue.
2013-04-06 08:56:41 +00:00