Commit Graph

116 Commits

Author SHA1 Message Date
Kim Kulling
48e5b948e3 Update ColladaExporter.cpp
Some reformattings
2019-04-24 09:03:59 +02:00
RichardTea
1f55bdd9a7 Save/Load Collada 1.4 Root Asset Metadata
Add Collada 1.4 <asset/> metadata to export and import.
Can store in the Scene or the Root Node for export, will be loaded into the Scene during Import
2019-04-09 16:28:15 +01:00
kimkulling
a06133ab52 Update copyrights. 2019-01-30 09:41:39 +01:00
Kim Kulling
db202584ab remove dead code. 2018-12-28 01:45:47 +01:00
twhittock
8b6c6613f9 collada export: Use Camera local coordinate system
Fixes #2255
2018-12-04 14:44:49 +00:00
Kim Kulling
5814e6f9f0 Optimize some std::string usages. 2018-03-20 18:43:54 +01:00
Kim Kulling
b049933d2f update license dates. 2018-01-28 19:42:05 +01:00
BuildTools
66171de915 Successful lib build, unit testing still WIP 2018-01-05 16:18:33 -08:00
Alexandre Avenel
eb452b28a2 Fix warning on MSVC14 2017-11-25 11:38:12 +01:00
Kim Kulling
9707fde709 check for nullptr dereferencing before copying scene data 2017-11-19 17:41:31 +01:00
Unknown
12dbbd4ce9 Misc. typos
Some are doxy comments, some are just trivial source comment typos. 
Found using `codespell -q 3 --skip="./contrib" -I ../assimp-whitelist.txt`
whereby whitelist contained:
```
childs
iff
lod
nto
ot
whitespaces
```
2017-11-09 17:19:26 -05:00
Kim Kulling
fe55bc9996 Update ColladaExporter.cpp
fix build
2017-11-08 18:34:16 +01:00
Kim Kulling
c700c08fa5 Merge branch 'master' into master 2017-11-04 10:45:57 +01:00
Thomas Lemaire
5b76a31485 fix trivial warnings
mainly unused parameter and unused function
some parameters are indeed used in a debug built, I used the
(void)(param) trick
warnings reported by clang 4
2017-11-02 11:13:52 +01:00
Victor NG
99b9ba4c11 Merge branch 'master' into master 2017-10-30 16:33:47 +08:00
Victor NG
aca8f068d0 Update ColladaExporter.cpp 2017-10-30 16:29:57 +08:00
Victor NG
90ba199ad4 Update ColladaExporter.cpp 2017-10-21 18:28:14 +08:00
Kim Kulling
b2eb599176 Update ColladaExporter.cpp
Retrigger travis.
2017-10-16 18:51:25 +02:00
ndotl
7c8e8e04fa Merge branch 'master' into adsk-contrib-fix-std-stream-overflow 2017-10-09 16:00:46 +02:00
Haik Lorenz
7353d25c13 Prevent failing stringstream to crash the export process
Text exporters are using string streams to hold the file content first and then write them to the file in a single pass. If for whatever reason the stream has the fail bit set, tellp() will return pos_type(-1), which in turn makes the subsequent write crash - at least on Windows systems. One reason for the stream being in fail state is when its size exceeds 2^31 bytes, even on 64-bit systems (i.e., when very large scenes get exported).

The fix is checking the fail() before even opening the file.
2017-10-09 15:47:17 +02:00
Jared Mulconry
98532b45bf Fixed warnings when compiling for x64 on MSVC through VS 2017 v15.3.3. 2017-09-10 19:04:44 +10:00
Madrich
80acc1f241 Fix Collada export image tag
Fix compiler double issues
2017-07-17 09:42:26 +02:00
Kim Kulling
439409bef2 SceneCombiner: fix the build. 2017-06-21 15:24:06 +02:00
Kim Kulling
febf94f6aa Merge pull request #1212 from aoowweenn/umw_dev
MikuMikuDance Format
2017-05-17 12:01:46 +02:00
Kim Kulling
f77e27ca19 ColladaExporter: remove self assignment. 2017-05-09 20:59:01 +02:00
Kim Kulling
a2b8d66a86 Update license info. 2017-05-09 19:57:36 +02:00
aoowweenn
51dae22828 merge master and adjust assimp/DefaultIOSystem.h 2017-03-27 22:35:19 +08:00
aoowweenn
59b48fb960 finish skin controller 2017-03-24 14:39:34 +08:00
aoowweenn
968612fea1 testing2 2017-03-24 12:04:40 +08:00
aoowweenn
314bb451bb testing weights, still strange 2017-03-23 16:30:01 +08:00
aoowweenn
f10f2f5814 Almost finish vertex weghts 2017-03-23 04:33:53 +08:00
aoowweenn
845d206959 Fill in mParent for each node in Assbin Loader 2017-03-22 21:11:17 +08:00
aoowweenn
5bf974ae3b keep writing dae skinning 2017-03-22 17:06:55 +08:00
aoowweenn
e5a3038abd try to fill in vertex weights to dae exportor 2017-03-21 16:21:49 +08:00
Kim Kulling
bb7f387bcf Merge branch 'master' of https://github.com/assimp/assimp 2017-03-11 22:13:48 +01:00
Antoine Bolvy
5dd1bb9d6c Export DefaultIOSystem and move it with DefaultIOStream to include/ instead of code/ 2017-02-28 11:44:04 +09:00
Kim Kulling
ef540f46a3 Remove unused headers. 2017-02-22 17:20:26 +01:00
Denis Biryukov
36e53b75fa Issue#1084 - Fix collada export. Don't duplicate TEXCOORD/NORMALS/COLORS in <vertices> and <polylist> 2017-01-27 14:29:18 +03:00
Andy Maloney
3c5f1578c2 Fixes two type warnings and a missing case option 2016-12-07 20:30:45 -05:00
Kim Kulling
8bfe465d03 Merge pull request #1083 from jaredmulconry/implementation_warning_fix
Fixed warnings on MSVC14 x64 (Issue #1065)
2016-11-27 16:40:45 +01:00
John Senneker
578ed3f5d0 Properly export COLLADA <transparency> value 2016-11-25 12:09:49 -05:00
Jared Mulconry
d16b8953b5 Fixed build warnings on MSVC14 x64 in the Collada exporter. 2016-11-19 03:24:55 +11:00
Kim Kulling
c849e0108d Merge pull request #1055 from assimp/issue_957
Fix compiler warnings related to issue 957.
2016-11-03 19:11:56 +01:00
Kim Kulling
02e038bbb6 Fix compiler warnings related to issue 957. 2016-11-03 18:37:02 +01:00
tomacd
8e8757f800 Keep original materials names after RemoveRedundant materials process and export to collada 2016-10-27 19:23:43 +02:00
Kim Kulling
5cb4df80ad C++11-combat: hopefully the last std::to_string to replace. 2016-10-15 21:45:58 +02:00
Chris Russ
05a6ee6473 Adding double precision import support for formats that can be exported 2016-07-16 18:23:33 +10:00
Chris Russ
a5b3ce9a3c reverting back to 16 digit precision export
having to import 17 digit floats likely leads to issues in many other apps
2016-07-06 15:33:51 +10:00
Chris Russ
10f22779f4 setting default export precision to 17 for all exporters 2016-07-06 14:49:14 +10:00
Kim Kulling
5321072007 Static code analysis: fix minor finding. 2016-06-28 11:25:04 +02:00