Commit Graph

84 Commits

Author SHA1 Message Date
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Rokas Kupstys
966590d8e7 Use FlagSet<> for storing masks.
Author of FlagSet.h is Eugene Kozlov (https://github.com/eugeneko/).
2018-06-18 18:26:46 +03:00
Yao Wei Tjong 姚伟忠
d43bf1b3d6
Clang-Tidy - hicpp-signed-bitwise.
However, this check is disabled because we could not cleanly modify the code everywhere to make them pass.
2018-04-01 10:48:47 +08:00
Yao Wei Tjong 姚伟忠
6d08bcd8c0
Clang-Tidy - hicpp-member-init. 2018-02-25 23:32:38 +08:00
Yao Wei Tjong 姚伟忠
29fed24492 Rinse and repeat by invoking clang-tidy (v3.9) from CLI directly.
It appears that Clion's modified version of the clang-tidy does not detect and fix all the issues.
2018-01-22 23:34:16 +08:00
Yao Wei Tjong 姚伟忠
628d321d05 Clang-Tidy - readability-inconsistent-declaration-parameter-name. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
49e0e2122d Clang-Tidy - readability-non-const-parameter. 2018-01-20 23:52:03 +08:00
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
d8a438b169 Clang-Tidy - modernize-return-braced-init-list. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
617b2d8cf7 Minor refactor to manually rename the range-based-for-loop index. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
446247fa8c Clang-Tidy - modernize-loop-convert. 2017-12-31 13:48:08 +08:00
Yao Wei Tjong 姚伟忠
ca97fd9b9b Clang-Tidy - modernize-use-auto. 2017-12-31 12:46:26 +08:00
Eugene Kozlov
59391f9523 Source/Tools and Source/Samples automatic upgrade: override, typedef to using, 0 to nullptr. 2017-08-29 11:40:46 +03:00
Lasse Öörni
c8ecd9f55c Typo fix in AssetImporter. 2017-07-13 14:03:43 +03:00
Lasse Öörni
364521c1ee Do not transform root bone with model's root node in AssetImporter, only with nodes in between (if any). Possible fix to #1944. 2017-05-20 15:39:23 +03:00
Lasse Öörni
97b594de36 Fix assigning of global animation start/end time variables which would have unintended consequences when saving multiple animations. Closes #1789. 2017-02-01 13:59:42 +02:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Lumak
4fd62537e6 implemented a much simpler version 2016-09-19 00:40:17 -07:00
Lumak
7341c9a48b a bit of clean up 2016-09-18 14:42:26 -07:00
Lumak
931b9bbd98 added a feature to be able to export fbx animation w/o skinned mesh 2016-09-18 13:12:49 -07:00
Lasse Öörni
773ba488ea Merge pull request #1550 from Lumak/master
fixed a bug where crash is caused by geometry having key animation
2016-08-31 12:45:54 +03:00
Lumak
79f1a1bdcd added a check for invalid boneIndex caused by geometry key animation 2016-08-30 10:19:43 -07:00
Lumak
d7085d2c7c copy and paste edit 2016-08-30 09:06:56 -07:00
Lumak
a1aa049e2f fixed geometry having animation key problem
a geometry being animated causes crash because the suppression looks for
a parent bone
2016-08-30 08:44:12 -07:00
Lasse Öörni
9df9a5c77c Add new AssetImporter flag to Doxygen docs. 2016-08-24 17:32:54 +03:00
Lumak
3af3c2b695 fixed channelIndices[] indexing in ExpandAnimatedChannelKeys() func.
-and removed dbg dump code
2016-08-22 21:48:39 -07:00
Lasse Öörni
dc2acfdf6e Minor typo, code convention and whitespace fixes. 2016-08-22 21:32:50 +03:00
Lumak
9636bba26d corrected copying scalingkey in ExpandAnimatedChannelKeys func. 2016-08-22 08:59:41 -07:00
Lumak
501dc3b364 max compile error fix 2016-08-22 07:58:25 -07:00
Lumak
dbd6465169 added assetimporter feature to suppress $fbx nodes 2016-08-22 07:34:43 -07:00
Lasse Öörni
5d71f8012a Update documentation. Skip material / texture save in AssetImporter "anim" mode. 2016-05-18 16:24:54 +03:00
svifylabs
d304d941d1 Add import only animation 2016-05-18 09:50:12 +02:00
Lasse Öörni
2771411577 Fix OBJ export in Drawable class. Fix wrong indexing in writing vertex colors in AssetImporter. Minor addition to documentation. 2016-04-13 15:48:43 +03:00
Lasse Öörni
ede04a46f1 Added equality operator to VertexElement. Add multiple color & UV channel (up to 4) support to AssetImporter. Make editor's resource browser recognize the UMD2 model format. Closes #707. 2016-04-13 13:43:33 +03:00
Lasse Öörni
b7a7bdb705 Tabs to spaces, minor comment cleanup. Document new AssetImporter command line option. 2016-03-22 12:46:40 +02:00
Terence
d73be95692 AssetImpoter can import a subset animation frames. 2016-03-22 03:51:45 +08:00
Lasse Öörni
49ce2984fe Generate skinning information if animated model has non-skinned subgeometries. Closes #1227. 2016-03-09 14:14:39 +02:00
Lasse Öörni
2e96545687 Output warning in AssetImporter when model has bones and consists of many submeshes, some of which don't have skinning information. 2016-03-09 00:38:47 +02:00
Lasse Öörni
2cbff0669d Search for a common root up to the scene root node if necessary, if there seem to be multiple skeleton roots. Allow saving animations also when no geometry. To improve animation save in that case, prepend the output filename to animation filename in any case. Closes #1221. 2016-03-05 21:31:01 +02:00
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00
Lasse Öörni
b218aececc Sync AssetImporter documentation with the program's actual command line options. Simplify D3D9 uninitialization code with SAFE_RELEASE. Minor code convention edit. 2015-12-24 13:16:17 +02:00
yushli
86825b2ee8 add save as JSON option 2015-12-24 11:36:25 +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
Lasse Öörni
07dab99469 Update Assimp to latest head from github. Closes #786. 2015-09-15 14:29:53 +03:00
Lasse Öörni
7356bdecfb Add API to Animation / AnimationTrack to create tracks and keyframes and expose it to script. Change AnimationTracks to be stored in a HashMap so that removal and creation is safe without invalidating pointers. Changed the AnimationTriggerPoint API to resemble the AnimationTrack API, and change it to be handled as a value type in AngelScript API. Closes #878. 2015-09-11 16:08:48 +03:00
Yao Wei Tjong 姚伟忠
c2471a240a Reorganize includes for Samples and Extras.
Since the URHO3D_PCH build option is made available to support non-PCH build, our build system does not rely on precompiled header to include the Urho3D.h export header anymore. The export header is auto-included by one of Urho3D headers when it is required using the right format with the help of URHO3D_IS_BUILDING compiler define. As such, there is no need to explicitly include Urho3D.h in external project too. Sorry for the flip-flop.
2015-08-27 18:07:20 +08:00
Lasse Öörni
44acf54118 Make sure the lowest bone influences are dropped if too many. 2015-08-18 21:58:24 +03:00
Lasse Öörni
b631612ff7 Force normalization of vertex weights in AssetImporter. More than 4 weights is no longer a fatal error, instead any more than that are dropped and a warning is logged. 2015-08-18 19:27:25 +03:00