Lasse Öörni
|
4625dc78a2
Applied contact processing threshold patch from primitivewaste.
|
12 лет назад |
Lasse Öörni
|
7ba580852d
Allow custom forward base, lighting and alpha pass names by defining metadata in the render path, and allowing the forwardlights command to specify the pass name to use.
|
12 лет назад |
Wei Tjong Yao
|
dcf9099d1f
Modified the SetStyle() and SetStyleAuto() methods of UIElement class to return a bool indicating whether the operation is successful. In Editor app, when fails to set to a requested icon type then automatically set to an 'unknown' icon type.
|
12 лет назад |
Lasse Öörni
|
de3997dcfd
Send events for view update begin/end and view render begin/end.
|
12 лет назад |
Wei Tjong Yao
|
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.
|
12 лет назад |
Lasse Öörni
|
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.)
|
12 лет назад |
Lasse Öörni
|
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.
|
12 лет назад |
Wei Tjong Yao
|
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.
|
12 лет назад |
Lasse Öörni
|
90233154ab
Added padding attribute to NavigationMesh, which expands the bounding box to allow adding geometry in partial rebuilds.
|
12 лет назад |
Wei Tjong Yao
|
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.
|
12 лет назад |
Wei Tjong Yao
|
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.
|
12 лет назад |
Lasse Öörni
|
0ef6e3f135
Added profiling blocks to shader loading.
|
12 лет назад |
Wei Tjong Yao
|
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.
|
12 лет назад |
Lasse Öörni
|
abae3414ac
Applied camera constness patch from Erik Beran.
|
12 лет назад |
Lasse Öörni
|
3dac8c7a59
Added setInstanceDefault parameter also to binary serialization.
|
12 лет назад |
Wei Tjong Yao
|
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.
|
12 лет назад |
Lasse Öörni
|
56fbf5a1e9
Added attributes to Text3D.
|
12 лет назад |
Lasse Öörni
|
5bd757850f
Added functionality to Text3D. Attributes yet missing.
|
12 лет назад |
Lasse Öörni
|
9132ea611c
Removed shadow bias adjustment according to shadow map resolution, as it causes the amount of "peter panning" to change.
|
12 лет назад |
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.
|
12 лет назад |
Lasse Öörni
|
379d786da4
Fixed NinjaSnowWar assets to use 1m world unit.
|
12 лет назад |
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.
|
12 лет назад |
Wei Tjong Yao
|
21a2a008fa
Fixed UI-element debug draw being clipped by clip-border.
|
12 лет назад |
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.
|
12 лет назад |
Lasse Öörni
|
362e6a6f95
Added functionality to NavigationMesh.
|
12 лет назад |
Wei Tjong Yao
|
17714cb198
Further fine tuning on the UI subsystem.
|
12 лет назад |
Lasse Öörni
|
606d374936
Added GetWorldBoundingBox() to CollisionShape.
|
12 лет назад |
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.
|
12 лет назад |
Lasse Öörni
|
3fac48401a
Added support for partial navmesh rebuild.
|
12 лет назад |
Wei Tjong Yao
|
712de11c99
Debug draw UI-elements in Editor.
|
12 лет назад |