a1105f7d38Minor refactor, add comment to type info.
aster2013
2015-10-12 10:31:38 +0800
04dba029edClarifications for third party library use in the contribution checklist.
Lasse Öörni
2015-10-11 20:14:01 +0300
bf9111b862Make Jacks not walk in synchronized lockstep timing in 06_SkeletalAnimation sample.
Jukka Jylänki
2015-10-11 01:35:54 +0300
3a948899a7Add type info, remove BASEOBJECT macro, now user can use type info check object type. for example: Button::IsTypeOf<UIElement>() is ture, Button::IsTypeOf<BorderImage>() is ture, Button::IsTypeOf<CheckBox>() is false.
aster2013
2015-10-11 23:26:29 +0800
6bd1d77634Add baseTypeName argument to OBJECT macro.
aster2013
2015-10-11 22:17:55 +0800
08e0b3bd62Switch off SSE when targeting iOS/iPhoneSimulator as well.
Yao Wei Tjong 姚伟忠
2015-10-11 12:54:19 +0800
c44ff392dfMinor clean up to remove redundant linker flag. [ci skip]
Yao Wei Tjong 姚伟忠
2015-10-11 09:52:00 +0800
1a317e63ceActually allow to enable the threading option on Emscripten platform. Define the required compiler & linker flag when enabled.
Lasse Öörni
2015-10-11 01:11:56 +0300
3ac2cb6e37Avoid depending on 64-bit only function _mm_cvtsi128_si64() in Matrix operator == to allow targeting 32-bit as well.
Jukka Jylänki
2015-10-11 01:07:01 +0300
00be823f71Update URHO3D_SSE to denote SSE2.
Jukka Jylänki
2015-10-11 00:12:13 +0300
af7ed744f0URHO3D_THREADING build option. Closes#939.
Lasse Öörni
2015-10-10 23:17:03 +0300
0107a0bf75SSE optimize Urho3D/Math/Matrix3x4.h and Urho3D/Math/Matrix4.h. These yield a ~3% improvement in 06_SkeletalAnimation sample with 2000 Jacks in it.
Jukka Jylänki
2015-10-10 21:13:54 +0300
da81b99ca3Do not return a resolution list containing 1x1 on Emscripten, rather return empty. Do not check fullscreen mode validity if the resolution list is empty.
Lasse Öörni
2015-10-10 18:34:30 +0300
ec125f2952Switch off SSE for 64-bit arm platforms as well. [ci only: Android, OSX, Coverity]
Yao Wei Tjong 姚伟忠
2015-10-10 23:15:48 +0800
e6e16b90edMinor code formatting. Document that we have returned to the old behavior of not notifying dirty node transform if it was already dirty before, and users of the TransformChanged() function should read the node's world transform to ensure continued notifications.
Lasse Öörni
2015-10-10 14:06:59 +0300
d168ab9d91Optimize Node::MarkDirty() implementation by a) relying on the invariant that all children of a dirty node must also be dirty, and that all parents of a clean node must also be clean, b) avoid double-dereferencing Component WeakPtr in listeners, c) use the swap-with-last erase trick to avoid O(n^2) behavior in removing listeners, and d) perform tail call optimization to avoid excessive recursive function calls when marking children dirty. This optimizes the Node::MarkDirty() time in 06_SkeletalAnimation scene with 2000 Jacks from 42.73% down to 16.43%, a net saving of -61.5% less time spent in that call site. Closes#931.
Jukka Jylänki
2015-10-10 03:35:46 +0300
ace1f1155bAvoid hardcoding the conditional list for URHO3D_SSE build option. Android on Intel Atom will now have this option and defaulted to true.
Yao Wei Tjong 姚伟忠
2015-10-10 19:16:14 +0800
fde2ad45acFix Android and Raspberry-Pi build by always disabling SSE support. [ci only: RPI, Android]
Yao Wei Tjong 姚伟忠
2015-10-10 17:43:56 +0800
d05226e448Only include object/bitcode files when archiving the hard way on Win. Fix#937. [ci only: master, Emscripten]
Yao Wei Tjong 姚伟忠
2015-10-10 12:09:32 +0800
2d80a25394Travis CI: API documentation update at 2015-10-09 22:24:01 UTC. [ci package]
urho3d-travis-ci
2015-10-09 22:24:01 +0000
4bdd80775bAdd accelerator keys for reset pos/rot/scale also in editor standard mode. Add reset transform function (Alt-Q).
Lasse Öörni
2015-10-10 01:09:06 +0300
0e8aafbbb6Make the Slerp approximation conditional of Emscripten platform to preserve consistency with rest of the math operations.
Lasse Öörni
2015-10-09 23:24:04 +0300
7287e02278Expose Node::MarkDirty() to AngelScript for consistency.
Lasse Öörni
2015-10-09 23:12:30 +0300
f9de34e994Code formatting.
Lasse Öörni
2015-10-09 22:34:11 +0300
ed633009c2Merge remote-tracking branch 'juj/approx_quat_slerp'
Lasse Öörni
2015-10-09 22:29:22 +0300
e82708d0e0Merge remote-tracking branch 'juj/ANGLE_instanced_arrays'
Lasse Öörni
2015-10-09 22:29:12 +0300
b9d753171fMerge remote-tracking branch 'juj/sse_matrix'
Lasse Öörni
2015-10-09 22:28:56 +0300
52ef3e92ebOptimize Quaternion::Slerp() to remove the costly trigonometric functions and replace them by approximations instead. The approximations have been profiled to generate a maximum interpolation error of 0.38 degrees (see test Quat_Slerp_precision in MathGeoLib). In native 64bit Windows 8.1 VS2015 builds, testing in 06_SkeletalAnimation sample with 2000 Jacks, the time taken in Quaternion::Slerp() is reduced by -17.4%, and in Emscripten build of the same sample running in Firefox 41, the time taken by Quaternion::Slerp() is reduced by -44.7%. Closes#914.
Jukka Jylänki
2015-10-09 21:32:04 +0300
af8d27e8b4Use fast and sub-millisecond-precise Emscripten-specific emscripten_get_now() for timer queries instead of gettimeofday(), which is slower and has only millisecond precision. Closes#916.
Jukka Jylänki
2015-10-09 19:23:28 +0300
e3ce38bb52Remove code repetition in Source/Urho3D/Core/Timer.cpp.
Jukka Jylänki
2015-10-09 19:20:19 +0300
3ad9ba306dSSE optimize matrix-matrix multiplications when URHO3D_SSE is enabled. These constitute 7.82% of 06_SkeletalAnimation sample with 2000 Jacks in it. After SSE optimizations applied, matrix multiplication takes only 2.13% of total time in AMD CodeXL profile. This change also seems to have the effect that in scalar version, VS2015 did not dare to inline Matrix3x4 multiplication in AnimatedModel::UpdateSkinning(), but after SSE, the instruction count is small enough that it happily does so.
Jukka Jylänki
2015-10-09 20:32:31 +0300
2cc066d709Update Bullet to 2.83.6. Thanks to Jukka for the initial work & Emscripten fix. Closes#929.
Lasse Öörni
2015-10-09 16:45:06 +0300
0cefd559a7Travis CI: API documentation update at 2015-10-08 19:32:15 UTC. [ci package]
urho3d-travis-ci
2015-10-08 19:32:15 +0000
7db65a8952Added possibility to set time position of attribute or object animation manually. SetAnimationEnabled(false) should be used in that case to disable auto update. Closes#926. Added RemoveObjectAnimation() and RemoveAttributeAnimation() to Animatable. Closes#928. Fixed attribute animations in hierarchy (e.g. in components) not getting removed when a null object animation is assigned.
Lasse Öörni
2015-10-08 22:18:06 +0300
bef4de0bc1Travis CI: API documentation update at 2015-10-08 12:09:46 UTC. [ci package]
urho3d-travis-ci
2015-10-08 12:09:46 +0000
730388c0ceFixed SplinePath AngelScript bindings and added documentation for it.
Mike3D
2015-10-08 14:00:44 +0200
1ab328db34Only apply world transform for active and awake rigid body.
aster2013
2015-10-08 18:10:01 +0800
67a3b10e94Remove half size offset in D3D mode in Sprite2D::GetDrawRectangle. Fix#927
aster2013
2015-10-08 13:57:59 +0800
2a223949aaOptionally move model's initial bone positions to bind pose (-bp argument).
Lasse Öörni
2015-10-06 22:07:35 +0300
e1341f7261Replace the usage of Emscripten define and include to follow its norm. Close#921. [ci only: Emscripten]
Yao Wei Tjong 姚伟忠
2015-10-06 17:34:16 +0800
01cae9de6aSwitch off the sound support for most of the sample apps by default. Close#924. [ci package]
Yao Wei Tjong 姚伟忠
2015-10-06 16:56:28 +0800
b6ff82571aRemove glEnable & glDisable calls related to GL texture types, as they're not needed with GLSL shaders, which Urho3D uses always. Ensure that SetTextureForUpdate() also correctly unbinds the old texture type if it changes in the unit. Closes#922.
Lasse Öörni
2015-10-06 11:35:46 +0300
2ac9f90e32Added contributor credit.
Lasse Öörni
2015-10-06 10:51:44 +0300
9fcf88eb2cMerge pull request #923 from juj/webgl_etc1_pvrtc
Lasse Öörni
2015-10-06 10:38:50 +0300
9b041c061aAdd warning to user on Windows host system without MKLINK privilege. [ci skip]
Yao Wei Tjong 姚伟忠
2015-10-06 12:13:44 +0800
5961b7f2d6Always use file symlinks for dummy custom library targets. So that when in fallback mode, the post-build step will use copy_if_different for each individual file to avoid unnecessary file copying and triggering subsequent dependency to rebuild. Close#913.
Yao Wei Tjong 姚伟忠
2015-10-06 11:40:36 +0800
78514da22eAdd support for detecting ETC1 and PVRTC extensions in Emscripten/WebGL.
Jukka Jylänki
2015-10-05 20:22:15 -0700
e6416070f2Force loading of the space glyph even if the font's charcode listing doesn't mention it.
Lasse Öörni
2015-10-05 20:38:53 +0300
7b9692cbfbDisable frame limiter Sleep() on Emscripten builds. Closes#915.
Lasse Öörni
2015-10-05 19:29:33 +0300
86918f97ceWhen falling back on Windows host system makes a copy immediately. Close#918.
Yao Wei Tjong 姚伟忠
2015-10-05 19:36:20 +0800
a30ddbf1cfClean up .gitignore to keep up with recent changes for doc build.
Yao Wei Tjong 姚伟忠
2015-10-03 22:55:33 +0800
03ed41ccb7Store resource dependencies always, so that switching on resource autoreload in the middle of execution will work correctly. Closes#919.
Lasse Öörni
2015-10-05 11:54:37 +0300
ee08479d7aTravis CI: API documentation update at 2015-10-04 15:17:35 UTC. [ci package]
urho3d-travis-ci
2015-10-04 15:17:35 +0000
4360c5ed21Register BorderImage functions to Window in AngelScript API. Closes#912.
Lasse Öörni
2015-10-04 18:08:44 +0300
d094d85c98For Travis CI - update the rake task to use new Doxyfile's location. [ci only: master]
Yao Wei Tjong 姚伟忠
2015-10-03 11:26:27 +0800
03fc1f13c5Clean up the script and documentation for doc build.
Yao Wei Tjong 姚伟忠
2015-10-03 10:57:31 +0800
174feaccccRevert back logic to determine when the HTML help compiler is found.
Yao Wei Tjong 姚伟忠
2015-10-02 19:20:43 +0800
ff1ee0e4adFix the Urho3D DLL installation for targets in external projects.
Yao Wei Tjong 姚伟忠
2015-10-02 14:22:30 +0800
57310eed00Fix editor to load the produced temporary scene correctly if AssetImporter -b option is specified.
Lasse Öörni
2015-10-01 18:23:17 +0300
47526dd443Attempt to workaround all the limitations for Urho3D DLL installation.
Yao Wei Tjong 姚伟忠
2015-10-01 19:21:29 +0800
2fcbaae59dFix duplicate section name in shader fileformat documentation.
Lasse Öörni
2015-10-01 11:11:14 +0300
cdb94b1edaLimit the install of Urho3D DLL for CMake version 3.0 or higher. [ci only: master]
Yao Wei Tjong 姚伟忠
2015-10-01 00:56:15 +0800
66c6ed92ebLimit the copy/install of Urho3D DLL to targets within Urho3D project.
Yao Wei Tjong 姚伟忠
2015-10-01 00:30:06 +0800
929c842b57Copy/Install Urho3D shared library to the runtime dir outside of 'bin'. Fix doc target dependencies to include other non-generated dox files.
Yao Wei Tjong 姚伟忠
2015-10-01 00:12:25 +0800
65d36e4db2Fix crash / null exception in CharacterDemo which would result if the character node did not exist after loading the scene.
Lasse Öörni
2015-09-30 16:34:24 +0300
b362c9a953Remove unnecessary enum qualification.
Lasse Öörni
2015-09-30 10:45:05 +0300
9de78c0a3dRefactor dependency setup for 'doc' target. Close#879. The doc target now only really does its build action when it detects its documentation is out of date, similar to how other targets behaves.
Yao Wei Tjong 姚伟忠
2015-09-30 10:04:30 +0800
fcfd76328aTravis CI: API documentation update at 2015-09-29 18:22:02 UTC. [ci package]
urho3d-travis-ci
2015-09-29 18:22:02 +0000
315115295bFix OBJ output when vertex data has all of pos/uv/normal.
Lasse Öörni
2015-09-29 21:11:04 +0300
3859d6dd8cDo not export editor debug geometry to OBJ.
Lasse Öörni
2015-09-29 20:52:52 +0300
04d74d3f33Fix Color::BLACK to just BLACK in Localization AngelScript sample. Thanks JSandusky.
Lasse Öörni
2015-09-29 20:09:39 +0300
f017bf5efbUpdate AngelScript version in readme & docs.
Lasse Öörni
2015-09-28 22:38:43 +0300
4a16d34367Implement OBJ export functionality in editor
JSandusky
2015-09-27 22:16:23 -0400
57cff2fcd3Apply Urho3D specific config changes
JSandusky
2015-09-27 17:31:33 -0400
a8d42c8f99Fix crowdmanager angelscript bindings of methods with dtPolyRef* outputs
JSandusky
2015-09-27 16:37:31 -0400
928c08d22eUpdate Angelscript to 2.30.2, resolves#892 in Urho3D master
JSandusky
2015-09-27 15:39:11 -0400
8239cc2e5eUpdate Angelscript to 2.30.1
JSandusky
2015-09-27 15:22:35 -0400
8e9a2a629fSkip using dot and hhc when they are not being installed (properly).
Yao Wei Tjong 姚伟忠
2015-09-29 20:10:07 +0800
43c9120e33Do not use system paths when searching for the d3dcompiler DLL, to avoid using the wrong architecture.
Lasse Öörni
2015-09-29 00:11:45 +0300
e76dd6e4b9Return cast travel distance using m_closestHitFraction in ConvexCast() result. If desired, the distance to hit position from start position (earlier behavior) can be calculated manually. Closes#906.
Lasse Öörni
2015-09-28 21:10:26 +0300
04bbaf588aMake sure a null pointer is not returned from RigidBody::GetCollidingBodies(), if a colliding body was just destroyed.
Lasse Öörni
2015-09-27 15:38:30 +0300
8652de217dRename Source/Urho3D/Script to Source/Urho3D/AngelScript.
Yao Wei Tjong 姚伟忠
2015-09-27 16:02:29 +0800
f34205fd3bMore scaffolding for Clang-tools build. Pardon our dust. [ci only: Annotate]
Yao Wei Tjong 姚伟忠
2015-09-26 23:35:33 +0800
566d0767e2Fix Android and Rasperry-Pi cross-compiling build due to LuaJIT change. [ci only: Android, RPI]
Yao Wei Tjong 姚伟忠
2015-09-26 13:12:08 +0800
8538620437Fix Emscripten build using incoming branch 1.34.10. Close#905.
Yao Wei Tjong 姚伟忠
2015-09-26 12:52:34 +0800
add1c2c67bFix a typo which had caused wrong LuaJIT OS to be detected.
Yao Wei Tjong 姚伟忠
2015-09-26 12:50:50 +0800