Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
47e016eca4 Add function to check Rect <-> Rect intersection. 2016-10-06 22:21:39 +03:00
Yao Wei Tjong 姚伟忠
62e67fbd02 Ensure the CMAKE_OSX_DEPLOYMENT_TARGET is set to empty for iOS build.
Fix #1628.
2016-10-06 23:22:14 +08:00
Lasse Öörni
08ff3f6629 Clarify comment. Closes #1631. 2016-10-06 14:43:32 +03:00
urho3d-travis-ci
ca263bef55 Travis CI: API documentation update at 2016-10-05 09:00:11 UTC.
[ci package]

Commit: 203cb06048

Message: Merge remote-tracking branch 'eugeneko/master'
2016-10-05 09:00:11 +00:00
Lasse Öörni
203cb06048 Merge remote-tracking branch 'eugeneko/master' 2016-10-05 11:27:41 +03:00
Lasse Öörni
bca26b74eb Fix color wheel being created outside the screen in small resolutions. 2016-10-05 10:57:02 +03:00
urho3d-travis-ci
c3c45a0c1b Travis CI: API documentation update at 2016-10-04 21:28:16 UTC.
[ci package]

Commit: f8ebf2dbc9

Message: Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627.
2016-10-04 21:28:16 +00:00
Lasse Öörni
f8ebf2dbc9 Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627. 2016-10-05 00:17:05 +03:00
Eugene Kozlov
dec0361792 Fix Texture2D::GetImage and TextureCube::GetImage Lua bindings. Simplify some Lua bindings. 2016-10-04 23:12:07 +03:00
Eugene Kozlov
6a469e6af8 Update return value of SharedPtr<T>::Detach. 2016-10-04 22:41:38 +03:00
Eugene Kozlov
b16b7f6f7a Move Texture2D::GetImage and TextureCube::GetImage implementations. 2016-10-04 22:11:31 +03:00
Lasse Öörni
bf4591b158 Define WINVER in SDL_windowsjoystick.c if not defined. Related to #1629. 2016-10-04 16:28:20 +03:00
urho3d-travis-ci
9b78bbacb6 Travis CI: API documentation update at 2016-10-02 10:55:35 UTC.
[ci package]

Commit: 6068963457

Message: Preserve anchored size if setting horiz/vert alignment while anchored.
2016-10-02 10:55:35 +00:00
Lasse Öörni
6068963457 Preserve anchored size if setting horiz/vert alignment while anchored. 2016-10-02 13:43:22 +03:00
Lasse Öörni
ab5cdf9da7 Update documentation on UI element anchoring. 2016-10-02 13:43:21 +03:00
Lasse Öörni
a5d20441dd Adjustments to UI element anchoring to make it more foolproof and intuitive. Anchoring must now be enabled explicitly. 2016-10-02 13:43:20 +03:00
Lasse Öörni
6f8164c492 Script bindings for anchor/pivot settings. Edit comments. 2016-10-02 13:43:19 +03:00
ninjastone
93f009d882 Fixed missing argument 2016-10-02 13:43:18 +03:00
ninjastone
e1724b84e5 Changed FLT_MAX to std::numeric_limits 2016-10-02 13:43:17 +03:00
ninjastone
9c4b0b169d Fixed read only attributes in serialization.
Added flags to UIElement for compatibility.
2016-10-02 13:43:17 +03:00
ninjastone
6fb6de2873 Added some comments. 2016-10-02 13:43:16 +03:00
ninjastone
68f4657528 Add anchor and pivot to UIElement. 2016-10-02 13:43:15 +03:00
Yao Wei Tjong 姚伟忠
0ce83450fb Auto-turning off PCH on Android build when using Clang compiler.
This is a temporary workaround until the actual root cause that causes the build error is found and fixed.
2016-10-02 09:59:52 +08:00
urho3d-travis-ci
1377657b2d Travis CI: API documentation update at 2016-10-01 13:05:53 UTC.
[ci package]

Commit: 0ea9ed6e34

Message: Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance.
2016-10-01 13:05:53 +00:00
Lasse Öörni
0ea9ed6e34 Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance. 2016-10-01 15:51:10 +03:00
Lasse Öörni
72c2e82ee8 Support for bool & int constants in materials on OpenGL & Direct3D11. Added int uniform support to OpenGL. Removed code duplication for setting a Variant shader parameter. 2016-09-30 18:55:00 +03:00
Lasse Öörni
fa42bc6a8f Fix erroneous reuse of the backbuffer depth buffer when multisampling is used. Closes #1625. 2016-09-30 14:48:24 +03:00
urho3d-travis-ci
c797ba266c Travis CI: API documentation update at 2016-09-29 20:38:21 UTC.
[ci package]

