Lasse Öörni
|
8b28c12ae6
Added instancing to the OpenGL renderer, requires the ARB_instanced_arrays extension.
|
il y a 12 ans |
Wei Tjong Yao
|
703d4fb10d
Fixed text rendering in Chat example app due to DefaultStyle.xml changes (Bug exists in the last release tag v1.23). Minor documentation fixed on NinjaSnowWar app. Cleaned up DefaultStyle.xml even more to remove repeating attribute declaration by taking advantage of the style inheritance feature. Changed the semantic of UIElement's style property in Script.
|
il y a 12 ans |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
il y a 12 ans |
Wei Tjong Yao
|
8d1c28bc3e
Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration.
|
il y a 12 ans |
Lasse Öörni
|
4625dc78a2
Applied contact processing threshold patch from primitivewaste.
|
il y a 12 ans |
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.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
de3997dcfd
Send events for view update begin/end and view render begin/end.
|
il y a 12 ans |
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.
|
il y a 12 ans |
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.)
|
il y a 12 ans |
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.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
90233154ab
Added padding attribute to NavigationMesh, which expands the bounding box to allow adding geometry in partial rebuilds.
|
il y a 12 ans |
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.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
0ef6e3f135
Added profiling blocks to shader loading.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
abae3414ac
Applied camera constness patch from Erik Beran.
|
il y a 12 ans |
Lasse Öörni
|
3dac8c7a59
Added setInstanceDefault parameter also to binary serialization.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
56fbf5a1e9
Added attributes to Text3D.
|
il y a 12 ans |
Lasse Öörni
|
5bd757850f
Added functionality to Text3D. Attributes yet missing.
|
il y a 12 ans |
Lasse Öörni
|
9132ea611c
Removed shadow bias adjustment according to shadow map resolution, as it causes the amount of "peter panning" to change.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
379d786da4
Fixed NinjaSnowWar assets to use 1m world unit.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Wei Tjong Yao
|
21a2a008fa
Fixed UI-element debug draw being clipped by clip-border.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
362e6a6f95
Added functionality to NavigationMesh.
|
il y a 12 ans |
Wei Tjong Yao
|
17714cb198
Further fine tuning on the UI subsystem.
|
il y a 12 ans |