Marc-Antoine Lortie
20388d6a4f
Refactored Assbin exporter and assimp_cmd binary serialization functions.
...
- Renamed AssimpExport to AssimpFileWriter.
- Moved AssimpFileWriter to it's own file.
- Added a try catch in WriteBinaryDump to fix a case with memory leak.
- Replaced calls to WriteBinaryDump with AssimpFileWriter.
- Added new AssimpFileWriter files to CMakeLists.txt.
2020-01-28 09:55:05 -05:00
Marc-Antoine Lortie
ab284f7996
Fixed enumeral mismatch error in build.
2020-01-26 14:02:16 -05:00
Marc-Antoine Lortie
b23c0b0637
Uniformized error codes (return values) in assimp_cmd.
2020-01-26 13:10:21 -05:00
Marc-Antoine Lortie
770c822621
Updated places to achFormatHint referencing array size.
2020-01-23 15:26:49 -05:00
Marc-Antoine Lortie
4e7e47bd43
Updated copyright dates.
...
Changed copyright end year to 2020 in every reference "Copyright (c) 2006-XXXX, assimp team".
Changed copyright end year to 2020 in every reference "Copyright (c) 2006-XXXX, ASSIMP Development Team".
Changed copyright end year to 2020 in LICENCE.rtf.
Changed copyright end year in CMakeFiles.txt files and any other places referencing Assimp with a copyright start and end year.
2020-01-20 08:53:12 -05:00
Gordon MacPherson
fbb34b1de1
ScaleProcess overhauled to improve compatibility with animations and unit conversion.
...
./assimp Added arguments --gs to assimp command line option to enable global scaling.
No scaling for mScale of 1.0.
Co-Authored-By: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2019-08-19 17:36:57 +01:00
Kim Kulling
cc10967913
Fix the build.
2019-06-11 20:17:50 +02:00
Alexandre Avenel
a60b7696e3
Parse post process arguments when using info tool
2019-05-21 19:39:49 +02:00
Charlie Gettys
f15f37634d
BlenderDNA.h:
...
* Fix rethrow that would crash the program.
* QUESTION: am I throwing the right exception here.
COBLoader:
* catch exception by const ref
* fix equality checks using strncmp taht weren't actually checking equality
FBXMaterial: Catch exception by const ref (+ Debug log that it's done so)
FBXConverter: Rename local variables to avoid shadowing parameter
ImageExtractor: Remove duplicated/unreachable code
FBXConverter: Another shadowed variable fix
MD5Loader: 2 shadowed variables
IRRLoader: shadowed parameter
StepFileReader.cpp: Shadowed parameter
IRRLoader: remove empty else statement
STLExporter: Throw error instead of silently ignoring unimplemented option
Misc empty blocks removed or debug logging added
2019-03-30 16:08:25 -04:00
kimkulling
61ffe017e8
Fix some coverity findings.
2019-03-14 17:37:28 +01:00
Kim Kulling
6e39c22554
Fix potential security issues.
2019-02-05 22:05:52 +01:00
kimkulling
4347ce4311
Some more findings.
2019-01-31 17:24:08 +01:00
kimkulling
a06133ab52
Update copyrights.
2019-01-30 09:41:39 +01:00
Kim Kulling
194b59b3b2
Update Info.cpp
...
Add a simple check to avoid verbose + silent mode together,
2018-12-22 09:12:10 +01:00
Alexandre Avenel
b71b7982b5
Add silent flag to assimp cmd
...
Add a new command line flag to assimp cmd in order to only display minimal
info when loading a file.
This is especially useful for quick profiling/fuzzing.
2018-12-15 18:07:34 +01:00
Martin Jerabek
e8e8578d7f
assimp_cmd: fix writing compressed binary assimp format
...
Also print someting to console when compression fails.
2018-11-26 12:06:08 +01:00
d
95c0deaaff
added DropFaceNormals process
2018-10-29 16:23:11 +01:00
Alexandre Avenel
b3e858956a
Fix #2149 Add flag to embed textures in assimp_cmd
2018-09-21 22:17:12 +02:00
Cloud Wu
2188703f55
fix build for independent build dir
2018-06-13 10:46:30 +08:00
Kim Kulling
f7d0e05018
closes https://github.com/assimp/assimp/issues/1952 : check for postprocessing parameter before try to parse -f
2018-05-10 14:21:43 +02:00
Tommy
4a4b9cd31b
assimp_cmd: prettier and better-compressed node hierarchy.
...
Also removed line and nesting limits.
It's better to show all the info than to silently discard some.
With the new compressed display, it is far less obtrusive anyway.
2018-03-29 12:59:35 +02:00
Kim Kulling
145a09a775
Merge branch 'master' into info_more_mesh_info
2018-02-28 21:38:52 +01:00
Tommy
ce7673979b
assimp_cmd export: print error message on failure.
2018-02-25 10:10:07 +01:00
Tommy
e7736022c8
assimp_cmd info: list meshes and print basic mesh stats.
2018-02-25 09:34:14 +01:00
Tommy
a8fc22fd3f
assimp_cmd: Add --verbose flag to 'info' command, to print node transforms.
2018-02-21 12:57:45 +01:00
Kim Kulling
b049933d2f
update license dates.
2018-01-28 19:42:05 +01:00
BuildTools
a8a1ca9894
header paths adjusted for unit tests and samples
2018-01-05 23:12:40 -08:00
Turo Lamminen
10f4b6f95c
assimp_cmd: Fix strict-aliasing warnings
2017-11-18 16:02:53 +02:00
Turo Lamminen
9dadec7736
assimp_cmd: Add assertion to silence a static analyzer warning
2017-11-15 11:45:21 +02:00
Kim Kulling
919f2a1ea9
Commandline tool: fix url to project space.
2017-07-30 21:21:51 +02:00
Kim Kulling
a2b8d66a86
Update license info.
2017-05-09 19:57:36 +02:00
Jared Mulconry
dc3f265803
Fixed build warnings on MSVC14 x64 in the write dumb source.
2016-11-27 15:16:19 +11:00
Kim Kulling
8ba10cf26a
Closes https://github.com/assimp/assimp/issues/966 : add missing doc for
...
assimp_cmd.
2016-08-09 13:42:33 +02:00
Chris Russ
fa1d6d8c55
propagating precision requirments into operations
2016-07-16 18:23:33 +10:00
Kim Kulling
97145a7f20
Replace std:.endl by backslash n.
2016-04-27 17:59:12 +02:00
Kim Kulling
829e56df0c
cmake env: add license info.
2016-04-23 09:42:05 +02:00
Sherief Farouk
397fa374a3
Removed usage of Boost static assert.
2016-03-18 17:02:39 -07:00
Kim Kulling
df9bb8b915
Update license date.
2016-01-21 19:53:25 +01:00
rmitton
957426ed72
Tiny misc fixes for documentation
2015-12-13 22:12:25 -08:00
IOhannes m zmölnig
989e8af3fb
fix argument check for assimp cmdline tool
...
`assimp cmpdump` expects two files as arguments.
so we need to check for at least 2 extra arguments (rather than only check
for !<1 and access both)
2015-11-13 22:33:53 +01:00
Kim Kulling
36f0ccced1
Merge branch 'master' of https://github.com/assimp/assimp
...
Conflicts:
tools/assimp_cmd/ImageExtractor.cpp
2015-07-08 00:40:35 +02:00
Kim Kulling
bc8aa18eb2
Fix : https://github.com/assimp/assimp/issues/557
2015-07-08 00:34:28 +02:00
Alexander Gessler
cf4cb6caef
Merge pull request #598 from LegalizeAdulthood/cppcheck-null
...
Fix char buffer issues found by cppcheck
2015-07-05 13:46:54 +02:00
Richard
dd609767f2
Fixed: Use proper printf format specifier for unsigned integers
2015-07-03 19:39:05 -06:00
Richard
8d82bf3338
Fixed: Ensure string buffers are NUL terminated.
2015-07-03 19:33:58 -06:00
Kim Kulling
d763483c67
Merge pull request #596 from LegalizeAdulthood/init-variables
...
Initialize all members in c'tors
2015-07-03 15:36:58 +02:00
Richard
b34b5d4207
Fixed: Plug FILE* resource leak
2015-07-02 20:55:56 -06:00
Richard
c25690f0e4
Refactor: Use LF line endings for source files
2015-07-02 20:51:45 -06:00
Richard
5ae1c28881
Refactor: Apply editor config rules to tools
2015-06-29 20:54:59 -06:00
Richard
1d96486437
Refactored: Reformat CMake files to conform to editor config
2015-06-28 15:50:57 -06:00
Kim Kulling
2bfc353fde
License info: update year info.
2015-06-28 21:48:25 +02:00
Peter LaValle
db8b973aec
wrapped the CRT warning macro
...
I already have these in an outer-script
2015-05-31 11:52:04 +01:00
abma
8c45a4dc3b
Merge remote-tracking branch 'origin'
...
Conflicts:
code/C4DImporter.cpp
code/OgreImporter.h
2015-04-16 01:03:00 +02:00
abma
bf4913b5c9
remove AssimpPCH.h: fixes #534
2015-04-16 01:00:17 +02:00
Alexander Gessler
e5d4f537bd
CompareDump: do not use C++11 range based for loop.
2015-03-28 13:10:34 +01:00
Alexander Gessler
ce7b3af1d7
CompareDump: fix typo in light compare code.
...
Brings regression suite local runs to 100%.
2015-03-28 12:53:08 +01:00
Alexander Gessler
e2addcee77
CompareDump: fix reporting bugs. The top stack entry was missing (!) and we had an off-by-one in the index computation.
...
Also, all of this should be rewritten from scratch.
2015-03-28 12:51:46 +01:00
Alexander Gessler
e0dd061dcb
CompareDump: add debug trace of past push/pop operations to assist debugging.
2015-03-28 12:46:15 +01:00
Kim Kulling
12efa14777
add openddl_parser directly to assimp.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-19 11:37:58 +01:00
Kim Kulling
2717d51f7e
Merge remote-tracking branch 'origin/master' into opengex_support
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
Conflicts:
code/ParsingUtils.h
2015-03-17 14:26:39 +01:00
Alexander Gessler
09c15331c4
Improve error reporting during dump diffing.
2015-03-15 21:01:34 +01:00
Kim Kulling
d9d7dd31ea
fix linker error: undefined references to openddl_parser.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-11 19:05:37 +01:00
Turo Lamminen
5a74e07f5f
Mark some more functions with AI_WONT_RETURN
2015-02-27 23:09:12 +02:00
Kim Kulling
b700cd917f
Merge pull request #452 from ricortiz/FixExportedLibraryNameVariable
...
Fix exported library name variable
2015-01-29 17:24:30 +01:00
Turo Lamminen
b97c26b1d2
Avoid division by zero in assimp_cmd info when scene loading succeeds but contains no meshes
2015-01-25 22:30:10 +02:00
Ricardo Ortiz
a94e668486
Define CMAKE_DEBUG_POSTFIX and use it instead of ASSIMP_DEBUG_PREFIX
...
to have a consistent library name accross platforms.
2015-01-23 14:19:29 -05:00
abma
6c5f9ecb06
fix most warnings with -pendantic
2014-08-18 02:09:06 +02:00
Alexander Gessler
247f5cee3a
Assimp_cmd: Drop malformed version spec from rc file.
2014-06-14 22:47:18 +02:00
Léo Terziman
e7e0a5a090
Fixed assimp_cmd version message
2014-05-19 14:56:39 +02:00
Kim Kulling
f6925db3d8
update: add cmake_mimimum_required statement to each cmake file
...
for consistency
2014-05-10 10:31:42 +02:00
Kim Kulling
825a61fbc0
update:
...
- update version info for 3.1
- aiGetVersionRevision will now return the git tag.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-01 11:32:15 +02:00
Léo Terziman
2047cf6764
Merge remote-tracking branch 'official/master' into contrib
2014-04-28 09:11:40 +02:00
Peter LaValle
4d2c7f116d
XML filename tweaks
...
This change encodes the XML strings for scenarios involving `&` et al in material file names
2014-04-22 16:33:11 +01:00
Léo Terziman
7c3a039349
Merge remote-tracking branch 'official/master' into contrib
...
Conflicts:
include/assimp/matrix4x4.inl
include/assimp/vector2.h
include/assimp/vector3.h
2014-04-22 14:32:59 +02:00
Peter LaValle
73e6908c36
fixed "<Colors ...> ... </Color>" typo
...
The XML tags did not match. Mismatched tags confuse XML parser kits. So I fixed the tags to match.
2014-04-15 15:10:48 +01:00
Léo Terziman
9cc1e8fa1c
Fixed assimp_cmp version output message
2014-01-17 12:03:10 +01:00
Alexander Gessler
69acdabdef
CMake: make assimp_view/assimp_cmd's file copying DEPEND on assimp.
2013-09-18 14:42:42 +02:00
Alexander Gessler
de03173e6d
CMake: simplify.
2013-09-18 14:37:49 +02:00
Alexander Gessler
f8f7e2468c
CMake: use copy_if_different instead of copy and only run PRE_BUILD on Windows as it is not required on *nix anyway.
2013-09-18 14:10:26 +02:00
Alexander Gessler
995978b163
CMake for assimp_cmd: also copy over assimp output binary as PRE_BUILD event.
2013-09-18 13:55:02 +02:00
aramis_acg
aaf0be0bbf
- CMake overhaul. Add proper FindXXX scripts for PkgMacros, ZLIB, DirectX. Isolate MSVC-specific defines. Add newer boost versions to boost whitelist. Many thanks to Mr. S. for the patch! (see http://zfx.info/viewtopic.php?f=9&t=334&p=32190#p32190 )
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1293 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-17 22:56:15 +00:00
aramis_acg
ec6c62e005
- consistent use of ai_assert instead of assert.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1241 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 23:22:40 +00:00
kimmi
71b8fa7cb5
Bugfix : Commit not saved changes.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1226 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 22:41:39 +00:00
jonathanklein
eebba5348d
- Added Debug Postfix
...
- added Viewer Installer
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1172 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-18 10:55:47 +00:00
aramis_acg
6fa251c2f2
- unify naming of all header files. Obviously, this is a breaking change that affects all users.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1150 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 17:04:06 +00:00
aramis_acg
f07901df9d
- update tools/
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1149 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 16:26:11 +00:00
aramis_acg
4dbf539b44
- update license header. Update copyright year and unify naming: our name is 'assimp', not 'ASSIMP'.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1147 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 03:38:30 +00:00
aramis_acg
afd462045d
- assimp export: fix small issue when guessing output file format. See https://sourceforge.net/projects/assimp/forums/forum/817653/topic/4922378
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1103 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-01-04 15:10:27 +00:00
kimmi
1a6f1cb3e1
Bugfix : Patch for the debian-builds: remove a g++ specific printf-format bug.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1081 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-09-28 08:30:44 +00:00
aramis_acg
2ffac898d6
[3393728] [PATCH 1/2] ommit->omit and splitted->split
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1064 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-08-20 22:00:33 +00:00
aramis_acg
9edc0a9b8e
merge with git://github.com/tonttu/assimp.git
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1029 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-06-09 14:29:32 +00:00
aramis_acg
c05acabea9
- update cmake build environment, now includes targets to build debian packages for Assimp.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@997 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-05-09 19:34:21 +00:00
aramis_acg
7807c15e65
# fix portability problem with the Hsieh hash, which I had introduced accidentially.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@964 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 17:14:21 +00:00
aramis_acg
07dd50c975
# fix a critical portability problem in the mini dump writer code (it still depends on the endianess, but no longer on integer size).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@963 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 17:11:54 +00:00
aramis_acg
2afda9c888
# more fixes on dump writing code. should now yield fully portable results.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@956 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 12:38:54 +00:00
aramis_acg
9491b0c044
# fix undefined behaviour in WriteDumb.cpp that would make our dumps include some padding bytes
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@955 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 12:21:49 +00:00
aramis_acg
6e74e066a2
# fix gcc compile errors
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@950 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-15 15:31:22 +00:00
aramis_acg
2b4126a7e3
- assimp_cmd: add Debone & SplitByBoneCount to thee list of supported pp steps.
...
- assimp_cmd: fix code formatting
# duplicate some code from ProcessHelper.h, which was previously accessible but no isn't anymore due to recent refactoring in assimp's core.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@948 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-15 15:14:33 +00:00
aramis_acg
d85c16b52f
assimp_cmd: fix possible crash in assimp export if the file can be imported, cosmetic fixes.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@935 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-03 11:57:57 +00:00
aramis_acg
f8add9bb22
-add missing unit to cmake script for assimp_cmd, fix linux build trouble.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@934 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-03 11:44:09 +00:00