Commit Graph

9869 Commits

Author SHA1 Message Date
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
Lasse Öörni
f635df3cb1 Fix uninitialized memory in Material. Closes #1615. 2016-09-24 19:24:50 +03:00
Yao Wei Tjong 姚伟忠
201cfc991c Use CMake's regex instead of 'grep' because it is not universal.
The 'grep' command on macOS is from BSD which requires different option than Linux one to enable extended or Perl-compatible regex parsing.
[skip appveyor] [ci only: OSX]
2016-09-24 13:01:44 +08:00
Lasse Öörni
f89c4e4dfb Merge pull request #1612 from eugeneko/master
Minor changes
2016-09-23 22:32:13 +03:00
Lasse Öörni
4c2e2b713b Fix out of bounds array access when material quality is higher than high. Closes #1611. 2016-09-23 22:21:41 +03:00
Eugene Kozlov
3c585a15c9 Add Vector::Resize and PODVector::Resize overloads. 2016-09-23 21:01:07 +03:00
Eugene Kozlov
14e057a70d Make EnumAttributeAccessorImpl compatible with enum classes. 2016-09-23 20:43:32 +03:00
Eugene Kozlov
12499aa0d0 Virtualize some member functions of StaticModel. 2016-09-23 20:43:32 +03:00
urho3d-travis-ci
52efdb31cb Travis CI: API documentation update at 2016-09-23 15:48:26 UTC.
[ci package]

Commit: a1e2bc9bd3

Message: Make shader cache location configurable, default urho3d/shadercache in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.
2016-09-23 15:48:26 +00:00
Lasse Öörni
a1e2bc9bd3 Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610. 2016-09-23 18:36:40 +03:00
Lasse Öörni
c745d2ea52 Multisampled cube rendertarget on Direct3D9. 2016-09-23 09:55:10 +03:00
urho3d-travis-ci
5aa0b0613e Travis CI: API documentation update at 2016-09-22 18:51:31 UTC.
[ci package]

Commit: fe2e70db13

Message: Clean up view event sending code. Add 2 new view events: buffers allocated, and global shader parameters set.
2016-09-22 18:51:31 +00:00
Lasse Öörni
fe2e70db13 Clean up view event sending code. Add 2 new view events: buffers allocated, and global shader parameters set. 2016-09-22 21:42:30 +03:00
Yao Wei Tjong 姚伟忠
565744e8b5 For CI - no need to turn PCH off explicitly anymore as it is now auto. 2016-09-22 22:15:36 +08:00
Lasse Öörni
08b083b323 Tightening of shadow related function signatures on GLES. Related to #1607. 2016-09-22 16:33:43 +03:00
Yao Wei Tjong 姚伟忠
1089763457 Automatically turning off PCH when using Clang on bad ccache version. 2016-09-21 23:51:36 +08:00
Lasse Öörni
3b4f4d4c0c Clear multisampling from texture on GLES and log warning. 2016-09-21 00:41:00 +03:00
Yao Wei Tjong 姚伟忠
a5c5956103 For CI - use the latest OSX image with Xcode 8.
Close #1598.
2016-09-21 00:36:26 +08:00
urho3d-travis-ci
d13a92d616 Travis CI: API documentation update at 2016-09-20 08:53:23 UTC.
[ci package]

Commit: 886e48ab8a

Message: Script bindings for new input functions.
2016-09-20 08:53:23 +00:00
Lasse Öörni
886e48ab8a Script bindings for new input functions. 2016-09-20 11:36:32 +03:00
Lasse Öörni
f6ce114830 Multisampled texture without autoresolve on OpenGL. 2016-09-19 23:05:44 +03:00
Lasse Öörni
d068842bf5 Error logging for attempting to use non-autoresolve multisampled texture on Direct3D9. 2016-09-19 21:35:04 +03:00
Lasse Öörni
f75fbfa688 Add multisample & autoresolve definitions to RenderTargetInfo. 2016-09-19 21:27:38 +03:00
Lasse Öörni
a7f3c61bdf Multisampled texture on D3D11. 2016-09-19 21:06:40 +03:00
Rokas Kupstys
19012714e1 Expose mouse position manipulation api in Input class 2016-09-19 18:24:30 +03:00
Lasse Öörni
180936cebd Merge remote-tracking branch 'lumak/master' 2016-09-19 17:49:06 +03:00
Lumak
4fd62537e6 implemented a much simpler version 2016-09-19 00:40:17 -07:00
Lasse Öörni
4e40cf849e Work on OpenGL multisample textures. 2016-09-19 02:35:28 +03:00
Lumak
7341c9a48b a bit of clean up 2016-09-18 14:42:26 -07:00
Lasse Öörni
a4d3eb0b51 Merge pull request #1602 from carnalis/master
render path syntax correction to Doxygen docs
2016-09-18 23:50:13 +03:00
carnalis
e422aad26a render path syntax correction to Doxygen docs 2016-09-18 16:34:09 -04:00
Lumak
931b9bbd98 added a feature to be able to export fbx animation w/o skinned mesh 2016-09-18 13:12:49 -07:00
1vanK
eda96cd128 Add AnimationController::IsPlaying(layer) method 2016-09-18 19:47:10 +03:00
Lasse Öörni
eb62fd941b Next attempt to fix civetweb for XCode 8. 2016-09-18 00:27:25 +03:00