Commit Graph

  • d89b90b096 Slight adjustment to ninja start position. Lasse Öörni 2013-04-27 11:29:08 +0000
  • 4027f650cd Fixed exposing of UIElement::GetDefaultStyle() to script. Documentation update. Lasse Öörni 2013-04-27 11:08:36 +0000
  • 7457923437 Minor code cleanup in Editor app. Wei Tjong Yao 2013-04-27 09:58:29 +0000
  • de3997dcfd Send events for view update begin/end and view render begin/end. Lasse Öörni 2013-04-26 22:56:04 +0000
  • 4e1e1f9ce6 Converted static const String arrays to const char* arrays where applicable. Removed unneeded W32Clock.cpp (old kNet file.) Lasse Öörni 2013-04-26 17:28:18 +0000
  • 7d2c5db872 Differentiate between scene-modified and individual ui-element file-modified in the Editor app. Wei Tjong Yao 2013-04-26 15:31:20 +0000
  • a4479c65ec New UI-element style is applied after removing the 'effect' from the old style. Wei Tjong Yao 2013-04-26 10:00:48 +0000
  • 1b2497dc10 Added new LoadChildXML() method to UIElement and exposed it to Script. Changed Editor app to call LoadChildXML() instead of LoadXML() to prevent child XML-chunk from accidentally modifying the parent element's tyle. Note: child XML-chunk does not require nested element tag anymore. Wei Tjong Yao 2013-04-26 04:11:05 +0000
  • cebf24fdca Minor code cleanup. Lasse Öörni 2013-04-25 21:38:39 +0000
  • 2c10af2385 Reverted back the last changes. Wei Tjong Yao 2013-04-25 15:18:58 +0000
  • 0927d087d4 Added instruction in the child XML-chunks for the Attribute Inspector to skip style processing for the root element as we do not want the child XML-chunk to affect its parent element besides creating new child element as per defined in the chunk. Wei Tjong Yao 2013-04-25 14:56:02 +0000
  • fe5b26abd7 Manipulation of UI-element's style in the Attribute Inspector's Style drop down list is now functional. At the moment new style is applied on top of existing attribute values (i.e. without first removing the effect of existing style). Adjusted DefaultStyle.xml to enable highlight on selected item in DropDownList. Wei Tjong Yao 2013-04-25 14:39:35 +0000
  • 106cb89d56 Allow camera's viewmask to affect which zones are used for rendering. Drawables will be dynamically reassigned into the visible zones when rendering. This adds possibility to render the same scene in eg. an RTT view with a different zone. Lasse Öörni 2013-04-25 12:31:27 +0000
  • 8b6189090f Prevent log spam if a postprocess shader is not found. Lasse Öörni 2013-04-25 07:27:22 +0000
  • 9d507640f7 Exposed Ray<>Frustum HitDistance() to script, and added solidInside parameter to it which determines whether the inside of the frustum is interpreted as solid (return zero distance for rays originating within.) Lasse Öörni 2013-04-24 22:02:02 +0000
  • 8f5623d9bb Renamed RenderPath::LoadParameters() to Load() and ParticleEmitter::LoadParameters() to SetParameters() as LoadParameters() is used in other classes to denote loading of optional parameters, not the main asset itself. Fixed incorrect exposing of BillboardSet::GetMaterial() & ParticleEmitter::GetMaterial() to script. Lasse Öörni 2013-04-24 21:38:09 +0000
  • f4a3014d75 Corrected ShaderCompiler documentation. ShaderCompiler output dir is no longer mandatory, if not specified, will use input dir. Lasse Öörni 2013-04-24 17:05:06 +0000
  • 521ee691c3 Enhanced DropDownList to support showing of placeholder text when there is no selection. The text could be used to show a 'Please choose ...' kind of prompt. Rearranged child XML-chunk resources responsible for Attribute Inspector to remove duplicate definition. Added new child XML-chunk to display and manipulate applied style of the UI-element in the Editor (not yet fully functional). Adjusted DefaultStyle.xml to distinguish between auto and non-auto types. Added new method in Serializable to remove instance default and in UIElement to return applied style name, in preparation for future work. Wei Tjong Yao 2013-04-24 13:34:03 +0000
  • 90233154ab Added padding attribute to NavigationMesh, which expands the bounding box to allow adding geometry in partial rebuilds. Lasse Öörni 2013-04-24 07:30:16 +0000
  • fd8b475a3e Enhanced Attribute Inspector to display 'strike-out' visual cue in DropDownList editor having different values in multi-edit case. Wei Tjong Yao 2013-04-24 02:28:34 +0000
  • a1cd90dff6 Fixed Zone's override-mode and ambient-gradient attribute default value registration. Fixed Editor's hierarchy auto expansion when selecting item via view raycast. Wei Tjong Yao 2013-04-24 01:55:40 +0000
  • 0df99637a0 Updated documentation. Lasse Öörni 2013-04-23 19:04:47 +0000
  • 38498ab24c Completed the OffMeshConnection implementation. Added Ctrl+LMB in the Navigation test to create offmesh connections. Lasse Öörni 2013-04-23 18:43:37 +0000
  • ea2c1f8ae2 Fixed Octree's bounding box attribute default value registration. Wei Tjong Yao 2013-04-23 17:52:40 +0000
  • 79b2fc726c Added option in UI-element editor to show/hide the internal UI-elements, configurable in the editor's preferences window. Adjusted CheckBox UI-element to have fixed size by default. Wei Tjong Yao 2013-04-23 17:36:02 +0000
  • f5aa8898da Fixed UIElement's SetParent() method which was exposed to the Script API with wrong signature previously. Added drag-and-drop support for UI-element in Editor app. Wei Tjong Yao 2013-04-23 16:20:21 +0000
  • da08a0b451 Added New reset-to-default icon in the Attribute Editor. Fixed the reset-to-default functionality to call ApplyAttributes() method after modifying the attribute values. Wei Tjong Yao 2013-04-23 09:38:05 +0000
  • 464335c726 Added OffMeshConnection component. Not yet used in the navigation mesh. Lasse Öörni 2013-04-22 22:45:34 +0000
  • 0ef6e3f135 Added profiling blocks to shader loading. Renamed Engine::DumpProfilingData() to Engine::DumpProfiler() to be shorter to type on the console. Lasse Öörni 2013-04-22 22:11:44 +0000
  • 7d4ee02f53 Compile only Vegatation vertex shaders, combine with LitSolid pixel shaders. Allow a shader definition file to only specify vertex or pixel shaders. Enforce shader definition file structure (must have "shaders" root element.) Removed Skinned & Billboard geometry variations from the Vegetation & TerrainBlend shaders. Lasse Öörni 2013-04-22 19:13:37 +0000
  • 184360dc82 Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work. Wei Tjong Yao 2013-04-22 13:12:52 +0000
  • abae3414ac Applied camera constness patch from Erik Beran. Lasse Öörni 2013-04-22 11:49:56 +0000
  • a698776a66 Added simple swaying vegetation example shader. Lasse Öörni 2013-04-21 22:08:00 +0000
  • d43d14fb1a Added unique icons for UI elements. Lasse Öörni 2013-04-21 21:01:40 +0000
  • 3dac8c7a59 Added setInstanceDefault parameter also to binary serialization. Comments cleanup. Lasse Öörni 2013-04-21 16:53:06 +0000
  • 9bfb0019e3 Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly. Wei Tjong Yao 2013-04-21 14:14:30 +0000
  • d26e2c148a Fixed Text3D in face camera mode becoming invisible after being out of the view frustum due to using old camera position. Lasse Öörni 2013-04-21 11:41:23 +0000
  • 6ce654989b Note that 64-bit Linux requires 32-bit development libraries to be installed. Lasse Öörni 2013-04-21 10:59:22 +0000
  • b495b263e4 Added nullcheck to Window. Lasse Öörni 2013-04-21 10:54:30 +0000
  • 3f3d63280c Fixed infinite raycast returning results that were not hit by the ray. Lasse Öörni 2013-04-21 10:13:31 +0000
  • 28d4ebeb14 In model mode with no animations, optimize nodes away to be able to merge submeshes with same material. Lasse Öörni 2013-04-20 23:29:05 +0000
  • 61538a861f Fixed AssetImporter not writing multiple buffers correctly. Lasse Öörni 2013-04-20 22:10:48 +0000
  • fccdba09c6 Use pointers to cubemap direction vectors to fix static initialization order issues. Fixes point light shadow map on MinGW. Lasse Öörni 2013-04-19 21:49:42 +0000
  • e636733f1a Fixed multiple copies of texture potentially being created for each cursor shape. Lasse Öörni 2013-04-18 22:20:37 +0000
  • 085d26aa98 Fixed animation not updating if AnimatedModel was invisible while an animation played to the end. Fixed event subscription error in TestSceneOld. Lasse Öörni 2013-04-16 22:16:27 +0000
  • 51c1dd3575 Demonstrate Text3D usage in NinjaSnowWar (nametags shown for players other than you.) Do not load font or attempt to create font faces in headless mode. Lasse Öörni 2013-04-16 20:50:15 +0000
  • ae9ff0d8df Store colliding bodies first as weak pointers to allow safe deleting of them during collision event handling. Lasse Öörni 2013-04-16 19:36:29 +0000
  • 1f8b84c4dc Text3D minor code cleanup. Mention Text3D in the rendering documentation. Lasse Öörni 2013-04-15 21:48:54 +0000
  • 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. Lasse Öörni 2013-04-15 21:42:37 +0000
  • f01b491152 Make sure Text3D octree reinsertion is queued when the text geometry changes. Lasse Öörni 2013-04-15 00:30:16 +0000
  • 5bd757850f Added functionality to Text3D. Attributes yet missing. Added missing MarkNetworkUpdate() calls to NavigationMesh. Removed unused parameter from Text::UpdateText(). Lasse Öörni 2013-04-15 00:23:00 +0000
  • d567ef83fc Started work on 3D text component. Lasse Öörni 2013-04-14 18:31:12 +0000
  • 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. Lasse Öörni 2013-04-14 14:50:25 +0000
  • 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. Wei Tjong Yao 2013-04-14 14:03:43 +0000
  • fedccdebd6 Set busy cursor when importing model or scene. Lasse Öörni 2013-04-14 11:24:25 +0000
  • bc4b428295 Allow UI to operate without a defined cursor element, if the operating system cursor is visible. Lasse Öörni 2013-04-14 11:13:15 +0000
  • 37d2911ec8 Fixed AssetImporter to not save empty submeshes. Lasse Öörni 2013-04-13 22:02:24 +0000
  • 4d30392c1c Added more null check on XMLElement and XPathResultSet classes. Wei Tjong Yao 2013-04-13 16:59:52 +0000
  • e7c46428d5 Fixed XMLElement copy constructor and added assignment operator to handle the xpath_node assignment correctly. Wei Tjong Yao 2013-04-13 16:48:02 +0000
  • 379d786da4 Fixed NinjaSnowWar assets to use 1m world unit. Added GetDistanceToWall() function to NavigationMesh. NavigationMesh code cleanup. Lasse Öörni 2013-04-13 13:20:43 +0000
  • 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. Wei Tjong Yao 2013-04-13 09:59:32 +0000
  • 21a2a008fa Fixed UI-element debug draw being clipped by clip-border. Wei Tjong Yao 2013-04-13 03:50:46 +0000
  • a16998dc41 Code cleanup. Wei Tjong Yao 2013-04-13 00:15:29 +0000
  • 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. Wei Tjong Yao 2013-04-12 12:20:07 +0000
  • c31961bd6a Fixed gcc build. Wei Tjong Yao 2013-04-12 00:00:05 +0000
  • 78a5a2ed89 Updated to newest stable kNet. Lasse Öörni 2013-04-11 20:59:58 +0000
  • 362e6a6f95 Added functionality to NavigationMesh. Lasse Öörni 2013-04-11 07:15:49 +0000
  • 2ffd92b9f0 Code cleanup. Wei Tjong Yao 2013-04-11 04:05:31 +0000
  • 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. Wei Tjong Yao 2013-04-10 17:48:24 +0000
  • 0af8f6afda Applied the UI-element child sorting fix recursively. Wei Tjong Yao 2013-04-10 12:30:08 +0000
  • f7195a0e6b Prevent unnecessary update on attribute inspector if it is not showing attributes of UI-element having the attribute changed event detected. Wei Tjong Yao 2013-04-10 11:58:45 +0000
  • 5106e4cf00 Fixed the UI-element editor issue caused by child sorting. Wei Tjong Yao 2013-04-10 11:49:16 +0000
  • 6925853d0c Fixed the signature of the UIElement 'parent' property setter. Wei Tjong Yao 2013-04-10 08:49:37 +0000
  • 17714cb198 Further fine tuning on the UI subsystem. Wei Tjong Yao 2013-04-10 08:38:51 +0000
  • c1e1c20ea2 Added documentation page on navigation. Lasse Öörni 2013-04-09 21:26:10 +0000
  • 606d374936 Added GetWorldBoundingBox() to CollisionShape. Prefer physics geometry (trimesh, convex hull, box supported) when generating navigation mesh. Lasse Öörni 2013-04-09 19:02:26 +0000
  • 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. Wei Tjong Yao 2013-04-09 10:32:16 +0000
  • 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. Lasse Öörni 2013-04-09 07:05:10 +0000
  • 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. Lasse Öörni 2013-04-08 23:14:47 +0000
  • 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. Lasse Öörni 2013-04-08 20:42:33 +0000
  • 3c43ccb3f1 Transform geometry to local space of the navigation mesh root node to allow moving the root without invalidating navigation data. Lasse Öörni 2013-04-08 16:24:02 +0000
  • 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. Wei Tjong Yao 2013-04-08 08:15:58 +0000
  • 2e57e55e84 Fixed a bug in XMLElement::RemoveChild() method. Implemented 'Save child UI-element' functionality. Wei Tjong Yao 2013-04-08 07:02:05 +0000
  • 00eac389f9 Added "Is Enabled" attribute to Navigable. This only affects the build process of the navmesh. Lasse Öörni 2013-04-08 06:42:05 +0000
  • 712de11c99 Debug draw UI-elements in Editor. Wei Tjong Yao 2013-04-08 03:51:54 +0000
  • 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. Lasse Öörni 2013-04-07 22:49:06 +0000
  • c11f65dfea Added FindPath() function to NavigationMesh. Added navigation test script. Lasse Öörni 2013-04-07 19:12:29 +0000
  • 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. Lasse Öörni 2013-04-07 16:47:21 +0000
  • 49ec63e620 To be safe, store the navmesh data for later serialization before Recast patches it. Lasse Öörni 2013-04-07 14:59:27 +0000
  • 03dce6b988 Serialize navigation data along with the scene. Added icons for Navigable & NavigationMesh. Lasse Öörni 2013-04-07 11:56:14 +0000
  • 2d8d3705d7 Able to pick non enabled UI-elements as well. Wei Tjong Yao 2013-04-07 06:48:41 +0000
  • 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. Wei Tjong Yao 2013-04-07 06:12:57 +0000
  • 0e713bd509 Generate Recast/Detour data. Lasse Öörni 2013-04-06 23:28:37 +0000
  • 4d66b554c3 Fixed exit crashes issue in Editor (manifested itself when 'Edit' menu has been popped up). Wei Tjong Yao 2013-04-06 15:59:48 +0000
  • 156b69e75a Fixed duplicate ID when copying/pasting UI-elements having more than one level deep. Wei Tjong Yao 2013-04-06 12:22:30 +0000
  • 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. Wei Tjong Yao 2013-04-06 08:56:41 +0000
  • 360af96588 Instead of just the "generate tangents" toggle, allow to pass any parameters to AssetImporter from the editor. Default "-t". Lasse Öörni 2013-04-05 20:30:09 +0000
  • a69999894b Fixed incorrect default value for WindowResizable (should be false.) Lasse Öörni 2013-04-05 17:22:36 +0000
  • b45fac020f Applied AssetImporter & MathAPI patch from primitivewaste. Lasse Öörni 2013-04-05 06:44:47 +0000
  • 35c2d83370 Added code to collect navigation mesh geometry. Added Recast/Detour build parameters to NavigationMesh. Register navigation components to script. Lasse Öörni 2013-04-04 22:31:22 +0000