Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
a955725bd0 Add the interpolation mode IM_NONE to ValueAnimation. Add animating UI element to LightAnimation example. Add ResourceRef constructor that takes type & name as strings for easier script bindings. 2016-05-09 22:38:06 +03:00
Yao Wei Tjong 姚伟忠
965e646fb5 Minor clean up on build script. 2016-05-08 09:44:32 +08:00
urho3d-travis-ci
45d5854288 Travis CI: API documentation update at 2016-05-07 17:38:57 UTC.
[ci package]

Commit: 7220b37676

Message: Fix spotlight spot matrix in deferred rendering. Remove unused variables.
2016-05-07 17:38:57 +00:00
Lasse Öörni
7220b37676 Fix spotlight spot matrix in deferred rendering. Remove unused variables. 2016-05-07 20:22:59 +03:00
Lasse Öörni
44ba1f04b8 Enhance documentation related to normal offset. Add missing Lua property for mobileNormalOffsetMul. Closes #1347. 2016-05-07 20:20:45 +03:00
Lasse Öörni
f908fa4cfd Fix normal offset GLSL code for GLES. Set default mobile multiplier for normal offset to 2. 2016-05-07 20:20:44 +03:00
Lasse Öörni
a123794886 Normal offset support in GLSL. Fix deferred specular in GLSL. 2016-05-07 20:20:43 +03:00
Lasse Öörni
7160a0ab7c Normal offset shadow support for HLSL. Fix deferred specular calculation on HLSL. 2016-05-07 20:20:42 +03:00
Yao Wei Tjong 姚伟忠
83a1f3889b Enhance buildsystem to support MSVC to be used in other build tools.
Related to #1328.
2016-05-07 18:09:05 +08:00
Yao Wei Tjong 姚伟忠
d7ac415408 For CI - more checkpoints.
[ci package]
2016-05-07 10:29:34 +08:00
urho3d-travis-ci
ed511aba60 Travis CI: API documentation update at 2016-05-06 17:38:03 UTC.
[ci package]

Commit: 8e8ee798a7

Message: New click / click end events sent by the UI element in question (see UIEvents.h.) Fix IsInside() check for the sprite UI element to allow accurate click detection. Register the full UIElement API for the Sprite element in AngelScript, though not all functions make sense. Clean up empty virtual functions from .cpp files in favor of defining them in headers. Closes #1343.
2016-05-06 17:38:04 +00:00
Lasse Öörni
8e8ee798a7 New click / click end events sent by the UI element in question (see UIEvents.h.) Fix IsInside() check for the sprite UI element to allow accurate click detection. Register the full UIElement API for the Sprite element in AngelScript, though not all functions make sense. Clean up empty virtual functions from .cpp files in favor of defining them in headers. Closes #1343. 2016-05-06 19:58:27 +03:00
urho3d-travis-ci
12ed42caeb Travis CI: API documentation update at 2016-05-06 12:51:53 UTC.
[ci package]

Commit: 6b680cd6ee

Message: Remove unused variable.
2016-05-06 12:51:53 +00:00
Lasse Öörni
6b680cd6ee Remove unused variable. 2016-05-06 15:36:27 +03:00
Lasse Öörni
74d6d5678c Ensure full Text3D material update if opacity or alpha changes from nonzero to zero. 2016-05-06 15:35:16 +03:00
Lasse Öörni
e023f448f1 Add missing opacity attribute for Text3D. Prevent illegal index access when amount of text batches is in mismatch with amount of Drawable batches. Closes #1350. 2016-05-06 15:30:00 +03:00
Lasse Öörni
e048afa496 Cleanup drag-instantiate code. Use mouse raycast position if possible. 2016-05-06 14:01:12 +03:00
Lasse Öörni
bf860499bd Remove unused function. 2016-05-06 14:01:11 +03:00
Golden Li
b463ed5a05 align to aabb bottom 2016-05-06 14:01:10 +03:00
Golden Li
3e35bb0afa support resource drag to scene 2016-05-06 14:01:09 +03:00
Yao Wei Tjong 姚伟忠
0b304cfa28 For CI - attempt to fix the brew uninstall step due to invalid input.
[ci only: OSX] [skip appveyor]
2016-05-06 18:54:56 +08:00
Lasse Öörni
e98ef12bf6 Merge pull request #1352 from gitter-badger/gitter-badge-1
Add a Gitter chat badge to README.md
2016-05-06 12:22:50 +03:00
The Gitter Badger
fa167367d6 Add Gitter badge 2016-05-06 06:37:20 +00:00
Yao Wei Tjong 姚伟忠
bdd9b5f7fc Update CMake/Android toolchain file to support NDK r11c.
[ci only: Android] [skip appveyor]
2016-05-04 22:34:12 +08:00
Lasse Öörni
53302819fa Improve error message in OcclusionBuffer when width is not a power of two. 2016-05-03 15:09:38 +03:00
Lasse Öörni
21bf5d4bea When deserializing a VariantMap from XML, also accept entries without "hash" attribute but a "name" attribute. Closes #1342. 2016-05-03 15:08:50 +03:00
Yao Wei Tjong 姚伟忠
66eacf2e71 For CI - add more checkpoint for packaging build.
[ci skip]
2016-05-03 14:16:57 +08:00
urho3d-travis-ci
c0d023a8f0 Travis CI: API documentation update at 2016-05-02 19:49:47 UTC.
[ci package]

