Lasse Öörni
bb03eb0f12
Moved the transformation of AngelScript function name to void signature to GetFunction() / GetMethod() to allow all of execute, delayed execute and event subscription to handle either a function name or full signature. Added HasMethod() to ScriptInstance to allow checking for existence of function (avoid error log print in cases where an "optional" function is being called on a script object.) Updated scripting documentation.
2015-05-19 17:27:58 +03:00
Mike3D
5bf52beb81
Small Urho2D documentation update based on forum questions
2015-05-19 14:37:57 +02:00
JSandusky
4fd8bc00d6
Updates to Navigation documentation
2015-05-14 23:43:11 -04:00
Lasse Öörni
1826c7ee55
Minor render path documentation edits.
2015-05-07 22:27:59 +03:00
Lasse Öörni
15f338b3c0
Allow RenderPath to define cube map rendertargets. Allow RenderPath to refer to rendertargets created programmatically and stored as named manual resources.
2015-05-07 18:56:00 +03:00
Lasse Öörni
da7dda75c0
Added contributor credit and brief documentation section on the crowd navigation.
2015-05-05 17:33:38 +03:00
Lasse Öörni
0235c02653
Expose Geometry, IndexBuffer & VertexBuffer to script, with VB & IB content access using VectorBuffer. AngelScript 34_DynamicGeometry example. Lua version to follow.
2015-04-27 10:29:38 +03:00
Lasse Öörni
f9c8cb073a
Documented material fill mode.
2015-04-20 11:19:52 +03:00
Yao Wei Tjong 姚伟忠
b7f0a1807f
Minor documentation update on the build options section.
...
Add a simple usage instruction on build scripts error.
Related to issues #697 and #698 .
2015-04-09 22:27:51 +08:00
Lasse Öörni
d06ffe1445
Merge pull request #680 from urho3d/render-refactor
...
Render refactor
2015-03-24 23:34:39 +02:00
Lasse Öörni
b8c7c59eca
Configure amount of allowed bones for hardware skinning based on the rendering API. Allow 128 bones on Direct3D 11 & OpenGL 3. Add -mb (maxbones) parameter to AssetImporter & OgreImporter. When using OpenGL 3, allow deferred rendering to use different MRT formats without forcing an RGBA substitute rendertarget.
2015-03-21 23:22:08 +02:00
Lasse Öörni
a363fa2b0e
Update documentation related to DirectX SDK and shader compiling.
2015-03-21 13:31:01 +02:00
Lasse Öörni
0e17c34570
Typo fix and minor documentation tweak.
2015-03-20 01:17:05 +02:00
Lasse Öörni
99e49ac3b8
Add an 8-bit timestamp to client controls, which gets incremented on each sent update. Echo this timestamp back in server updates sent to client. Allow to intercept network attribute updates into an event instead of applying them immediately, to facilitate implementing application-level client prediction. Add simulated latency & packet loss parameters to Network. Note that these changes break protocol compatibility with earlier Urho3D releases.
2015-03-20 01:05:11 +02:00
Lasse Öörni
006c17f78e
Added command line & engine startup option to disable OpenGL 3.
2015-03-17 20:44:49 +02:00
Lasse Öörni
5ba234e68c
Minor documentation tweaks.
2015-03-17 02:15:58 +02:00
Lasse Öörni
07a75dc37b
Initial OpenGL 3.2 support.
2015-03-16 23:36:35 +02:00
Lasse Öörni
2858755334
Log missing vertex element(s) when vertex layout fails to create. Add texcoords to the editor grid to keep D3D11 happy.
2015-03-15 00:23:49 +02:00
Lasse Öörni
e17a88b46f
GetData() on D3D11 for Texture3D & TextureCube.
2015-03-13 09:09:41 +02:00
Lasse Öörni
3759570319
Remove rrr swizzle from lighting shaders to allow the spotlight to be colored. Convert the default spot textures to RGB color to avoid sampling only the R channel on D3D11.
2015-03-12 21:25:42 +02:00
Lasse Öörni
e106f1b389
D3D11 clip plane support. Check that multisample level is supported. Various shader fixes.
2015-03-08 02:57:08 +02:00
Lasse Öörni
b9278e0a94
Implement partial rendertarget clear on D3D11. Implement Graphics::ResolveToTexture() on D3D11. Fix most post-process shaders on D3D11. Readded the custom constant buffer slot. Update documentation.
2015-03-07 23:02:31 +02:00
Lasse Öörni
88080dad31
Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function.
2015-02-21 20:53:12 +02:00
Yao Wei Tjong 姚伟忠
8471dcf3e4
Add option to package resource dirs and treat those dirs as build deps.
...
Fix static library building using emar instead of ar (from host compiler toolchain).
2015-02-13 21:31:59 +08:00
Lasse Öörni
5ab72bf620
Merge remote-tracking branch 'friesencr/sprite_packer'
2015-02-09 23:40:09 +02:00
Chris Friesen
6f383f64df
SpritePacker cli
2015-02-07 12:40:01 -06:00
Lasse Öörni
bb2ebf7568
Bump copyright to 2015.
2015-01-31 21:03:53 +02:00
Mike3D
fbc7c06929
Typo
2015-01-31 14:51:08 +01:00
Mike3D
5a7523eddd
Urho2D documentation enhancement
2015-01-31 11:23:19 +01:00
Lasse Öörni
40879a3b49
Fix includes and namespace in the application C++ example.
2015-01-21 18:18:06 +02:00
Yao Wei Tjong 姚伟忠
05dd995b85
Refactor all the codes and scripts to use the renamed 'bin' subdir.
2015-01-18 21:40:54 +08:00
Lasse Öörni
0b3e6e2bbb
Added "renderui" render path command to render the UI into an arbitrary rendertarget. This disables the default UI render to the backbuffer. Removed functions from UI Lua API that shouldn't be exposed to scripting (update, render.)
2015-01-10 21:10:18 +02:00
Lasse Öörni
64cb9cd104
Use shadow pass to render depth in ForwardHWDepth, so that linear depth is not calculated unnecessarily.
2015-01-10 19:53:25 +02:00
Lasse Öörni
b6caeb02a5
Document depth rendering. Disable depth write when sampling a HW depth texture. Disable stencil optimizations when using a custom depth texture, as in that case stencil channel availability can't be guaranteed. Changed -renderpath command line option to use the full resource name instead of defaulting to the RenderPaths directory. Removed test code from ForwardHWDepth renderpath. Closes #597 .
2015-01-10 15:54:00 +02:00
Yao Wei Tjong 姚伟忠
325a4f7365
Refactor to use the newly renamed Source/Urho3D directory.
2015-01-04 22:32:40 +08:00
Yao Wei Tjong 姚伟忠
d75c592bd2
Add new engine parameter to set the location of resource prefix path.
...
Remove temporary measure instead use the new URHO3D_PREFIX_PATH environment variable to set the resource prefix path for testing the executables.
2015-01-04 22:32:38 +08:00
Lasse Öörni
a8f93ebb70
Fix ObjectAnimation example in docs.
2014-12-16 16:47:32 +02:00
Lasse Öörni
3bf80a5aa2
Cleanup AttributeAnimation docs.
2014-12-16 11:46:49 +02:00
Alex Parlett
c2110573c6
[Added] Documentation
...
[Added] Sound Type saving in editor
[Changed] Refactored inline with discussion
2014-12-13 09:09:56 +00:00
Lasse Öörni
23a4856b89
Document object attribute and event helper macros. Minor documentation cleanup.
2014-12-04 11:53:48 +02:00
Lasse Öörni
8b22c32f4c
Copy the Input::SetMouseMode() documentation also on the Input documentation page.
2014-11-15 20:32:09 +02:00
Lasse Öörni
943a2c348b
Added mechanism to limit material techniques on desktop hardware. Closes #516 .
2014-11-07 17:33:22 +02:00
Lasse Öörni
b65bb59092
Configurable maximum substeps per frame in PhysicsWorld. Zero (default) = unlimited, positive = limited, negative = adaptive timestep, always 1 per rendering frame. Adaptive step is not recommended when consistent physics behavior is desired.
2014-11-03 18:30:05 +02:00
Jonne Nauha
66913cf103
Engine: New WindowPositionX/Y init params. Sets initial window position prior to SetMode that creates the window.
2014-10-28 01:57:43 +02:00
Lasse Öörni
d7924f907f
Added glyph offset functionality to Font. Closes #13 .
2014-10-25 23:11:49 +03:00
Lasse Öörni
3f51cee989
Give Data directory priority over CoreData. Give autoload paths priority over the default directories/packages. Fix the resource path/package add priority (index) having no effect, which would result in the editor not giving highest priority to the user's resource data directory. Closes #499 .
2014-10-23 11:23:34 +03:00
Yao Wei Tjong 姚伟忠
1f91109413
Minor typo correction on the String::Compare() method.
2014-10-15 12:54:35 +08:00
Lasse Öörni
64929dc50d
Add possibility to disable RigidBody mass update to optimize performance when using several collisionshapes in the same node. Closes #489 .
2014-10-14 00:41:12 +03:00
Lasse Öörni
7f4b8e5b35
Allow controlling per-viewport if debug geometry should be rendered, instead of hardcoding to just backbuffer views.
2014-10-01 21:15:30 +03:00
Lasse Öörni
cb0103d518
Require always registering remote events for reception. Implement a fixed blacklist of remote events that can not be registered (see Network.cpp). Removed obsolete E_WINDOWMESSAGE event definition.
2014-09-29 14:23:41 +03:00
Lasse Öörni
d1bd8d961b
Added ParticleEditor2D to Related Projects. Removed BlenderExporter section from Tools page, instead mention it in AssetImporter's section as an alternative.
2014-09-26 12:18:57 +03:00
Mike3D
ec188940e7
Add external links
...
Note: Blender add-on is not part of the 'Tools' folder, but I think it fits well in the Tools section.
2014-09-24 14:52:39 +02:00
Mike3D
e142f4f350
Revert back for Animated sprites documentation
2014-09-22 08:45:42 +02:00
Mike3D
18916bb3fd
Fix Animated sprites documentation
2014-09-21 08:57:01 +02:00
Lasse Öörni
e9f0baa398
Remote event registration is checked only when receiving.
2014-09-21 00:12:49 +03:00
Lasse Öörni
f1e25381a3
Support single image splitting for cube maps. Closes #445 .
2014-09-13 15:33:55 +03:00
Yao Wei Tjong 姚伟忠
b4e857ab4f
Set all the headings in Urho2D and scripting API pages to proper case.
2014-09-10 13:06:38 +08:00
Lasse Öörni
6e42d3fc5a
Minor doc edits.
2014-08-30 13:29:32 +03:00
Mike3D
51b95f5bfb
Added TileMap
2014-08-30 10:43:29 +02:00
Chris Friesen
d12ec82b37
Fix reference to spritehelper url thx Mike3D
2014-08-26 01:01:44 -05:00
Lasse Öörni
0472b4d410
Allow sending client observer rotation in addition to position. Note that rotation is not used by the NetworkPriority component, but can be used for custom logic. Do not send the observer pos/rot until actually set by the client. Closes #428 .
2014-08-24 02:42:27 +03:00
Lasse Öörni
6d5c73a15f
Note that client cameras should be created into a local node in networked applications.
2014-08-07 10:45:50 +03:00
Lasse Öörni
ad737e0d6e
Documentation for background resource loading. Expanded Scene::LoadAsync() to either background load resources only, load scene + resources synchronously, or background load resources first, then load the scene. Closes #406 .
2014-07-24 22:45:31 +03:00
Lasse Öörni
df67ccdac7
Merge branch 'master' into threaded-resource-load
2014-07-22 22:33:43 +03:00
Lasse Öörni
4a9ab417a8
As a possible fix to #409 , remove the optimization to not mark a node dirty again if it is already dirty. As a consequence the TransformChanged() script function will work more logically. This change would cause reduced performance with a large amount of animating models; to counteract, introduce a "silent update" mechanism for node transforms.
2014-07-22 22:20:14 +03:00
Lasse Öörni
346da1e1f9
Detect main thread when sending events or using profiler blocks; make these no-ops when called from outside the main thread.
2014-07-20 21:32:55 +03:00
Lasse Öörni
e82b3d53a1
Added support for zones defining a texture (either cube or 3D), that will be available in pixel shaders when rendering objects inside the zone.
2014-07-16 16:30:08 +03:00
Lasse Öörni
2f29b3a5c0
Update documentation to not refer to ShortStringHash.
2014-06-29 19:36:14 +03:00
Lasse Öörni
542fa82595
Update documentation. Remove unneeded friend class definition.
2014-06-16 23:02:45 +03:00
Mike3D
7118ecc89b
Urho2D documentation update
2014-06-06 20:03:44 +02:00
Lasse Öörni
a089b95d16
Minor documentation wording tweaks.
2014-05-19 10:54:13 +03:00
Mike3D
557f85461e
Improved Urho2D and gesture documentation.
2014-05-18 11:43:08 +02:00
Lasse Öörni
c4b337d6b2
Removed outdated documentation on material shader parameters. Added a partial list of engine inbuilt shader uniforms.
2014-05-15 17:07:02 +03:00
Lasse Öörni
affc8df912
Fix duplicate page/section name causing Physics page link to lead to Urho2D page. Closes #338 .
2014-05-04 17:06:17 +03:00
aster2013
ab15bf2528
Update Urho2D documentation, it is written by Mike3D, Thanks. [ci skip]
2014-05-03 20:07:18 +08:00
Lasse Öörni
981b5bcac4
Use viewport sized intermediate rendertargets so that pixels outside the viewport never leak into post-processing. Added viewport multiplier mode to renderpath definition. Closes #265 .
2014-05-02 22:47:13 +03:00
Yao Wei Tjong 姚伟忠
6ad8c14346
Add engine param for enabling touch emulation during initialization.
...
Adjust sample base class to add screen joystick on desktop platform when touch emulation is enabled.
2014-04-29 10:36:43 +08:00
Lasse Öörni
cbf91aaa8a
Add touch emulation stationary fingers for multi-gestures by pressing down other mouse buttons than the left.
2014-04-28 22:51:55 +03:00
Lasse Öörni
572167b90e
Document the touch emulation feature briefly.
2014-04-28 21:36:41 +03:00
aster
b7d536bb5e
Update attribute animation doc. [ci skip]
2014-04-21 19:11:20 +08:00
Lasse Öörni
955a8bb34e
Joystick refactoring after merging the joystick pull request from thebluefish.
...
- Fixed "ghost" buttons due to setting button down state both by joystick button and controller button mapping.
- Fixed missing name in joystick state.
- Allow getting joystick state both by joystick ID (Input::GetJoystick()) and a zero-based index (Input::GetJoystickByIndex()).
- Fixed ambiguity in Input class parameter names whether functions take a joystick ID, or an index. Most take joystick ID by now.
- Controller events removed. Controller joysticks will receive ordinary joystick events, but with controller axis & button mappings.
- Joystick identifying parameter in joystick events changed to JoystickID to denote that it's an ID and not a zero-based index.
- Code convention edits to Input code.
2014-04-18 23:33:25 +03:00
Lasse Öörni
0c219cfb35
Document the AutoloadPaths engine startup parameter. Copy also the Extra directory in the Android CopyData batch file.
2014-04-18 00:52:43 +03:00
Lasse Öörni
5b4da41b10
Code cleanup, renamed command line option. Updated AssetImporter documentation.
2014-04-17 15:07:35 +03:00
Lasse Öörni
67e46f1d71
Improve Input documentation. Reorder InputEvents.h to match the order in documentation.
2014-04-16 10:45:12 +03:00
Lasse Öörni
b2b4d4f7da
Correct touch gesture term in documentation.
2014-04-15 23:58:04 +03:00
Lasse Öörni
9906e7ed25
Gesture recording/load/save support and gesture events. SDL fixes to gesture events. Closes #304 .
2014-04-15 23:48:04 +03:00
aster
098d75bad2
Update Docs/Reference.dox. [ci skip]
2014-04-11 15:53:52 +08:00
Aster Jian
dfbaee4563
Add attribute animation doc.[ci skip]
2014-04-11 12:54:50 +08:00
Lasse Öörni
504d6a5137
Minor edits of the contribution checklist documentation.
2014-04-09 17:19:39 +03:00
Yao Wei Tjong 姚伟忠
46285baf97
Refactor build scripts to group Urho3D specific build option.
...
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
Lasse Öörni
6bfcc28010
Allow a pass to be marked as SM3-only, so that rendering limitations can be defined as data-driven instead of hardcoding in the engine. Moved specular disable for SM2 shadowed pointlight from code to shaders. Mention in the documentation that some materials may be too complex for SM2 and dynamic shadows.
2014-03-31 01:17:00 +03:00
Lasse Öörni
1418fb7e83
Changed the SM2.0 tradeoffs to allow 4-sample shadow mapping and to verify that shaders again work on GPU's without hardware shadow compare (eg. Radeon 9800.) Removed unnecessary shader code & simplified the LitSolid & light volume shaders.
2014-03-30 20:27:15 +03:00
Lasse Öörni
c3425334a3
Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276 .
2014-03-30 00:44:07 +02:00
Lasse Öörni
35195939c1
Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters.
2014-03-28 00:23:31 +02:00
aster2013
d444df2c22
Update documentation.[ci skip]
2014-03-26 12:36:14 +08:00
Alex Parlett
a22a24c0e4
Rename RigidBody::Phantom to RigidBody::Trigger to align it with common terminology for physics.
2014-03-24 20:44:34 +00:00
Lasse Öörni
e8c550a98f
Added documentation for the sound streaming feature.
2014-03-19 12:28:11 +02:00
Lasse Öörni
8bf5af9261
Added note that tangents are needed for normal mapping. Clean up SoundSource decoder handling to prepare for application-supplied sound stream.
2014-03-18 15:20:19 +02:00
Yao Wei Tjong 姚伟忠
2404505ff7
Minor typo fix for documentation. [ci skip]
2014-03-18 13:47:10 +08:00
aster2013
87df3902da
Update Urho2D Documention.[ci skip]
2014-03-17 11:15:32 +08:00
Lasse Öörni
1d9d0a5736
Synchronize keycode constants with SDL. This changes some constants, like NUMPAD -> KP_. Added SDL scancode constants. Added polling of keys by scancodes, and scancodes into key events. Added conversion functions from keycode to scancode and vice versa, and functions to get key names. Closes #254 .
2014-03-15 18:15:11 +02:00
Yao Wei Tjong 姚伟忠
f2c5f1573c
Minor typo fix on documentation. [ci skip]
2014-03-14 17:49:20 +08:00
Lasse Öörni
f9ff9550bd
Added documentation on light brightness and negative lights.
2014-03-13 14:25:07 +02:00
Lasse Öörni
814480fff5
Improved zone gradient documentation.
2014-03-11 11:03:12 +02:00
Lasse Öörni
fb3306170e
Material quality, texture quality, texture filter mode and anisotropy level as engine startup parameters and command line options. Closes #241 .
2014-03-09 19:36:40 +02:00
Lasse Öörni
435ccc4f38
Fixed Box2D compile on Android. Added Box2D license to the root License.txt file.
2014-03-07 14:58:00 +02:00
Lasse Öörni
45c2cb8a1e
Added note of URHO3D_API macro in the contribution instructions.
2014-03-06 17:32:11 +02:00
Lasse Öörni
8663f44221
Added a guideline / checklist documentation page for contributing.
2014-03-05 21:21:45 +02:00
Lasse Öörni
0cf91f489b
Changelog for upcoming release.
2014-03-05 15:04:13 +02:00
Lasse Öörni
4c67f1b254
Added mention of the Urho2D components to Rendering page.
2014-03-05 11:23:41 +02:00
Lasse Öörni
bfd968f9d7
Removed the base batch / non-base batch separation from BatchGroup. This is only needed for light queues, so rather have LightBatchQueue have separate queues for base & non-base.
...
Removed useScissor -flag from render path commands, as it can be automatically determined when it should be used.
2014-02-23 21:16:54 +02:00
Lasse Öörni
2c255f7c53
More fixes for outdated documentation.
2014-02-17 23:57:13 +02:00
Lasse Öörni
5a6a11c521
Minor documentation / comment fixes.
2014-02-17 23:43:59 +02:00
Lasse Öörni
cc9e5e1994
Moved to XML based shader precache files. Refactored shader precaching code to its own class. Closes #199 .
2014-02-17 22:19:55 +02:00
Lasse Öörni
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
...
Moved GetShader() from Renderer subsystem to Graphics, which is more logical as loading shaders is a low-level operation, while Renderer should be concerned with high-level rendering of 3D scenes. Now eg. UI does not need to depend on Renderer at all.
Simplified internal state of ShaderVariation & ShaderProgram objects, the success of compile/link can be deduced from the presence of a non-null GPU object.
Fixed FILE_READWRITE mode to not clear the file contents, and to handle alternating reads and writes correctly.
2014-02-16 22:23:07 +02:00
Lasse Öörni
47836474e2
Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant.
...
Important: when you assign a non-RefCounted object as a void pointer to a Variant, you must now retrieve it with GetVoidPtr() instead.
The legacy methods in AngelScript for obtaining object handles from Variant, ie. GetNode(), GetUIElement() etc. still exist, but are considered deprecated.
2014-02-15 19:22:29 +02:00
Lasse Öörni
4c02e19352
Increased the OpenGL ES constant depth bias adjustment to reduce self-shadowing artifacts. Do not use cascaded shadow mapping on OpenGL ES, so that the low quality shadow mode can avoid dependent texture reads altogether for much higher performance on iOS. Updated documentation of the GetPlatform() function.
2014-02-15 00:54:54 +02:00
Lasse Öörni
6a760116ff
Added note on implementing scene logic, and that you should not subclass Node.
2014-02-13 11:43:42 +02:00
Lasse Öörni
00cf05c2a2
Document what is unsafe in WorkQueue work functions.
2014-02-12 11:58:27 +02:00
Lasse Öörni
cc6fd2c34a
Documented the built-in HEIGHTFOG shader define.
2014-02-07 00:42:51 +02:00
Lasse Öörni
809efdb4c6
Added the concept of persistent target in renderpath, which are not mixed in the rendertarget pool with other textures of same size & format. Used for the AutoExposure previous frame luminance.
2014-02-06 17:24:16 +02:00
Lasse Öörni
381e9a04c3
Merge branch 'shader-refactor'
2014-02-05 20:54:56 +02:00
Lasse Öörni
63bd03c6d6
Added document section on UI textures.
2014-02-04 18:05:17 +02:00
Lasse Öörni
c683652b9d
Shader migration instructions.
2014-02-04 12:45:26 +02:00
Lasse Öörni
b76823a317
Added height fog mode boolean to Zone. Apply height fog shaders automatically. Changed height fog parameters to be relative to the zone node.
2014-02-03 22:51:27 +02:00
Lasse Öörni
66ab76611a
Minor documentation edit.
2014-02-03 17:09:41 +02:00
Lasse Öörni
383e248b44
Updated documentation for techniques, shaders and renderpaths.
2014-02-03 16:44:02 +02:00
Lasse Öörni
caf080ecbb
Initial refactoring of Direct3D9 shaders. ShaderCompiler removed. Bytecode not cached into files yet.
2014-02-02 14:54:46 +02:00
aster2013
e46a159ce0
Update documentation.
2014-01-29 23:23:27 +08:00
Lasse Öörni
d2117ba01f
For now do not attempt to use 3D textures on OpenGL ES.
2014-01-28 02:51:13 +02:00
Lasse Öörni
0c393f915a
Added note of clip plane being unsupported on OpenGL ES 2.0.
2014-01-22 00:52:38 +02:00
Lasse Öörni
18e2349ae1
Added script bindings for the new SDL controller constants. Updated Input documentation.
2014-01-20 10:19:50 +02:00
Lasse Öörni
4f9287b7c8
Added AssetImporter options. Skip copy of zero-sized textures. In FileSystem::CopyFile(), do not overwrite destination file if opening the source file fails. Closes #129 .
2014-01-18 16:15:38 +02:00
Lasse Öörni
7fbefe6f43
Added AssetImporter option to restore earlier behavior, to flatten scene hierarchy in scene mode.
2014-01-15 01:08:51 +02:00
Lasse Öörni
604c8714aa
Changed AssetImporter to save the relevant scene node hierarchy in scene mode, instead of just nodes containing meshes.
...
Added node (prefab) save mode to AssetImporter.
Improved "Scene model" documentation page to mention scene load/save and prefab instantiation.
2014-01-14 23:51:35 +02:00
Lasse Öörni
f9a6235f47
Added "refract" pass to default renderpaths. This has the rendered scene so far (opaque + sky) available in the environment texture unit.
...
Renamed the "prealpha" pass to "postopaque" (will break custom techniques and renderpaths referring to prealpha.)
If a scene pass has nothing to render, skip it completely during View processing, including rendertarget allocations. This makes the refract pass free when there is no refractive geometry.
2014-01-14 01:09:15 +02:00
Lasse Öörni
56c91aa1a0
Added Assimp logging option to AssetImporter.
2014-01-08 15:47:59 +02:00
Lasse Öörni
745fdb1416
Exposed ResourceCache::GetFile() to Lua. The file must be manually deleted once no longer needed.
2014-01-05 19:34:41 +02:00
Lasse Öörni
acc4ccc18e
Documented the screen keyboard.
2014-01-05 01:20:30 +02:00
Lasse Öörni
28254f9a1d
Improved the "Overall structure" documentation page.
2014-01-03 11:59:49 +02:00
Lasse Öörni
f095a6d597
Update documentation on script event handling.
2014-01-03 01:36:11 +02:00
Lasse Öörni
721f70fe1a
Fixed D3D9 build. Added borderless as a command line option and documented it.
2013-12-28 00:49:06 +02:00
Lasse Öörni
8b8790e481
Added option to import non-skinning bones in AssetImporter. Closes #82 .
...
Added case-sensitivity option to String::Contains().
2013-12-23 23:07:09 +02:00
Lasse Öörni
d1bb9ec52b
Document GLSL sampler to texture unit mapping.
2013-12-23 15:04:07 +02:00
Lasse Öörni
94391e462a
Added instructions on how to prefix uniforms in shaders.
2013-12-23 14:58:53 +02:00
Lasse Öörni
679007d1b5
Normalize whitespace, update documentation.
2013-12-16 23:22:28 +02:00
Lasse Öörni
026e838d5b
Retired the unused DocConverter utility.
2013-11-30 16:53:25 +02:00
Lasse Öörni
ee8e8031d2
Rework command line options that need a parameter value to have a space in between. Fixes #44 .
2013-11-12 01:33:15 +02:00
Lasse Öörni
cfa6b135ce
Moved Urho3DPlayer class definition to a .h file. Updated documentation to refer to Urho3DPlayer.
2013-11-04 19:07:00 +02:00
Lasse Öörni
c057b29dba
Unify how command line options are shown in utilities.
...
Added note in documentation about lack of space between command line option and its parameter.
Prepend Materials/ to the material list written by OgreImporter (assume "standard" materials subdirectory.)
2013-10-30 18:49:27 +02:00
Lasse Öörni
b957f60143
Added ApplyMaterialList() function to StaticModel so that the feature can be used outside the editor as well. Refactored editor to use that function instead of its own implementation.
...
Unified the switch to output material list to -l in both AssetImporter & OgreImporter.
Removed the "use local IDs" toggle from editor as that can be specified with the import options.
2013-10-29 23:04:51 +02:00
Lasse Öörni
8077ee4a53
Added option to OgreImporter to save material list file next to the model.
2013-10-28 21:35:53 +02:00
Yao Wei Tjong 姚伟忠
e34e26d068
Merge branch 'library-build'.
2013-10-23 15:15:03 +08:00
Lasse Öörni
f39702a07e
Terminology edits in the documentation. Do not refer to Graphics, Scene etc. as separate libraries anymore.
2013-10-22 00:58:58 +03:00
Lasse Öörni
fe14af594f
Added documentation section on Lua garbage collection.
2013-10-20 12:12:18 +03:00
Lasse Öörni
c6a6f71aa3
Finalize LZ4 support. Do not repeatedly allocate compressed data buffer. Do not store global blocksize into the package file header. Increased Android read buffer to 32KB.
2013-10-12 15:03:17 +03:00
Lasse Öörni
1463b67a70
Added documentation on the package file format.
2013-10-12 15:03:17 +03:00
Lasse Öörni
bd9f229045
Documented the optimization underlying node transform dirty notifications; you must use eg. GetWorldPosition() to undirty the node to get further notifications.
2013-09-28 18:12:29 +00:00
Lasse Öörni
c7f098de3e
Updated documentation on changed Lua function call mechanism.
2013-09-27 21:36:19 +00:00
Lasse Öörni
c3870201b9
Added TransformChanged() script method to ScriptInstance & LuaScriptInstance. Called when node transform changes (hooks to OnMarkedDirty() on C++ side)
...
Ensure that LuaScriptInstance listens only to its own scene's & physics world's update events.
Changed LuaScriptInstance to use IsEnabledEffective() to make sure it gets disabled if the node is disabled.
2013-09-27 20:56:35 +00:00
Lasse Öörni
eb6ba62ab9
Added the LuaScript library to Doxygen documentation.
...
Added LuaScript doxygen page.
2013-09-22 23:41:27 +00:00
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