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.
2013-04-28 11:45:10 +00:00
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.
2013-04-28 06:26:03 +00:00
Lasse Öörni
3279cc74fc
Updated changelog.
2013-04-27 23:12:31 +00:00
Lasse Öörni
8833a01ff9
Removed debug print.
2013-04-27 18:16:47 +00:00
Lasse Öörni
d89b90b096
Slight adjustment to ninja start position.
2013-04-27 11:29:08 +00:00
Lasse Öörni
4027f650cd
Fixed exposing of UIElement::GetDefaultStyle() to script.
...
Documentation update.
2013-04-27 11:08:36 +00:00
Wei Tjong Yao
7457923437
Minor code cleanup in Editor app.
2013-04-27 09:58:29 +00:00
Lasse Öörni
de3997dcfd
Send events for view update begin/end and view render begin/end.
2013-04-26 22:56:04 +00:00
Lasse Öörni
4e1e1f9ce6
Converted static const String arrays to const char* arrays where applicable.
...
Removed unneeded W32Clock.cpp (old kNet file.)
2013-04-26 17:28:18 +00:00
Wei Tjong Yao
7d2c5db872
Differentiate between scene-modified and individual ui-element file-modified in the Editor app.
2013-04-26 15:31:20 +00:00
Wei Tjong Yao
a4479c65ec
New UI-element style is applied after removing the 'effect' from the old style.
2013-04-26 10:00:48 +00:00
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.
2013-04-26 04:11:05 +00:00
Lasse Öörni
cebf24fdca
Minor code cleanup.
2013-04-25 21:38:39 +00:00
Wei Tjong Yao
2c10af2385
Reverted back the last changes.
2013-04-25 15:18:58 +00:00
Wei Tjong Yao
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.
2013-04-25 14:56:02 +00:00
Wei Tjong Yao
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.
2013-04-25 14:39:35 +00:00
Lasse Öörni
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.
2013-04-25 12:31:27 +00:00
Lasse Öörni
8b6189090f
Prevent log spam if a postprocess shader is not found.
2013-04-25 07:27:22 +00:00
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.)
2013-04-24 22:02:02 +00:00
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.
...
Fixed incorrect exposing of BillboardSet::GetMaterial() & ParticleEmitter::GetMaterial() to script.
2013-04-24 21:38:09 +00:00
Lasse Öörni
f4a3014d75
Corrected ShaderCompiler documentation.
...
ShaderCompiler output dir is no longer mandatory, if not specified, will use input dir.
2013-04-24 17:05:06 +00:00
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.
2013-04-24 13:34:03 +00:00
Lasse Öörni
90233154ab
Added padding attribute to NavigationMesh, which expands the bounding box to allow adding geometry in partial rebuilds.
2013-04-24 07:30:16 +00:00
Wei Tjong Yao
fd8b475a3e
Enhanced Attribute Inspector to display 'strike-out' visual cue in DropDownList editor having different values in multi-edit case.
2013-04-24 02:28:34 +00:00
Wei Tjong Yao
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.
2013-04-24 01:55:40 +00:00
Lasse Öörni
0df99637a0
Updated documentation.
2013-04-23 19:04:47 +00:00
Lasse Öörni
38498ab24c
Completed the OffMeshConnection implementation.
...
Added Ctrl+LMB in the Navigation test to create offmesh connections.
2013-04-23 18:43:37 +00:00
Wei Tjong Yao
ea2c1f8ae2
Fixed Octree's bounding box attribute default value registration.
2013-04-23 17:52:40 +00:00
Wei Tjong Yao
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.
2013-04-23 17:36:02 +00:00
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.
2013-04-23 16:20:21 +00:00
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.
2013-04-23 09:38:05 +00:00
Lasse Öörni
464335c726
Added OffMeshConnection component. Not yet used in the navigation mesh.
2013-04-22 22:45:34 +00:00
Lasse Öörni
0ef6e3f135
Added profiling blocks to shader loading.
...
Renamed Engine::DumpProfilingData() to Engine::DumpProfiler() to be shorter to type on the console.
2013-04-22 22:11:44 +00:00
Lasse Öörni
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.
2013-04-22 19:13:37 +00:00
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.
2013-04-22 13:12:52 +00:00
Lasse Öörni
abae3414ac
Applied camera constness patch from Erik Beran.
2013-04-22 11:49:56 +00:00
Lasse Öörni
a698776a66
Added simple swaying vegetation example shader.
2013-04-21 22:08:00 +00:00
Lasse Öörni
d43d14fb1a
Added unique icons for UI elements.
2013-04-21 21:01:40 +00:00
Lasse Öörni
3dac8c7a59
Added setInstanceDefault parameter also to binary serialization.
...
Comments cleanup.
2013-04-21 16:53:06 +00:00
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.
2013-04-21 14:14:30 +00:00
Lasse Öörni
d26e2c148a
Fixed Text3D in face camera mode becoming invisible after being out of the view frustum due to using old camera position.
2013-04-21 11:41:23 +00:00
Lasse Öörni
6ce654989b
Note that 64-bit Linux requires 32-bit development libraries to be installed.
2013-04-21 10:59:22 +00:00
Lasse Öörni
b495b263e4
Added nullcheck to Window.
2013-04-21 10:54:30 +00:00
Lasse Öörni
3f3d63280c
Fixed infinite raycast returning results that were not hit by the ray.
2013-04-21 10:13:31 +00:00
Lasse Öörni
28d4ebeb14
In model mode with no animations, optimize nodes away to be able to merge submeshes with same material.
2013-04-20 23:29:05 +00:00
Lasse Öörni
61538a861f
Fixed AssetImporter not writing multiple buffers correctly.
2013-04-20 22:10:48 +00:00
Lasse Öörni
fccdba09c6
Use pointers to cubemap direction vectors to fix static initialization order issues. Fixes point light shadow map on MinGW.
2013-04-19 21:49:42 +00:00
Lasse Öörni
e636733f1a
Fixed multiple copies of texture potentially being created for each cursor shape.
2013-04-18 22:20:37 +00:00
Lasse Öörni
085d26aa98
Fixed animation not updating if AnimatedModel was invisible while an animation played to the end.
...
Fixed event subscription error in TestSceneOld.
2013-04-16 22:16:27 +00:00
Lasse Öörni
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.
2013-04-16 20:50:15 +00:00