Commit: 551521212d

Message: Register HierarchyContainer into Lua bindings so that accessing a ListView's contentelement in hierarchy mode doesn't choke. Closes #1341.
2016-05-02 19:49:47 +00:00
Lasse Öörni
551521212d Register HierarchyContainer into Lua bindings so that accessing a ListView's contentelement in hierarchy mode doesn't choke. Closes #1341. 2016-05-02 21:19:11 +03:00
urho3d-travis-ci
d24d882bca Travis CI: API documentation update at 2016-05-02 17:47:52 UTC.
[ci package]

Commit: 7fbf89b728

Message: Add Clone() function to Animation. Expose Animation constructor in Lua.
2016-05-02 17:47:52 +00:00
Lasse Öörni
7fbf89b728 Add Clone() function to Animation. Expose Animation constructor in Lua. 2016-05-02 20:34:58 +03:00
Lasse Öörni
c197bf726a Merge remote-tracking branch '1vanK/master' 2016-05-02 19:08:22 +03:00
1vanK
65b639af13 Editor: info about selected model (thanks MonkeyFirst for idea) 2016-05-01 20:43:07 +03:00
Lasse Öörni
31e57e01fb Add PBR sample C++ version. 2016-05-01 13:41:18 +03:00
Yao Wei Tjong 姚伟忠
9baac62031 Improve NextPowerOfTwo().
Also make it consistent with IsPowerOfTwo() to treat 0 as if it is power of 2 (although mathematically it is not). NextPowerOfTwo(0) now returns 0.
In the old version when value is larger than 0x80000000 then the function returned 0x80000000 which is not exactly correct because it is not the "next" number. In the new version the function returns 0 in this case because the next number has overflow the unsigned data type.
2016-05-01 15:33:04 +08:00
Lasse Öörni
97bf7fa8a2 Fix crash when driver allows GL version 3.2 but doesn't support instancing. 2016-05-01 00:16:44 +03:00
Yao Wei Tjong 姚伟忠
1bcae0ca2b No-ops when VertexDeclaration.h is being included for OGL graphics API.
You may want to uncomment the #error compiler directive instead to flag out the occurrences.
2016-04-30 12:42:10 +08:00
Yao Wei Tjong 姚伟忠
450bf8c6ea Fix scaffolding rake task to also create a symlink for 'Autoload' dir. 2016-04-30 12:08:14 +08:00
Yao Wei Tjong 姚伟忠
e28e6e5c85 Quick fix to suppress confusing output msgs from SDL's CMakeLists.txt.
[ci skip]
2016-04-30 11:33:23 +08:00
Lasse Öörni
6deb0780f8 Fix comments in 42_PBRMaterials.as. Add Lua version of the PBR sample. 2016-04-30 02:20:12 +03:00
Lasse Öörni
e7599463ba Improved IsPowerOfTwo(). Thanks to Y-way for initial PR. 2016-04-29 14:58:05 +03:00
Lasse Öörni
8d2c7230f0 Prevent Android / iOS reporting the mouse as grabbed. Closes #1337. 2016-04-27 18:28:03 +03:00
Yao Wei Tjong 姚伟忠
6abb199bc6 Use file symlink instead of directory for STB library.
Fix #1330.
2016-04-27 20:07:26 +08:00
Yao Wei Tjong 姚伟忠
a15abf5068 Avoid hard-coding of the sample list in the build script. 2016-04-27 12:23:35 +08:00
Yao Wei Tjong 姚伟忠
87f408be51 For CI - avoid hard-coding of the sample list in the build script.
Switch the build output verboseness to normal as the diagnostic mode also does not help to reveal any additional information on the crowd navigation sample when it segfaulted during test.
2016-04-26 13:25:45 +08:00
Yao Wei Tjong 姚伟忠
42e18222e1 For CI - give 5 seconds delay in between CI mirror branches creation.
This ensures the GitHub pushes would trigger the Travis CI build jobs in a deterministic fashion.
[ci skip]
2016-04-24 17:58:20 +08:00
urho3d-travis-ci
29f2984d71 Travis CI: API documentation update at 2016-04-24 09:48:53 UTC.
[ci package]

Commit: 31d362f879

Message: Add new engine parameter for enabling/disabling high DPI window mode.
Temporary fix for issue #1252. The high DPI mode is disabled by default.
2016-04-24 09:48:53 +00:00
Yao Wei Tjong 姚伟忠
31d362f879 Add new engine parameter for enabling/disabling high DPI window mode.
Temporary fix for issue #1252. The high DPI mode is disabled by default.
2016-04-24 17:36:32 +08:00
Lasse Öörni
d492d32f41 When building input layouts, put VS element hash to the upper 32 bits to reduce possibility of collisions. 2016-04-23 15:39:10 +03:00
Lasse Öörni
2151426adc Use proper world space in deferred light shaders. This allows the cLightPos uniform and shadow matrices to behave the same in all passes (simplifies code.) Closes #1335. 2016-04-23 01:35:41 +03:00