Commit Graph

  • 86e86bcd30 SSE optimize BoundingBox::Transformed(). Jukka Jylänki 2015-10-11 18:09:04 +0300
  • 4ffff7ab4c SSE optimize Matrix3x4 construction from translation, rotation and scale. Jukka Jylänki 2015-10-11 17:39:43 +0300
  • 173080cbc8 Make bounding box undefined if it was clipped to be degenerate. Closes #944. Lasse Öörni 2015-10-12 12:10:45 +0300
  • d09a94aa8f Minor doc edit related to SSE. Lasse Öörni 2015-10-12 11:50:58 +0300
  • 52805e2709 Merge remote-tracking branch 'juj/sse_matrix_math' Lasse Öörni 2015-10-12 11:49:14 +0300
  • 3988f8873e Merge remote-tracking branch 'juj/unsynchronized_jacks' Lasse Öörni 2015-10-12 11:44:26 +0300
  • d45c85302b Rectify wrong object registration. [ci skip] Yao Wei Tjong 姚伟忠 2015-10-12 15:37:38 +0800
  • b7ee2575d7 Convert tab to spaces, [ci skip] aster2013 2015-10-12 13:59:54 +0800
  • 27184504c9 Reset slots to setup pose, fix issue #932. aster2013 2015-10-12 13:39:56 +0800
  • 7af9276249 Travis CI: API documentation update at 2015-10-12 04:35:21 UTC. [ci package] urho3d-travis-ci 2015-10-12 04:35:21 +0000
  • 96917c5412 Minor Fix, Thanks @weitjong aster2013 2015-10-12 11:42:16 +0800
  • 5d31552b82 Merge branch 'type-info' aster2013 2015-10-12 11:19:42 +0800
  • a1105f7d38 Minor refactor, add comment to type info. aster2013 2015-10-12 10:31:38 +0800
  • 04dba029ed Clarifications for third party library use in the contribution checklist. Lasse Öörni 2015-10-11 20:14:01 +0300
  • bf9111b862 Make Jacks not walk in synchronized lockstep timing in 06_SkeletalAnimation sample. Jukka Jylänki 2015-10-11 01:35:54 +0300
  • 3a948899a7 Add 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
  • 6bd1d77634 Add baseTypeName argument to OBJECT macro. aster2013 2015-10-11 22:17:55 +0800
  • 08e0b3bd62 Switch off SSE when targeting iOS/iPhoneSimulator as well. Yao Wei Tjong 姚伟忠 2015-10-11 12:54:19 +0800
  • c44ff392df Minor clean up to remove redundant linker flag. [ci skip] Yao Wei Tjong 姚伟忠 2015-10-11 09:52:00 +0800
  • 1a317e63ce Actually 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
  • 3ac2cb6e37 Avoid 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
  • 00be823f71 Update URHO3D_SSE to denote SSE2. Jukka Jylänki 2015-10-11 00:12:13 +0300
  • af7ed744f0 URHO3D_THREADING build option. Closes #939. Lasse Öörni 2015-10-10 23:17:03 +0300
  • 0107a0bf75 SSE 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
  • da81b99ca3 Do 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
  • ec125f2952 Switch off SSE for 64-bit arm platforms as well. [ci only: Android, OSX, Coverity] Yao Wei Tjong 姚伟忠 2015-10-10 23:15:48 +0800
  • e6e16b90ed Minor 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
  • d168ab9d91 Optimize 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
  • ace1f1155b Avoid 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
  • fde2ad45ac Fix Android and Raspberry-Pi build by always disabling SSE support. [ci only: RPI, Android] Yao Wei Tjong 姚伟忠 2015-10-10 17:43:56 +0800
  • d05226e448 Only 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
  • 2d80a25394 Travis CI: API documentation update at 2015-10-09 22:24:01 UTC. [ci package] urho3d-travis-ci 2015-10-09 22:24:01 +0000
  • 4bdd80775b Add 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
  • 0e8aafbbb6 Make 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
  • 7287e02278 Expose Node::MarkDirty() to AngelScript for consistency. Lasse Öörni 2015-10-09 23:12:30 +0300
  • f9de34e994 Code formatting. Lasse Öörni 2015-10-09 22:34:11 +0300
  • ed633009c2 Merge remote-tracking branch 'juj/approx_quat_slerp' Lasse Öörni 2015-10-09 22:29:22 +0300
  • e82708d0e0 Merge remote-tracking branch 'juj/ANGLE_instanced_arrays' Lasse Öörni 2015-10-09 22:29:12 +0300
  • b9d753171f Merge remote-tracking branch 'juj/sse_matrix' Lasse Öörni 2015-10-09 22:28:56 +0300
  • 52ef3e92eb Optimize 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
  • af8d27e8b4 Use 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
  • e3ce38bb52 Remove code repetition in Source/Urho3D/Core/Timer.cpp. Jukka Jylänki 2015-10-09 19:20:19 +0300
  • 3ad9ba306d SSE 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
  • fc0d427557 Add support for GPU hardware instancing on Emscripten. In WebGL 1 it is exposed by the ANGLE_instanced_arrays ( https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/ ) extension, and in WebGL 2, it is enabled in core. Jukka Jylänki 2015-10-09 00:59:10 +0300
  • 2cc066d709 Update 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
  • 0cefd559a7 Travis CI: API documentation update at 2015-10-08 19:32:15 UTC. [ci package] urho3d-travis-ci 2015-10-08 19:32:15 +0000
  • 7db65a8952 Added 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
  • bef4de0bc1 Travis CI: API documentation update at 2015-10-08 12:09:46 UTC. [ci package] urho3d-travis-ci 2015-10-08 12:09:46 +0000
  • 730388c0ce Fixed SplinePath AngelScript bindings and added documentation for it. Mike3D 2015-10-08 14:00:44 +0200
  • 1ab328db34 Only apply world transform for active and awake rigid body. aster2013 2015-10-08 18:10:01 +0800
  • 67a3b10e94 Remove half size offset in D3D mode in Sprite2D::GetDrawRectangle. Fix #927 aster2013 2015-10-08 13:57:59 +0800
  • 2a223949aa Optionally move model's initial bone positions to bind pose (-bp argument). Lasse Öörni 2015-10-06 22:07:35 +0300
  • e1341f7261 Replace 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
  • 01cae9de6a Switch 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
  • b6ff82571a Remove 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
  • 2ac9f90e32 Added contributor credit. Lasse Öörni 2015-10-06 10:51:44 +0300
  • 9fcf88eb2c Merge pull request #923 from juj/webgl_etc1_pvrtc Lasse Öörni 2015-10-06 10:38:50 +0300
  • 9b041c061a Add warning to user on Windows host system without MKLINK privilege. [ci skip] Yao Wei Tjong 姚伟忠 2015-10-06 12:13:44 +0800
  • 5961b7f2d6 Always 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
  • 78514da22e Add support for detecting ETC1 and PVRTC extensions in Emscripten/WebGL. Jukka Jylänki 2015-10-05 20:22:15 -0700
  • e6416070f2 Force 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
  • 7b9692cbfb Disable frame limiter Sleep() on Emscripten builds. Closes #915. Lasse Öörni 2015-10-05 19:29:33 +0300
  • 86918f97ce When falling back on Windows host system makes a copy immediately. Close #918. Yao Wei Tjong 姚伟忠 2015-10-05 19:36:20 +0800
  • a30ddbf1cf Clean up .gitignore to keep up with recent changes for doc build. Yao Wei Tjong 姚伟忠 2015-10-03 22:55:33 +0800
  • 03ed41ccb7 Store 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
  • ee08479d7a Travis CI: API documentation update at 2015-10-04 15:17:35 UTC. [ci package] urho3d-travis-ci 2015-10-04 15:17:35 +0000
  • 4360c5ed21 Register BorderImage functions to Window in AngelScript API. Closes #912. Lasse Öörni 2015-10-04 18:08:44 +0300
  • d094d85c98 For 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
  • 03fc1f13c5 Clean up the script and documentation for doc build. Yao Wei Tjong 姚伟忠 2015-10-03 10:57:31 +0800
  • 174feacccc Revert back logic to determine when the HTML help compiler is found. Yao Wei Tjong 姚伟忠 2015-10-02 19:20:43 +0800
  • ff1ee0e4ad Fix the Urho3D DLL installation for targets in external projects. Yao Wei Tjong 姚伟忠 2015-10-02 14:22:30 +0800
  • 57310eed00 Fix editor to load the produced temporary scene correctly if AssetImporter -b option is specified. Lasse Öörni 2015-10-01 18:23:17 +0300
  • 47526dd443 Attempt to workaround all the limitations for Urho3D DLL installation. Yao Wei Tjong 姚伟忠 2015-10-01 19:21:29 +0800
  • 2fcbaae59d Fix duplicate section name in shader fileformat documentation. Lasse Öörni 2015-10-01 11:11:14 +0300
  • cdb94b1eda Limit 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
  • 66c6ed92eb Limit the copy/install of Urho3D DLL to targets within Urho3D project. Yao Wei Tjong 姚伟忠 2015-10-01 00:30:06 +0800
  • 929c842b57 Copy/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
  • 65d36e4db2 Fix 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
  • b362c9a953 Remove unnecessary enum qualification. Lasse Öörni 2015-09-30 10:45:05 +0300
  • 9de78c0a3d Refactor 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
  • fcfd76328a Travis CI: API documentation update at 2015-09-29 18:22:02 UTC. [ci package] urho3d-travis-ci 2015-09-29 18:22:02 +0000
  • 315115295b Fix OBJ output when vertex data has all of pos/uv/normal. Lasse Öörni 2015-09-29 21:11:04 +0300
  • 3859d6dd8c Do not export editor debug geometry to OBJ. Lasse Öörni 2015-09-29 20:52:52 +0300
  • 04d74d3f33 Fix Color::BLACK to just BLACK in Localization AngelScript sample. Thanks JSandusky. Lasse Öörni 2015-09-29 20:09:39 +0300
  • f017bf5efb Update AngelScript version in readme & docs. Lasse Öörni 2015-09-28 22:38:43 +0300
  • 4a16d34367 Implement OBJ export functionality in editor JSandusky 2015-09-27 22:16:23 -0400
  • 57cff2fcd3 Apply Urho3D specific config changes JSandusky 2015-09-27 17:31:33 -0400
  • a8d42c8f99 Fix crowdmanager angelscript bindings of methods with dtPolyRef* outputs JSandusky 2015-09-27 16:37:31 -0400
  • 928c08d22e Update Angelscript to 2.30.2, resolves #892 in Urho3D master JSandusky 2015-09-27 15:39:11 -0400
  • 8239cc2e5e Update Angelscript to 2.30.1 JSandusky 2015-09-27 15:22:35 -0400
  • 8e9a2a629f Skip using dot and hhc when they are not being installed (properly). Yao Wei Tjong 姚伟忠 2015-09-29 20:10:07 +0800
  • 43c9120e33 Do 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
  • e76dd6e4b9 Return 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
  • 04bbaf588a Make 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
  • 8652de217d Rename Source/Urho3D/Script to Source/Urho3D/AngelScript. Yao Wei Tjong 姚伟忠 2015-09-27 16:02:29 +0800
  • f34205fd3b More scaffolding for Clang-tools build. Pardon our dust. [ci only: Annotate] Yao Wei Tjong 姚伟忠 2015-09-26 23:35:33 +0800
  • 566d0767e2 Fix 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
  • 8538620437 Fix Emscripten build using incoming branch 1.34.10. Close #905. Yao Wei Tjong 姚伟忠 2015-09-26 12:52:34 +0800
  • add1c2c67b Fix a typo which had caused wrong LuaJIT OS to be detected. Yao Wei Tjong 姚伟忠 2015-09-26 12:50:50 +0800
  • 1e0c51fbe7 Fix dependency issue when building AutoBinder on host with no symlink. Yao Wei Tjong 姚伟忠 2015-09-25 21:30:26 +0800