Граф коммитов

229 Коммитов

Автор SHA1 Сообщение Дата
Wei Tjong Yao 0c02a88add Supplement documentation regarding UI default style file. 2013-09-16 16:40:19 +00:00
Lasse Öörni 22d579eea7 Documented the need to either specify a UI style file when loading a layout, or having it set to the root element beforehand. 2013-09-16 14:46:26 +00:00
Wei Tjong Yao 27a68828ce Corrected typo in documentation for renderpath's quad command. 2013-09-15 21:10:31 +00:00
Lasse Öörni dda39f2b7d Initial work for serializing Node / Component handles from a script object automatically. 2013-09-15 19:08:05 +00:00
Lasse Öörni 0f5456d35e Avoid unnecessary rendertarget blitting in OpenGL light prepass mode.
Fixed too dark ambient lighting and environment cube mapping in OpenGL deferred mode.
Added new shader function GetQuadTexCoordNoFlip() which can be used to sample regular texture resources in postprocessing quad passes and documented it.
Removed Camera::SetFlipVertical() from the Lua script API as it should only be called internally to handle OpenGL / Direct3D9 differences.
2013-09-14 22:20:39 +00:00
Lasse Öörni 0d478d91ff Updated documentation regarding Engine::Exit(). 2013-09-10 21:37:55 +00:00
Lasse Öörni c089229104 Added documentation on HTTP requests. 2013-09-10 21:33:43 +00:00
Lasse Öörni 05ba4bf719 Favor the non-parented case for SetWorld...() and for updating the world transform.
Explain in documentation that the Scene transform is ignored.
2013-09-04 08:26:47 +00:00
Lasse Öörni c9865078ad List tools in alphabetical order in the documentation; fixed outdated information. 2013-09-02 21:11:28 +00:00
Lasse Öörni 4cc1858329 Removed the old large script example applications and batch files to start them.
Updated documentation for the new sample applications.
Changed the Lua sprite example to use the common sample initialization.
2013-09-02 18:50:15 +00:00
Lasse Öörni 3c6a0f57d7 In the SoundEffects sample, start/stop music when buttons released. 2013-08-31 12:41:37 +00:00
Lasse Öörni e7558a3be9 Demonstrate rolling friction in the Ragdolls sample. 2013-08-24 20:21:16 +00:00
Lasse Öörni 560ffd03c2 Moved the Urho3D application code to Tools directory.
Updated documentation.
2013-08-06 15:09:47 +00:00
Lasse Öörni ae5871d912 Documented Application class.
Added deprecation note to the C++ Quickstart documentation page.
Fixed ScriptCompiler.
2013-07-26 14:04:27 +00:00
Lasse Öörni e908a9076a Support defining different action buttons for different resource types in the editor.
Added functionality to test animations in the editor.
Expose RefCounted class properly to script so that WeakHandle can point to all RefCounted types instead of just Object.
2013-07-20 13:53:42 +00:00
Lasse Öörni 3cd4625ad1 Store shader parameters as Variants to preserve the coordinate count & distinguish between eg. floats and Vector4's.
Fixed Lua API (bindings of RenderSurface object) in OpenGL mode.
2013-07-19 19:58:58 +00:00
Lasse Öörni 6d852735b2 Removed the hacks to detect emulated mouse in NinjaSnowWar.
Modify SDL to remove Android & iOS emulated mouse events, and to detect Windows emulated mouse events and disregard them.
Fixed touch handling in UI.
Added Button::IsPressed() function.
2013-07-14 14:33:51 +00:00
Lasse Öörni c37695b16a For consistency, emulate touch as mouse on all platforms (on Windows it is unavoidable.)
Fix erroneous controls in NinjaSnowWar when touch control is used on Windows.
2013-07-13 16:44:43 +00:00
Lasse Öörni 09463e6963 Documentation edit. 2013-07-08 21:34:48 +00:00
Lasse Öörni ad7b7451b4 As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
Fixed single SDL memory leak on exit.
2013-07-06 12:30:40 +00:00
Lasse Öörni 1114a3fc28 Option to disable the InternalEdgeUtility.
Mention indent spacing in coding conventions.
2013-06-26 08:54:56 +00:00
Lasse Öörni 1fdf228359 Move the AngelScript API registration to the Script library and inverted the Script <-> Engine library dependency.
Move object factory registration into the subsystems where possible.
2013-06-26 00:09:02 +00:00
Lasse Öörni da953b8aa7 Write morph tangents as Vector3's in OgreImporter.
Fixed example particle system description files using wrong attribute name for sorting.
Clarified vertex weight threshold for bone hitbox calculation.
2013-06-16 18:24:31 +00:00
Lasse Öörni 5be5222cb8 Added ParticleEmitter attributes.
Added public API to ParticleEmitter.
Fixed crashes from setting negative element count in editor (number of animation states, billboards etc.)
Limit maximum billboard count due to index data being 16 bit.
2013-06-01 14:26:03 +00:00
Lasse Öörni 3c244f9755 Allow live-reload of particle emitter parameters file.
Allow also specifying emission rate instead of emission interval.
Allow emitting multiple particles per frame if necessary.
Restored the "effect" component category in the editor. ParticleEmitter & DecalSet belong to it now.
2013-05-30 23:20:40 +00:00
Lasse Öörni b8270df90b Added error logging for cases of components in detached nodes trying to find Octree or PhysicsWorld, or subscribing to update events.
Added error logging if a node is moved from one scene to another (unsupported.)
2013-05-24 10:19:46 +00:00
Lasse Öörni 483e07c2e8 Print warning if node is not found for node animation.
Update documentation on playing back node animations.
2013-05-12 16:34:42 +00:00
Lasse Öörni f14cb1aafc Possibly fixed BlenderLoader heap corruption.
Removed incompatible Assimp processing flag.
2013-05-02 21:25:57 +00:00
Lasse Öörni be9cef51a4 AssetImporter Optimize Graph process not done by default, but needs to be manually activated with the -o switch. 2013-05-02 17:18:59 +00:00
Lasse Öörni 8b28c12ae6 Added instancing to the OpenGL renderer, requires the ARB_instanced_arrays extension. 2013-05-01 15:14:31 +00:00
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
Lasse Öörni 4027f650cd Fixed exposing of UIElement::GetDefaultStyle() to script.
Documentation update.
2013-04-27 11:08:36 +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
Lasse Öörni 1f8b84c4dc Text3D minor code cleanup.
Mention Text3D in the rendering documentation.
2013-04-15 21:48:54 +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 c1e1c20ea2 Added documentation page on navigation. 2013-04-09 21:26:10 +00:00
Lasse Öörni b45fac020f Applied AssetImporter & MathAPI patch from primitivewaste. 2013-04-05 06:44:47 +00:00
Lasse Öörni 0705a15c11 Further small fixes to the main loop documentation. 2013-04-01 15:22:55 +00:00
Lasse Öörni 9532e7fdd1 Renamed documentation page. 2013-04-01 15:14:59 +00:00
Lasse Öörni a963ce7d37 Documented missing LogName parameter. 2013-04-01 14:54:03 +00:00
Lasse Öörni b28621a3a4 Documented engine initialization parameters. 2013-04-01 14:33:38 +00:00
Lasse Öörni 5830f0e5d1 Convention change: prefer Enabled instead of Active where possible.
Do not transmit hover to input-disabled UI elements.
Documented the node/component enable/disable mechanism.
2013-03-26 00:37:02 +00:00
Lasse Öörni 6fe17dd966 Documentation and wiki update. 2013-03-24 23:07:58 +00:00
Lasse Öörni b4599e046d Hardware sRGB texture support. OpenGL sRGB framebuffer writing implementation still missing. 2013-03-24 20:05:08 +00:00
Lasse Öörni 5160610e25 Refactored freely rotating / scaling UIElements into a separate Sprite class; removed rotation from the base class as it would not work correctly with element hierarchies in most cases. 2013-03-23 17:50:11 +00:00
Lasse Öörni 852047545e Added section on bytecode precompilation to the scripting documentation page.
ScriptInstance sends an event when the script object is created, so that the attribute inspector can be refreshed in case attributes change.
2013-03-18 22:55:41 +00:00
Lasse Öörni 7c1ed151fa Merged the functionality of ScriptCompiler & ScriptAPIDumper. 2013-03-18 14:13:01 +00:00
Lasse Öörni 74c01e7da5 Added compiled AngelScript bytecode support.
Removed unnecessary nullcheck from View.
TODO: merge ScriptCompiler & ScriptAPIDumper.
2013-03-18 08:09:27 +00:00
Lasse Öörni 55f249e548 Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
Separate script object functions for file and network serialization.
Fixed crashes in some factory instantiated classes when running without all subsystems.
Fixed crash if calling BringToFront() for a detached UI element.
Always create UI root element, even in headless mode.
Do not abort binary format scene loading if loading a component fails, as it is being read from a nested buffer and we can skip to the next.
2013-03-16 12:53:40 +00:00