Commit: 562b193ef5

Message: Add delta parameter to UIElement::OnResize() and the Resized event.
2016-09-29 20:38:22 +00:00
Lasse Öörni
562b193ef5 Add delta parameter to UIElement::OnResize() and the Resized event. 2016-09-29 23:12:25 +03:00
Lasse Öörni
7658ad39c7 Remove commented out shader code. 2016-09-29 20:49:40 +03:00
urho3d-travis-ci
102a137a4d Travis CI: API documentation update at 2016-09-28 18:04:08 UTC.
[ci package]

Commit: 2868854338

Message: Clarify Texture2D::SetSize() & fix tabs.
2016-09-28 18:04:08 +00:00
Lasse Öörni
2868854338 Clarify Texture2D::SetSize() & fix tabs. 2016-09-28 20:26:26 +03:00
Lasse Öörni
fc42e5d98e Merge branch 'multisample-textures' 2016-09-28 19:41:08 +03:00
Lasse Öörni
3a5a85151e Instead of specific fix in Material, convert double Variants to float on demand in Graphics::SetShaderParameter(). Closes #1621. 2016-09-28 19:39:01 +03:00
Lasse Öörni
1bb04b2cbd Avoid getting a light's lightMask constantly when looping over geometries, rather get it once into a stack variable. 2016-09-28 01:16:01 +03:00
Lasse Öörni
fee755e942 To restore lost performance, move less critical Node variables to an implementation struct to reduce Node instance memory size, and restore old unsafe PODVector operation that does not allow self-insertion. 2016-09-28 00:43:43 +03:00
Lasse Öörni
f13a10cb0c Fix behavior of SoundSource debug icons in editor. Closes #1620. 2016-09-27 20:21:16 +03:00
Lasse Öörni
174e555303 Fix incorrect transform of decal normals when decal is not in same node as target geometry. Closes #1618. 2016-09-26 23:03:58 +03:00
Lasse Öörni
bb057522ad Remove static TypeInfo checking functions, as they cannot function properly due to always accessing the TypeInfo of Object class. 2016-09-26 21:53:46 +03:00
Lasse Öörni
3ca4bb25c3 For consistency/safety, release the surface also when failing to acquire. Closes #1050. 2016-09-26 12:29:19 +03:00
Lasse Öörni
90e376c9cc Add documentation on multisampled rendertargets. 2016-09-26 12:04:03 +03:00
Lasse Öörni
c923476847 Merge branch 'master' into multisample-textures
# Conflicts:
#	Docs/Reference.dox
2016-09-26 10:52:54 +03:00
Lasse Öörni
f01024881f Add multisampling possibility for VSM shadows. 2016-09-25 23:59:57 +03:00
Lasse Öörni
46793bbb72 Match multisample mode of the substitute rendertarget & screen buffers with the final destination rendertarget. 2016-09-25 19:31:24 +03:00
Lasse Öörni
749c283fb7 Since it appears none of the APIs support sampling a multisampled cube texture, remove the autoresolve parameter and always set it true if multisampled for cube textures. Make it a warning (not error) to attempt no autoresolve for a 2D multisampled texture on Direct3D9. 2016-09-25 17:14:10 +03:00
Lasse Öörni
76911afe38 Fix D3D11 multisampled cube texture creation. 2016-09-25 02:53:25 +03:00
Lasse Öörni
37e002e58b D3D11 multisampled cube texture. Refactoring / cleanup of D3D error logging and GPU object release. 2016-09-25 01:46:58 +03:00
Lasse Öörni
f07f3e8c91 OpenGL multisampled cube texture. 2016-09-25 00:12:53 +03:00
Lasse Öörni
1017e82fd9 Ignore files with no filename component for XML parsing in EditorResourceBrowser. .gitignore etc. 2016-09-24 19:36:03 +03:00
Lasse Öörni
32192bc7fb Remove unnecessary iteration from StaticModelGroup to update node ID's. Instead update ID's when asked. 2016-09-24 19:24:51 +03:00