Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
f7b0a04666 Merge remote-tracking branch '1vanK/master' 2016-10-28 14:45:50 +03:00
1vanK
b8acdcb42d Add vertex colors to standart primitives 2016-10-28 13:57:54 +03:00
Lasse Öörni
5804347ab2 Reverse saturation fix also for GLSL. 2016-10-28 12:46:32 +03:00
Lasse Öörni
3564686a34 Fix DeferredSP & PrepassSP renderpaths not clearing depth. Fix reverse saturation of faded billboard on D3D11. Fix depth shader compile error on D3D11 when alphamasked. 2016-10-28 12:27:17 +03:00
Lasse Öörni
861a85fb1f Separate unlit particle shaders & techniques for optional soft particle support. Soft particles versions of renderpaths. Soft particle shaders adapted from work by 1vanK & MonkeyFirst (https://github.com/1vanK/Urho3DSoftParticles). Fix Shadow shader failing for billboards. Fix ForwardHWDepth renderpath unnecessarily rendering depth in a separate pass. Closes #1623. 2016-10-28 08:36:50 +03:00
Lasse Öörni
ce78e3217c Fix material removal while handling attribute animation causing potential crash. Fix material animation event being transmitted already on the first frame. 2016-10-26 00:00:43 +03:00
urho3d-travis-ci
d010c1ff2f Travis CI: API documentation update at 2016-10-25 19:03:28 UTC.
[ci package]

Commit: 0acd25e763

Message: Add logarithm function to Math API.
2016-10-25 19:03:28 +00:00
Eugene Kozlov
0acd25e763 Add logarithm function to Math API. 2016-10-25 21:40:39 +03:00
Eugene Kozlov
87a3e7e2fb Replace some expressions with new functions. 2016-10-25 21:40:39 +03:00
Eugene Kozlov
a785c1f37c Add missing binding for Image::SaveDDS. 2016-10-25 21:40:39 +03:00
Lasse Öörni
9a5d9af6b7 Fix event frame not expanding the ValueAnimation's time range properly. Fix removing an animating object during an event frame causing crash. Thanks to vudugun for noticing (forum thread http://urho3d.prophpbb.com/topic2464.html) 2016-10-25 21:38:04 +03:00
Lasse Öörni
3d2987c2ba Reset levelsDirty / resolveDirty when releasing a texture. Resolve multisampled texture in GetData() if necessary. Fix getting multisampled texture data on D3D9/11. 2016-10-23 19:48:13 +03:00
Lasse Öörni
05b47d8913 Always set history position after pressing enter, even if row wasn't saved. 2016-10-23 01:33:14 +03:00
Lasse Öörni
408398dc83 Merge remote-tracking branch 'Enhex/patch-1' 2016-10-23 01:16:27 +03:00
urho3d-travis-ci
cb459449d9 Travis CI: API documentation update at 2016-10-22 21:08:25 UTC.
[ci package]

Commit: 875ebcfef5

Message: Disable rendertarget mipmaps on WebGL for now, as they appeared to not be working.
2016-10-22 21:08:25 +00:00
Lasse Öörni
875ebcfef5 Disable rendertarget mipmaps on WebGL for now, as they appeared to not be working. 2016-10-22 23:56:47 +03:00
Lasse Öörni
1bb6d3d1ac Support for mipmapped rendertargets & automatic mip regeneration after rendering. Renderer allocated screen buffers are not mipmapped, but a manually created rendertarget texture will be (like regular textures), unless disabled by calling SetNumLevels(1). 2016-10-22 23:56:46 +03:00
Mike3D
066448b26d Fixed return value of Viewport::WorldToScreenPoint() for AS [ci skip] 2016-10-22 22:01:18 +02:00
Enhex
1736c67487 Don't save line repetitions in the console's history 2016-10-22 01:45:46 +03:00
Lasse Öörni
d01facfb56 Word wrap char positions fix contributed by Fastran. Closes #1659. 2016-10-20 01:05:51 +03:00
Lasse Öörni
a8f1fbc7ed Ensure work item gets inserted last into the queue if no other option. Closes #1656. 2016-10-19 17:53:39 +03:00
Lasse Öörni
3bf13318fc Sync Urho3DPlayer command line help from the documentation. 2016-10-18 22:49:13 +03:00
urho3d-travis-ci
e035fa0b8d Travis CI: API documentation update at 2016-10-16 17:40:18 UTC.
[ci package]

Commit: b09fd98bef

Message: Tab to spaces. Cast to float in IntVector2::Length() to avoid warning spam.
2016-10-16 17:40:18 +00:00
Lasse Öörni
b09fd98bef Tab to spaces. Cast to float in IntVector2::Length() to avoid warning spam. 2016-10-16 20:26:38 +03:00
Lasse Öörni
7af7cf202a Merge remote-tracking branch 'rokups/utility-functions' 2016-10-16 19:54:40 +03:00
Eugene Kozlov
89ce82e0ed Fix copy-paste error in math AS bindings. 2016-10-16 19:36:03 +03:00
Lasse Öörni
17e2122a6e Allow to set desired mouse mode or mouse visibility before Input initialization. 2016-10-16 17:49:43 +03:00
Rokas Kupstys
964351a03a Node::GetChildren* that return a collection of children (for use in ranged for loops) 2016-10-16 17:35:14 +03:00
Rokas Kupstys
e71fa46e89 Node::SetTransform(const Matrix3x4& matrix) 2016-10-16 17:35:14 +03:00
Rokas Kupstys
f9aa090c92 IntVector2::Length() 2016-10-16 17:35:14 +03:00
Rokas Kupstys
5d1ef7fdbb UIElement::GetChildrenWithTag() that returns PODVector. 2016-10-16 17:35:14 +03:00
urho3d-travis-ci
9b88d79945 Travis CI: API documentation update at 2016-10-16 13:39:24 UTC.
[ci package]

Commit: b23a1bd856

Message: Merge branch 'update-api'
2016-10-16 13:39:24 +00:00
Eugene Kozlov
b23a1bd856 Merge branch 'update-api' 2016-10-16 16:00:24 +03:00
Yao Wei Tjong 姚伟忠
123d06471a Remove mouse centering logic from screen mode change event handler.
Remove Linux-specific workaround for fixing the initial input focus lose problem.
Close #1652.
2016-10-16 20:30:31 +08:00
Lasse Öörni
fff10e15cf Eliminate a few uses of NULL, and mention preference to not use it in the code convention. Ensure UIElementLoadChildXML returns a value. 2016-10-16 14:03:01 +03:00
Eugene Kozlov
14bc9b0085 Make UniquePtr non-copyable. 2016-10-16 13:41:56 +03:00
Eugene Kozlov
eac08de5cb Add extra check to prevent deletion of incomplete type in UniquePtr. 2016-10-16 11:40:29 +03:00
Eugene Kozlov
b85efd2462 Fix Image::SaveDDS implementation. 2016-10-16 00:51:41 +03:00
Eugene Kozlov
a69df6344a Replace new/delete with UniquePtr in simplest cases. 2016-10-16 00:51:27 +03:00
urho3d-travis-ci
e60bc58099 Travis CI: API documentation update at 2016-10-15 18:58:36 UTC.
[ci package]

Commit: d81b2b414c

Message: More rendertarget formats. Add porting note.
2016-10-15 18:58:36 +00:00
Lasse Öörni
d81b2b414c More rendertarget formats. Add porting note. 2016-10-15 21:47:20 +03:00
Lasse Öörni
cd325e8c18 Add d24s8 in rendertarget formats. Closes #1651. 2016-10-15 21:47:19 +03:00
Lasse Öörni
fd4a9bdb9b Load & store a different set of shader variations into Pass if necessary, when a renderpath scenepass command defines additional shader compile defines. 2016-10-15 21:47:18 +03:00
Lasse Öörni
05c0e7741b Allow also scenepass & forwardlights commands to define shader parameters. 2016-10-15 21:47:17 +03:00
TheComet
82e09e8632 UIElement::CreateChildXML() returns child instead of bool. If loading fails, child is destroyed instead of keeping an empty child around 2016-10-15 21:47:16 +03:00
Eugene Kozlov
89fb47f550 Add stable random generator. 2016-10-15 21:43:24 +03:00
Eugene Kozlov
e150bb29ec Fix include in Ptr.h 2016-10-15 21:43:23 +03:00
Eugene Kozlov
8acd69046a Add Image::SaveDDS function. Add Resource::Save|Load(fileName) functions. 2016-10-15 21:43:23 +03:00
Eugene Kozlov
f437d858a7 Fix AS bindings. 2016-10-15 18:50:08 +03:00
Eugene Kozlov
3087632f84 Add Math API functions: InverseLerp, Vector2|3|4::ProjectOntoAxis 2016-10-15 16:56:57 +03:00