Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
ed633009c2 Merge remote-tracking branch 'juj/approx_quat_slerp' 2015-10-09 22:29:22 +03:00
Lasse Öörni
e82708d0e0 Merge remote-tracking branch 'juj/ANGLE_instanced_arrays' 2015-10-09 22:29:12 +03:00
Lasse Öörni
b9d753171f Merge remote-tracking branch 'juj/sse_matrix' 2015-10-09 22:28:56 +03:00
Jukka Jylänki
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. 2015-10-09 21:35:34 +03:00
Jukka Jylänki
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. 2015-10-09 21:34:10 +03:00
Jukka Jylänki
e3ce38bb52 Remove code repetition in Source/Urho3D/Core/Timer.cpp. 2015-10-09 21:34:00 +03:00
Jukka Jylänki
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. 2015-10-09 20:36:10 +03:00
Jukka Jylänki
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. 2015-10-09 18:58:42 +03:00
Lasse Öörni
2cc066d709 Update Bullet to 2.83.6. Thanks to Jukka for the initial work & Emscripten fix. Closes #929. 2015-10-09 16:52:51 +03:00
urho3d-travis-ci
0cefd559a7 Travis CI: API documentation update at 2015-10-08 19:32:15 UTC.
[ci package]

Commit: 7db65a8952

Message: 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.
2015-10-08 19:32:15 +00:00
Lasse Öörni
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. 2015-10-08 22:18:06 +03:00
urho3d-travis-ci
bef4de0bc1 Travis CI: API documentation update at 2015-10-08 12:09:46 UTC.
[ci package]

Commit: 730388c0ce

Message: Fixed SplinePath AngelScript bindings and added documentation for it.
2015-10-08 12:09:46 +00:00
Mike3D
730388c0ce Fixed SplinePath AngelScript bindings and added documentation for it. 2015-10-08 14:00:44 +02:00
aster2013
1ab328db34 Only apply world transform for active and awake rigid body. 2015-10-08 18:10:01 +08:00
aster2013
67a3b10e94 Remove half size offset in D3D mode in Sprite2D::GetDrawRectangle. Fix #927 2015-10-08 13:57:59 +08:00
Lasse Öörni
2a223949aa Optionally move model's initial bone positions to bind pose (-bp argument). 2015-10-06 23:15:37 +03:00
Yao Wei Tjong 姚伟忠
e1341f7261 Replace the usage of Emscripten define and include to follow its norm.
Close #921.
[ci only: Emscripten]
2015-10-06 17:42:15 +08:00
Yao Wei Tjong 姚伟忠
01cae9de6a Switch off the sound support for most of the sample apps by default.
Close #924.
[ci package]
2015-10-06 16:58:02 +08:00
Lasse Öörni
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. 2015-10-06 11:35:46 +03:00
Lasse Öörni
2ac9f90e32 Added contributor credit. 2015-10-06 10:51:44 +03:00
Lasse Öörni
9fcf88eb2c Merge pull request #923 from juj/webgl_etc1_pvrtc
Add support for detecting ETC1 and PVRTC extensions in Emscripten/WebGL.
2015-10-06 10:38:50 +03:00
Yao Wei Tjong 姚伟忠
9b041c061a Add warning to user on Windows host system without MKLINK privilege.
[ci skip]
2015-10-06 12:15:02 +08:00
Yao Wei Tjong 姚伟忠
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.
2015-10-06 11:40:36 +08:00
Jukka Jylänki
78514da22e Add support for detecting ETC1 and PVRTC extensions in Emscripten/WebGL. 2015-10-05 20:22:15 -07:00
Lasse Öörni
e6416070f2 Force loading of the space glyph even if the font's charcode listing doesn't mention it. 2015-10-05 20:38:53 +03:00
Lasse Öörni
7b9692cbfb Disable frame limiter Sleep() on Emscripten builds. Closes #915. 2015-10-05 19:29:33 +03:00
Yao Wei Tjong 姚伟忠
86918f97ce When falling back on Windows host system makes a copy immediately.
Close #918.
2015-10-05 19:36:20 +08:00
Yao Wei Tjong 姚伟忠
a30ddbf1cf Clean up .gitignore to keep up with recent changes for doc build. 2015-10-05 18:32:54 +08:00
Lasse Öörni
03ed41ccb7 Store resource dependencies always, so that switching on resource autoreload in the middle of execution will work correctly. Closes #919. 2015-10-05 11:54:37 +03:00
urho3d-travis-ci
ee08479d7a Travis CI: API documentation update at 2015-10-04 15:17:35 UTC.
[ci package]

