Commit Graph

9836 Commits

Author SHA1 Message Date
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
Yao Wei Tjong 姚伟忠
789adac03d For CI - revert back to use 40 minutes as the cutoff time.
Travis CI appears to error out a few minutes sooner than 50 minutes, we need to buffer some time to upload cache objects in the after script step.
[ci only: OSX] [skip appveyor]
2016-04-22 00:08:40 +08:00
Yao Wei Tjong 姚伟忠
dfcc445d30 For CI - give subprocess time to close all the resources.
Dangling temporary files in ccache's cache directory may prevent a successful uploading of cache objects for the next build.
2016-04-21 22:20:21 +08:00
Yao Wei Tjong 姚伟忠
1638ebc79f For CI - just send the kill signal to the specified subcommand only. 2016-04-21 18:23:17 +08:00
Lasse Öörni
91b799d666 Change the signature of the new HashMap Insert() function. Do not allow user to specify findExisting flag. As the meaning of the bool return value is reverse to std::map::insert(), do not return it in a pair to avoid confusion, but rather in a separate bool value which is passed by reference. Add corresponding function to HashSet. Edit comments. 2016-04-21 01:58:02 +03:00
Lasse Öörni
25f1d1442a Merge remote-tracking branch 'svifylabs/ExtendContainer' 2016-04-20 23:34:32 +03:00
Lasse Öörni
d80e5f9a32 Simplify OpenGL code. 2016-04-20 23:15:01 +03:00
Lasse Öörni
eedb47f612 Merge remote-tracking branch 'svifylabs/basevertexindex' 2016-04-20 22:08:29 +03:00
Yao Wei Tjong 姚伟忠
9b9a53260a For CI - Also kill the child processes when time out. 2016-04-20 18:47:47 +08:00
svifylabs
e7db8ffeab renamed local variable (copy error) 2016-04-20 08:49:09 +02:00
svifylabs
b54b5b9ef7 add TryGetValue, Insert, EraseSwap, RemoveSwap 2016-04-20 07:34:49 +02:00
Lasse Öörni
ed8740428c Remove cCameraRot uniform. Instead derive from cViewInv as necessary. Closes #1163. 2016-04-19 23:18:07 +03:00
svifylabs
e94d00517c fix compile error and added runtime check 2016-04-19 18:22:34 +02:00
svifylabs
c09b638524 Add Graphics draw call with baseVertexIndex (offset)
only  supported for opengl 3  and direct3d
2016-04-19 16:06:31 +02:00
urho3d-travis-ci
03f355ca96 Travis CI: API documentation update at 2016-04-19 09:54:00 UTC.
[ci package]

Commit: 57389d42c2

Message: Minor documentation edit.
2016-04-19 09:54:00 +00:00
Lasse Öörni
57389d42c2 Minor documentation edit. 2016-04-19 12:41:44 +03:00
Lasse Öörni
88acae8c77 Fix instancing texcoord in the PBR HLSL shader. 2016-04-18 22:47:34 +03:00