Commit: 4360c5ed21

Message: Register BorderImage functions to Window in AngelScript API. Closes #912.
2015-10-04 15:17:35 +00:00
Lasse Öörni
4360c5ed21 Register BorderImage functions to Window in AngelScript API. Closes #912. 2015-10-04 18:08:44 +03:00
Yao Wei Tjong 姚伟忠
d094d85c98 For Travis CI - update the rake task to use new Doxyfile's location.
[ci only: master]
2015-10-03 11:28:21 +08:00
Yao Wei Tjong 姚伟忠
03fc1f13c5 Clean up the script and documentation for doc build. 2015-10-03 10:57:31 +08:00
Yao Wei Tjong 姚伟忠
174feacccc Revert back logic to determine when the HTML help compiler is found. 2015-10-02 19:20:43 +08:00
Yao Wei Tjong 姚伟忠
ff1ee0e4ad Fix the Urho3D DLL installation for targets in external projects. 2015-10-02 14:24:06 +08:00
Lasse Öörni
57310eed00 Fix editor to load the produced temporary scene correctly if AssetImporter -b option is specified. 2015-10-01 18:23:17 +03:00
Yao Wei Tjong 姚伟忠
47526dd443 Attempt to workaround all the limitations for Urho3D DLL installation. 2015-10-01 19:21:29 +08:00
Lasse Öörni
2fcbaae59d Fix duplicate section name in shader fileformat documentation. 2015-10-01 11:11:45 +03:00
Yao Wei Tjong 姚伟忠
cdb94b1eda Limit the install of Urho3D DLL for CMake version 3.0 or higher.
[ci only: master]
2015-10-01 00:56:55 +08:00
Yao Wei Tjong 姚伟忠
66c6ed92eb Limit the copy/install of Urho3D DLL to targets within Urho3D project. 2015-10-01 00:38:36 +08:00
Yao Wei Tjong 姚伟忠
929c842b57 Copy/Install Urho3D shared library to the runtime dir outside of 'bin'.
Fix doc target dependencies to include other non-generated dox files.
2015-10-01 00:15:26 +08:00
Lasse Öörni
65d36e4db2 Fix crash / null exception in CharacterDemo which would result if the character node did not exist after loading the scene. 2015-09-30 16:34:24 +03:00
Lasse Öörni
b362c9a953 Remove unnecessary enum qualification. 2015-09-30 10:45:05 +03:00
Yao Wei Tjong 姚伟忠
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.
2015-09-30 10:04:30 +08:00
urho3d-travis-ci
fcfd76328a Travis CI: API documentation update at 2015-09-29 18:22:02 UTC.
[ci package]

Commit: 315115295b

Message: Fix OBJ output when vertex data has all of pos/uv/normal.
2015-09-29 18:22:02 +00:00
Lasse Öörni
315115295b Fix OBJ output when vertex data has all of pos/uv/normal. 2015-09-29 21:11:04 +03:00
Lasse Öörni
3859d6dd8c Do not export editor debug geometry to OBJ. 2015-09-29 20:52:52 +03:00
Lasse Öörni
04d74d3f33 Fix Color::BLACK to just BLACK in Localization AngelScript sample. Thanks JSandusky. 2015-09-29 20:24:34 +03:00
Lasse Öörni
f017bf5efb Update AngelScript version in readme & docs. 2015-09-29 20:24:34 +03:00
JSandusky
4a16d34367 Implement OBJ export functionality in editor
- Global utility method for writing Drawables to an OBJ in Drawable
- AllContentOctreeQuery added
- Minor fixes to Octree query angelscript bindings
2015-09-29 20:24:33 +03:00