Pichas
f4c7606faf
fix no_valid_proc ( #5774 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-16 09:17:22 +02:00
Kim Kulling
66187a77cf
Update dll_symbol.h ( #5781 )
...
- fix compile switch
- closes https://github.com/assimp/assimp/issues/5777
2024-09-15 20:44:32 +02:00
PatrickD
5c7acc968b
Fix naming in aiMaterial comment ( #5780 )
2024-09-13 14:24:09 +02:00
Lux
f81ea6986c
Restored absolute transform calculation due to https://github.com/assimp/assimp/pull/5349 which requires this now. ( #5751 )
2024-09-11 10:11:15 +02:00
dataisland
ab12e8d8ba
Fix stack overflow ( #5764 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-10 23:15:31 +02:00
dataisland
3bd98611d7
Fix buffer overflow in MD3Loader ( #5763 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-10 22:10:36 +02:00
dataisland
d468e633b1
Fix invalid access ( #5765 )
...
* Fix invalid access
* Update SortByPTypeProcess.cpp
Some smaller refactorings.
* Update SortByPTypeProcess.cpp
Small refactorings.
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-10 09:12:01 +02:00
Kim Kulling
4024726eca
Fix leak ( #5762 )
...
* Fix leak
* Update utLogger.cpp
2024-09-07 21:02:34 +02:00
Kim Kulling
cd0ef869e3
Kimkulling/mark blender versions as not supported ( #5370 )
...
* Cleanup defs + add deprecated macro
* Remove empty line
* Remove dead code
---------
Co-authored-by: Kim Kulling <kim.kulling@draeger.com>
2024-09-05 23:40:19 +02:00
RichardTea
ed3fccd5db
Add option to ignore FBX custom axes ( #5754 )
...
AI_CONFIG_IMPORT_FBX_IGNORE_UP_DIRECTION
Default false
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-05 21:03:26 +02:00
Matthias Möller
ff2dc2fb2e
Prevents PLY from parsing duplicate properties ( #5743 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-04 11:54:24 +02:00
Tobias Rittig, Ph.D.
f69e55058d
Allow usage of pugixml from a superproject ( #5752 )
...
When using CMake subprojects with an existing build of pugixml
this prevents Assimp from using its own copy.
2024-09-03 21:45:30 +02:00
RichardTea
c1ffbfec06
Zero-length mChildren arrays should be nullptr ( #5749 )
...
- Children: Don't allocate a zero-length array
- aiNode::mChildren should be left nullptr instead.
2024-09-03 10:26:27 +02:00
Kim Kulling
c35200e38e
prepare v5.4.3 ( #5741 )
...
* prepare v5.4.3
- Increase patch level
* Update utVersion.cpp
Fix version test
2024-08-30 20:35:01 +02:00
Kim Kulling
1e09642382
Ply-Importer: Fix vulnerability ( #5739 )
2024-08-30 19:43:39 +02:00
Kim Kulling
edaf87f186
Update ccpp.yml ( #5740 )
...
- Add ccache to build
2024-08-30 19:29:32 +02:00
Olivier Chafik
88340d0ce0
`build`: Add ccache support ( #5686 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-30 13:22:54 +02:00
Fav
5e912e68da
Update glTF2AssetWriter.inl ( #5647 )
...
The total length is incorrect when exporting gltf2
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 23:55:18 +02:00
Vincent Fazio
ae0ff8a88a
Update PyAssimp structs with Skeleton & SkeletonBone members ( #5734 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 23:45:35 +02:00
Aliaksandr Kasmachou
924106188e
feat: add option for creating XCFramework and configure minimum iOS target ( #5648 )
...
* feat: add option for creating XCFramework and configure minimum iOS target with a build parameter
* style: update indents for iOS bash script
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 23:05:32 +02:00
Haixi
389bdedda7
FBX: add metadata as properties ( #5675 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 21:38:34 +02:00
Olivier Chafik
f39f53e860
Fix casting typo in D3MFExporter::writeBaseMaterials (color channels < 1.0f were zeroed out) ( #5681 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 21:27:13 +02:00
OGAWA KenIchi
11daaf79a5
Fix to judge 'multi-configuration' correctly ( #5720 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 21:09:17 +02:00
Matthias Möller
3e7e4c8c52
Fix potential memory leak in SceneCombiner for LWS/IRR/MD3 loader ( #5721 )
...
* fix potential memory leak in scenecombiner
* also cleansup srclist
* de-duplicates before deleting
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 11:21:59 +02:00
Vincent Fazio
4338817ca2
Fix copying private data when source pointer is NULL ( #5733 )
2024-08-29 00:13:40 +02:00
dependabot[bot]
fd7ad4a9d8
Bump softprops/action-gh-release from 1 to 2 ( #5730 )
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-27 21:47:37 +02:00
dependabot[bot]
a7a424e0a7
Bump actions/upload-artifact from 1 to 4 ( #5731 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 13:04:32 +02:00
dependabot[bot]
f0ca4df704
Bump actions/download-artifact from 1 to 4 ( #5732 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 1 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v1...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 10:36:13 +02:00
imdongye
d32370ff12
fix GetShortFilename function ( #5728 )
...
when blender export fbx then embedded texture path have slash and back slash.
so GetShortFilename have to check both types of slashes
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-25 17:11:19 +02:00
Sanchikuuus
12ed0286e4
Added more Maya materials ( #5101 )
...
* Added more Maya materials
Added Maya materials to list and add setting texture properties for getting lost textures to mesh
* Update utMaterialSystem.cpp
Now new enumerators are handled by a case label in utMaterialSystem.cpp
* Update material.h
- Fix tests: use the correct max material parameter
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-24 11:29:47 +02:00
Kim Kulling
bb9db8409f
Sparky kitty studios master ( #5727 )
...
* upload contains "windows" in GH Actions
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* buildする方についてwindows-msvcのついている方にした
この二つ、何の違いがあるかいまいち理解してない…
clでビルドするかhunterでビルドするかの違い?
* upload/release対象のartifactを修正
追加当時のIssueを参考に修正(当時はHunterなかったっぽい)
a9a0c30932
* fix ccpp.yml -- fix matrix.name check for artifact
* fix ccpp.yml - build both hunter or not
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Fix verbose string + refactorings
* Revert "Fix verbose string + refactorings"
This reverts commit 824db16a68
.
* Fix verbose string + refactorings
---------
Co-authored-by: Kazuki Y <6259214+kazu0617@users.noreply.github.com>
Co-authored-by: kazu0617 <kazu0617@protonmail.com>
Co-authored-by: Kim Kulling <kim.kulling@draeger.com>
2024-08-22 11:09:14 +02:00
sacereda
d83904e3ee
Expose aiGetEmbeddedTexture to C-API ( #5382 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-21 21:15:57 +02:00
Kim Kulling
bc6710a116
Fix leak in loader ( #5718 )
...
* Fix leak in loader
Closes https://github.com/assimp/assimp/issues/5717
* Free generated mesh on importer destruction.
2024-08-17 13:49:09 +02:00
OGAWA KenIchi
10e97b2f4a
Fix MSVC build error ( #5716 )
...
* add compile option /source-charset:utf-8
2024-08-16 19:33:09 +02:00
Steve M
d95a5c60ef
Revert variable name (fix broken build on android) ( #5715 )
...
Co-authored-by: Steve M <praktique-tellypresence@yahoo.com>
2024-08-14 12:13:49 +02:00
Matthias Möller
12cdbb712c
Fixes possible out-of-bound read in findDegenerate ( #5679 )
...
This is possible, if the option "aiProcess_ValidateDataStructure" is deactivated as postprocessing step, but the option "aiProcess_FindDegenerates" is activated and the mesh contains invalid data structures
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 16:24:43 +02:00
Måns Andersen
b992ff278b
Remove recursive include ( #5705 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 16:14:31 +02:00
Måns Andersen
9485d49e93
include Exceptional.h in 3DSExporter.cpp ( #5707 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 11:17:45 +02:00
RichardTea
f950f61a52
Use DRACO_GLTF_BITSTREAM ( #5709 )
...
Replaces deprecated DRACO_GLTF cmake option
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 10:09:28 +02:00
RichardTea
afe06f2298
Fix MSVC PDBs and permit them to be disabled if required ( #5710 )
...
* Revert "Remove /Zi compiler flag for MSVC, release config"
This reverts commit 9e1de3ec6e
.
* Allow MSVC PDB creation to be disabled
Turn off ASSIMP_INSTALL_PDB to disable PDB creation
* Whitespace cleanup
Assimp uses spaces in cmakelists, not tabs
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 09:53:33 +02:00
mkuritsu
d41b6b253d
Added AND condition in poly2tri dll_symbol.h to only define macros fo… ( #5693 )
...
* Added ADD condition in poly2tri dll_symbol.h to only define macros for dynamic library linking if assimp is ordered to build as DLL
* Reverted last commit to handle this issue in a better way.
* added P2T_STATIC_EXPORTS to compile definitions when building assimp as DLL
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 09:39:53 +02:00
Nathan V. Morrical
09b981d943
fixing static build ( #5713 )
2024-08-13 09:23:14 +02:00
Kimbatt
48c3a0ec46
FBX exporter - handle multiple vertex color channels ( #5695 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-07 22:43:02 +02:00
Kim Kulling
a37d748c17
Update DefaultIOSystem.cpp ( #5697 )
...
- closes https://github.com/assimp/assimp/issues/5678
2024-08-02 18:28:29 +02:00
Kim Kulling
e63d3ed8e7
Make coord transfor for hs1 files optional ( #5687 )
...
* Make coord transfor for hs1 files optional
* Add config switch for HS1 transformation transformation
2024-07-31 18:39:39 +02:00
Kim Kulling
104a70f845
Return false instead of crash ( #5685 )
...
- Return false instead of crash
- closes https://github.com/assimp/assimp/issues/5684
2024-07-23 16:32:11 +02:00
Florian Born
76de7cedf4
A fuzzed stride could cause the max count to become negative and hence wrap around uint ( #5414 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-23 16:17:54 +02:00
JensEhrhardt-eOPUS
c55158cd82
CalcTangents: zero vector is invalid for tangent/bitangent ( #5432 )
...
* CalcTangents: zero vector is invalid for tangent/bitangent
2024-07-23 13:13:12 +02:00
Kim Kulling
571ba09dc7
Mosfet80 updatedpoli2tri ( #5682 )
...
* updated poli2tri library to last version
2024-07-23 10:41:43 +02:00
Kim Kulling
db19f62a0c
Merge branch 'master' of https://github.com/assimp/assimp
2024-07-22 09:11:17 +02:00
Stoyan Gaydarov
5d5e0bad3c
Fix a fuzz test heap buffer overflow in mdl material loader ( #5658 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-19 21:48:10 +02:00
Kim Kulling
9cf03b4ddc
Introduce interpolation mode to vectro and quaternion keys ( #5674 )
...
* Introduce interpolation mode to vectro and quaternion keys
* Update USDLoader.cpp
Fix review finding
* Update USDLoader.h
Fix review finding,
2024-07-18 23:54:31 +02:00
Vincent Fazio
91e93578c7
Update Python structs with missing fields ( #5673 )
2024-07-17 21:25:16 +02:00
Kim Kulling
da281b7f48
Introduce interpolation mode to vectro and quaternion keys
2024-07-17 15:49:17 +02:00
Kim Kulling
35e4f1bf64
Kimkulling/fix double precision tests ( #5660 )
...
* Make color single precision
* Fix the unittests for double precision
* Fix merge issues
* Fix issues with Vertex + Color4
* Fix vertex operator, some tests are still red.
2024-07-12 14:37:49 +02:00
Steve M
0cb1693689
[USD] Integrate "tinyusdz" project ( #5628 )
...
* Squash development commits for PR
* Fix failing build on armeabi-v7a via android NDK
* Update with blendshape support
* Migrate to auto-cloning and patching tinyusdz (instead of manually copying files)
* Update to latest rendermesh-refactor branch commit
* Remove tracked file
* Update to use recent commit to "dev" branch
"rendermesh-refactor" was merged to "dev" around 9 May 2024 but merge
was not obvious from commit messages
* Add UNUSED() macro
(cherry picked from commit d89fe8f034c353cc5cc5b3ac78cd8845e006de38)
* Update tinyusdz branch
* Prevent per-ABI (x86, x86_64 etc) clone on android
* Add verbose logging cmake option
* Fix macro and patch
* Address compiler warnings
* Address compiler warnings
* Address compiler warnings
* Attempt prevent re-clone/re-patch once downloaded by any ABI build
* Disable tinyusdz clone/build by default
assimp github PR auto-CI checks clone/build the tinyusdz code, and reject PR
due to compiler warnings in the 3rd party external tinyusdz project
---------
Co-authored-by: Steve M <praktique-tellypresence@yahoo.com>
2024-07-12 13:25:35 +02:00
Kim Kulling
d3bec44990
Update Readme.md ( #5665 )
2024-07-11 14:19:09 +02:00
Kim Kulling
b0aae04801
Update Readme.md ( #5663 )
...
- Add a discord invitation
2024-07-11 10:30:42 +02:00
Stepan Hrbek
206839d4f2
Allow empty slots in mTextureCoords ( #5636 )
...
* Allow empty slots in aiMesh::mTextureCoords.
1.Explicitly say in documentation that empty slots are allowed (it was unclear).
2.Change GetNumUVChannels() implementation to allow empty slots.
3.Revert fraction of 2da2835b29
where empty slots are detected and error logged.
* Fix #5632 by reverting fraction of d6aacefa1e
where Collada texcoords are renumbered to avoid empty slots.
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-10 09:01:53 +02:00
Kim Kulling
193f2c5d87
Fix compile warning ( #5657 )
2024-07-08 17:09:17 +02:00
Kim Kulling
bff00b15f1
Replace raw pointers by std::string ( #5656 )
...
* Replace raw pointers by std::string
2024-07-06 13:59:02 +02:00
Matthias Möller
d5cb1fe01f
Fix potential heapbuffer overflow in md5 parsing ( #5652 )
2024-07-06 08:27:05 +02:00
Kim Kulling
fe6e25080b
Docker: Fix security finding ( #5655 )
...
- Use --no-install-recommends to avoid getting more deps than needed
2024-07-05 13:43:50 +02:00
Kim Kulling
ddb74c2bbd
Fix out of bound access ( #5651 )
2024-07-03 21:37:24 +02:00
Brad D
625528d02c
Fix: StackAllocator Undefined Reference fix ( #5650 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-03 10:05:58 +02:00
Markus Prettner
7e053cc641
Fix names of enum values in docstring of aiProcess_FindDegenerates ( #5640 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-02 22:11:52 +02:00
Matthias Möller
35976a4eb4
fixes some uninit bool loads ( #5644 )
...
This commit fixes some bool loads which are not initialized. With ubsan and the "option -fsanitize=bool", this results in a runtime error during test execution.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-02 21:54:18 +02:00
ThatOSDev
dd1474e280
Update zip.c ( #5639 )
...
Now works with GCC without failing the compilation.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-02 21:12:58 +02:00
Matthias Möller
0b19b7d73b
fixes potential memory leak on malformed obj file ( #5645 )
2024-06-29 19:20:10 +02:00
Julian Knodt
d0703a5a3a
Fix exporting incorrect bone order ( #5435 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-06-28 12:58:09 +02:00
Kim Kulling
cdf8394ccc
Fix nullptr dereferencing ( #5638 )
...
- closes https://github.com/assimp/assimp/issues/5617
2024-06-25 00:05:31 +02:00
Garux
dd10fb6ee4
remove ASE parsing break added in c1968823ad
: original intent was to keep parsing ( #5634 )
...
crash case (iMaterialCount = 0) is handled by 47dbabadcd
2024-06-24 21:23:59 +02:00
Stepan Hrbek
adff2f388a
Fix collada uv channels - temporary was stored and then updated. So all information on uv channels was ignored. ( #5630 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-06-21 13:49:19 +02:00
ycn2022
0afd366dcb
Update FBXMeshGeometry.cpp ( #5624 )
...
Some FBXs do not have "Materials" information, which can cause parsing errors
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-06-20 21:26:04 +02:00
michaelsctts
77f7706a97
fix PLY binary export color from float to uchar ( #5608 )
2024-06-19 15:45:15 +02:00
Kim Kulling
5c2a33f230
Make stepfile schema validation more robust. ( #5627 )
...
* Make stepfile schema validation more robust.
* Update STEPFile.h
2024-06-18 14:22:12 +02:00
mosfet80
0cef794abd
Update Readme.md ( #5618 )
...
link https://bitbucket.org/Starnick/assimpnet/src/master/ is deleted.
reverto to old link
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-06-18 09:30:35 +02:00
Kim Kulling
07ab05cc41
Fix init aistring issue 5622 inpython module ( #5625 )
...
* Draft: Update init of aiString
- closes https://github.com/assimp/assimp/issues/5622
* Update types.h
* Fix typo
* Fix another typo
* Adapt usage of AI_MAXLEN
* Fix compare operator
* Add missing renames
* Add missing renames
2024-06-17 23:52:23 +02:00
Kim Kulling
a51500ba2b
Draft: Update init of aiString ( #5623 )
...
* Draft: Update init of aiString
- closes https://github.com/assimp/assimp/issues/5622
* Update types.h
* Fix typo
* Fix another typo
* Adapt usage of AI_MAXLEN
* Fix compare operator
* Add missing renames
2024-06-17 13:12:54 +02:00
mosfet80
75091d4529
clean HunterGate.cmake ( #5619 )
...
removing cmake version control check. The cmake version is always greater than 3.22
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-06-17 11:50:42 +02:00
Kim Kulling
907da122e9
Create inno_setup ( #5621 )
2024-06-15 12:41:43 +02:00
Kim Kulling
81858f9e62
Update MDLMaterialLoader.cpp ( #5620 )
...
* Update MDLMaterialLoader.cpp
- closes https://github.com/assimp/assimp/issues/5239
* Add missing declaration
2024-06-14 12:51:47 +02:00
Kim Kulling
97cbecb859
Move revision.h and revision.h.in to include folder ( #5615 )
2024-06-12 21:01:03 +02:00
Kim Kulling
a722e33027
Move aiScene constructor ( #5614 )
2024-06-11 21:19:52 +02:00
Kim Kulling
75a10fedd0
Replace duplicated trim ( #5613 )
2024-06-11 16:30:49 +02:00
Kim Kulling
e963a863ce
Add trim to xml string parsing ( #5611 )
2024-06-10 22:25:28 +02:00
Bradly Landucci
8231d99a85
Converted a size_t to mz_uint that was being treated as an error ( #5600 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-06-10 11:19:57 +02:00
Kim Kulling
0d546b3d2e
Build: Fix compilation for VS-2022 debug mode - warning ( #5606 )
...
- closes https://github.com/assimp/assimp/issues/5601
2024-05-31 13:08:51 +02:00
Kim Kulling
43634b8b27
Postprocessing: Fix endless loop ( #5605 )
...
- closes https://github.com/assimp/assimp/issues/5603
2024-05-31 09:36:14 +02:00
mosfet80
83d7216726
updated zip ( #5499 )
...
* updated zip
udated zip from version 1.15 to version 3.0.2
* Check for double defined macro
* Update miniz.h
* Update zip.c
* Update zip.c
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-27 16:19:48 +02:00
Daniel Simon
329fee2f0b
Disabled maybe-uninitialized error for AssetLib/Obj/ObjFileParser.cpp as it seems to be spurious. Also fixed error message for previous GCC build issue modification ( #5593 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-26 21:07:13 +02:00
Kim Kulling
4584719362
Update ObjFileParser.cpp ( #5598 )
...
Ensure not checking empty strings
2024-05-26 18:39:14 +02:00
Kim Kulling
30466aaf16
Fix possible nullptr dereferencing. ( #5595 )
2024-05-24 15:36:30 +02:00
vengine
ec5242a1a0
Fix a bug that could cause assertion failure. ( #5575 )
...
Co-authored-by: macmini <xhnsworks2@icloud.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-22 21:20:22 +02:00
Daniel Simon
6fa4f0ff5e
Temporary fix for GCC 13+ build issue -Warray-bounds ( #5577 )
...
Added cmake code to remove warnings for array-bounds and stringop-overflow specifically for MDLLoader.cpp on GCC 13 and above.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-19 18:51:02 +02:00
Kim Kulling
fd3f092d6e
Optimize readability ( #5578 )
2024-05-18 22:06:04 +02:00
Jean-Louis Boudrand
787c9afdf7
Assimp viewer fixes ( #5582 )
...
* AssimpViewer: Fix statistics reset + rename Time -> Loading time (more explicit)
* AssimpViewer: Fix bug where it was not possible to reload a closed asset
* AssimpViewer: Add a name in combobox for unnamed animations and disable anim UI when there is no animation
* AssimpViewer: Fixes the case where moving the anim cursor can break the animation
* AssimpViewer: Fixes the fact that when you press "play" on the animation after stopping it, there was a time jump in the animation
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-18 19:20:06 +02:00
Kim Kulling
2521909b8c
Fix integer overflow ( #5581 )
...
- closes https://github.com/assimp/assimp/issues/5579
2024-05-18 19:05:10 +02:00
Kim Kulling
04afb63d34
fix ci by disabling tests ( #5583 )
...
* fix ci by disabling tests
* fix comment brackets
2024-05-18 12:04:50 +02:00
Kim Kulling
942518a4ff
Remove deprecated c++11 warnings ( #5576 )
2024-05-15 10:22:03 +02:00
Kim Kulling
10df90ec14
Prepare v5.4.1 ( #5573 )
...
* [Draft] Prepare v5.4.1
* Update utVersion.cpp
Adapt test to v5.4.1
2024-05-13 13:45:14 +02:00
Julian Uy
b6d53a0047
glTF2Importer: Support .vrm extension ( #5569 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-13 13:24:41 +02:00
Kim Kulling
001bb01eb2
Make sure for releases revision will be zero ( #5571 )
2024-05-13 13:00:26 +02:00
Kim Kulling
325b0a543f
Add checks for invalid buffer ans size ( #5570 )
2024-05-13 08:55:10 +02:00
Garux
47dbabadcd
fix ASE loader crash when *MATERIAL_COUNT or *NUMSUBMTLS is not specified or is 0 ( #5559 )
...
code was doing vector[0u - 1] dereference in this case
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-08 10:43:43 +02:00
Kim Kulling
c953739487
Kimkulling/fix pyassimp compatibility ( #5563 )
...
* Use correct exception message access
* Add missing docs
2024-05-06 21:38:29 +02:00
Garux
00b6db86ab
mention IQM loader in Fileformats.md ( #5560 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-02 16:34:47 +02:00
陈瑞锋
4621676424
fix a collada import bug ( #5561 )
2024-05-02 15:32:12 +02:00
Johannes Unterguggenberger
47ef79672e
Reverts the changes introduced by commit ad766cb
in February 2022. ( #5542 )
...
* Reverts the changes introduced by commit ad766cb
in February 2022.
Explanation why the old code was just fine is given in Q&A #5512 .
* Added that missing ;
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-29 21:03:57 +02:00
Kim Kulling
c05895f3c7
Q3DLoader: Fix possible material string overflow ( #5556 )
...
- closes https://github.com/assimp/assimp/issues/5555
2024-04-26 11:11:19 +02:00
Succ3s
7bda0f88ca
SplitByBoneCount had a minor typo that prevented updates to nodes indices ( #5550 )
2024-04-23 21:40:06 +02:00
Zeun
b71b8f77ee
add some ASSIMP_INSTALL checks ( #5545 )
2024-04-16 23:41:21 +02:00
Kim Kulling
85f084a4ce
Update ComputeUVMappingProcess.cpp ( #5541 )
...
* Update ComputeUVMappingProcess.cpp
- closes https://github.com/assimp/assimp/issues/5540
* Update ComputeUVMappingProcess.cpp
Add missing token.
2024-04-11 11:30:36 +01:00
Stephen Gold
08c1adc015
fix issue #5461 (segfault after removing redundant materials) ( #5467 )
...
* fix issue #5641 (segfault after removing redundant materials)
* Update RemoveRedundantMaterials.cpp
- Fix 2 possible memleaks.
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-10 00:22:57 +02:00
mosfet80
3ff7851ff9
updated STBIMAGElib ( #5500 )
...
2.29 (2023-05-xx) optimizations
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-09 23:31:10 +02:00
mosfet80
64d88276ef
updated minizip to last version ( #5498 )
...
Version 1.3.1 has these key changes:
Reject overflows of zip header fields in minizip
Fix bug in inflateSync() for data held in bit buffer
Add LIT_MEM define to use more memory for a small deflate speedup
Fix decision on the emission of Zip64 end records in minizip
Add bounds checking to ERR_MSG() macro, used by zError()
Neutralize zip file traversal attacks in miniunz
Fix a bug in ZLIB_DEBUG compiles in check_match()
Version 1.3 has these key changes:
Building using K&R (pre-ANSI) function definitions is no longer supported.
Fixed a bug in deflateBound() for level 0 and memLevel 9.
Fixed a bug when gzungetc() is used immediately after gzopen().
Fixed a bug when using gzflush() with a very small buffer.
Fixed a crash when gzsetparams() is attempted for a transparent write.
Fixed test/example.c to work with FORCE_STORED.
Fixed minizip to allow it to open an empty zip file.
Fixed reading disk number start on zip64 files in minizip.
Fixed a logic error in minizip argument processing.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-09 00:08:38 +02:00
Alex Rønne Petersen
b8aa68a080
CMake: Allow linking draco statically if ASSIMP_BUILD_DRACO_STATIC is set. ( #5535 )
...
* CMake: Mark draco as a private dependency since assimp does not publicly expose its interface.
* CMake: Allow linking draco statically if ASSIMP_BUILD_DRACO_STATIC is set.
2024-04-08 23:28:37 +02:00
Kim Kulling
8b9ed34eaa
Update CMakeLists.txt ( #5531 )
...
* Update CMakeLists.txt
* Update Version.cpp
* Update CMakeLists.txt
Update minimum version of cmake
* Update utVersion.cpp
Adapt unittest
2024-04-07 23:14:12 +02:00
Kim Kulling
b41ffa5561
Remove default destructor definitions from cpp files ( #5528 )
2024-04-07 21:42:52 +02:00
mosfet80
4a3e0e46ac
updated json ( #5501 )
...
fix https://github.com/Tencent/rapidjson/issues/1448
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-07 21:24:57 +02:00
Tom Heaton
1f920ee1fe
Update matrix4x4.h ( #5507 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-07 20:16:48 +02:00
mosfet80
778ce90a04
Update hunter into CMakeLists.txt ( #5505 )
...
Update 'CURL' to v8.5.0
Update 'xxHash' to v0.8.2
Update 're2' to v2023.03.01
docs: Add SHA1 calculation onliner and fix sums
docs: fix URLs for FunctionalPlus and PocoCpp
ceres-solver: update to 2.2.0-p2 with SuiteSparse v7.5.1-1
SuiteSparse: update to v7.5.1-1
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-07 16:49:55 +02:00
Alejandro González
790aad4b62
Add macOS support to C4D importer ( #5516 )
...
The latest Cineware SDK explicitly asserts macOS support in its
documentation, but Assimp's C4D importer only works with Windows MSVC
targets. Let's improve its portability by refactoring importer code to
not depend on MSVC-only data types and quirks, and add support for linking
against the universal macOS static libraries provided in the Cineware
SDK.
Note that the C4D importer still cannot support Linux platforms because
Maxon does not provide the necessary precompiled Cineware libraries for
that platform. Windows MinGW targets are also out of the question as the
MinGW toolchain uses compiled libraries in a different format.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-07 00:25:46 +02:00
RoboSchmied
52c2b6896a
Fix 16 typos ( #5518 )
...
Signed-off-by: RoboSchmied <github@roboschmie.de>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-06 21:26:32 +02:00
Oleg Ivanov
9d11b220eb
Fix utDefaultIOStream test under MinGW ( #5525 )
2024-04-06 12:48:28 +02:00
Julian Knodt
39ce0c0456
Respect merge identical vertices in ObjExporter ( #5521 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-04-02 18:31:19 +02:00
Kristjan Skutta
feb861f17b
Fix duplicate degrees to radians conversion in fbx importer. ( #5427 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-03-22 00:01:57 +01:00
mosfet80
730aa9d0b7
Delete packaging/windows-mkzip directory ( #5492 )
...
Removed unused files
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-03-20 11:15:03 +01:00
mosfet80
072320df4f
Delete tools/make directory ( #5491 )
...
Delete old .bat files
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-03-18 23:24:51 +01:00
Kim Kulling
fcb1444b84
Add correction of fbx model rotation ( #5494 )
2024-03-17 17:46:28 +01:00
Laura Hermanns
727774f181
Fix compilation for MSVC14. ( #5490 )
...
- std::min/max were not defined in StackAllocator.inl; Also added explicit template arguments to break macro expansion if Windows.h is included prior and NOMINMAX macro is not present.
- Made static_assert statements compatible with C++11 in ProcessHelper.cpp.
- Removed unused string_view include in ObjFileParser.cpp.
2024-03-11 09:09:23 +01:00
Bao Anchang
bb9101ae9e
Eliminate non-ascii comments in clipper ( #5480 )
2024-03-04 09:18:08 +01:00
sSsA01
f95050e7aa
Append a setting "AI_CONFIG_EXPORT_FBX_TRANSPARENCY_FACTOR_REFER_TO_OPACITY". ( #5450 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-27 20:26:13 +01:00
Kim Kulling
01231d0e60
Add 2024 to copyright infos ( #5475 )
2024-02-23 22:30:05 +01:00
Kim Kulling
0664882763
Add zlib-header to ZipArchiveIOSystem.h ( #5473 )
...
- closes https://github.com/assimp/assimp/issues/5430
2024-02-23 11:30:37 +01:00
Kim Kulling
4d6dd80257
Add correct double zero check ( #5471 )
...
* Add correct double zero check
* Use std::fpclassify
2024-02-22 13:58:25 +01:00
Kim Kulling
94bc568d13
Include defs in not cpp-section ( #5466 )
...
- closes https://github.com/assimp/assimp/issues/5428
2024-02-16 15:21:49 +01:00
Adam Mizerski
4b9f46dbda
ColladaParser: check values length ( #5462 )
...
* ColladaParser: check values length
fixes : #4286
* Refactor calculation of size for data
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-15 13:07:00 +01:00
Séverin Lemaignan
a3708e3464
Add ISC LICENSE file ( #5465 )
2024-02-14 08:32:32 +01:00
Emily Banerjee
ff5b0ae575
Fix PyAssimp under Python >= 3.12 and macOS library search support ( #5397 )
...
* Fix PyAssimp under Python >= 3.12
* Make PyAssimp search DYLD_LIBRARY_PATH under macOS
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-08 20:46:36 +01:00
fvbj
2d98f6a880
Fix identity matrix check ( #5445 )
...
* Fix identity matrix check
Adds an extra epsilon value to check the matrix4x4 identity. The method is also used to export to GLTF/GLTF2 format to check node transformation matrices. The epsilon value can be set using AI_CONFIG_CHECK_IDENTITY_MATRIX_EPSILON with the default value set to 10e-3f for backward compatibility of legacy code.
* Fix type of float values in the unit test
* Update matrix4x4.inl
Fix typo
* Update matrix4x4.inl
Remove dead code.
* Add isIdentity-Test
* Update AssimpAPITest_aiMatrix4x4.cpp
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-06 21:24:41 +01:00
Julian Knodt
c877a15140
`Blendshape`->`Geometry` in FBX Export ( #5419 )
...
When loading a mesh exported from assimp into Blender, it warns that it has an incorrect class.
While debugging, I traced it back to this being `Blendshape` where `Geometry` was expected. This
is likely because this node describes a `Geometry`, which is used as a blendshape. I'm not sure
if any other DCC tools or places to import it expect `Blendshape` instead (i.e. was this code
ever tested?), but it fixes its use in Blender.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-05 16:55:00 +01:00
mosfet80
1164844ce4
Update CMakeLists.txt ( #5379 )
...
* Update CMakeLists.txt
Silence warnings when building with CMake 3.27 by @hjmallon in #717
update gate submodule with fixed CMake 3.27 deprecation warnings as well
glog: add version 0.6.0 and disable new dependencies by @NeroBurner in #719
ceres-solver: update to v2.2.0-p1 by @NeroBurner in #720
Update 'GTest' to v1.14.0 by @hjmallon in #705
Update 'pybind11' to v2.11.1 by @hjmallon in #706
ceres-solver: update to v2.2.0-p0 and fix examples by @NeroBurner in #703
Eigen: explicitly disable Fortran usage by @NeroBurner in #704
OpenSSL: Fix v3 version parsing by @hjmallon in #707
Update 'Boost' to 1.83 by @hjmallon in #708
Update 'OpenSSL' to v3.0.12 and v3.1.4 by @hjmallon in #710
Update 'abseil' to 20230802.1 by @hjmallon in #711
Update 'benchmark' to v1.8.3 by @hjmallon in #712
Update 'sqlite3' to v3.43.2 by @hjmallon in #716
Update 'CURL' to v8.4.0 by @hjmallon in #663
CI: remove macos-10.15 jobs as the macos-10.15 runners are removed by @NeroBurner in #695
ZLIB: update to version v1.3.0-p0 by @NeroBurner in #693
miniz: update to v3.0.2 by @NeroBurner in #692
Update fmt package to 10.1.1 by @JamesEggleton in #697
Update spdlog package to 1.12.0-p0 by @JamesEggleton in #699
Update zstd package to 1.5.5 by @JamesEggleton in #700
SuiteSparse: update to 1.8.0 / 5.4.0-2 by @NeroBurner in #702
OpenCV, Extra, ippicv: update to v4.8.1-p0 by @NeroBurner in #696
hunter_setup_msvc: tolower to fix arm64 vs ARM64 confusion by @NeroBurner in #681
Add various recent LLVM versions by @mrexodia in #517
Update fmt package to 9.1.0 by @apivovarov in #683
Update asio-grpc to v2.6.0 by @Tradias in #686
#685 Minimum cmake version required now 3.5 by @john-forrest in #689
* Update CMakeLists.txt
* Update CMakeLists.txt
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-05 15:40:52 +01:00
dependabot[bot]
a8c8e75a17
Bump actions/cache from 3 to 4 ( #5431 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-05 15:10:36 +01:00
Florian Born
f59a5fab1a
More GLTF loading hardening ( #5415 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-04 21:23:31 +01:00
Galen Xiao
b7b6601a75
feat:1.add 3mf vertex color read 2.fix 3mf read texture bug ( #5361 )
...
* feat:1.add 3mf vertex color read 2.fix 3mf read texture bug
* fix checks failed
* Trigger CI
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-04 20:23:07 +01:00
Stephen Gold
bc6673b4b2
Fileformats.md: clarify that import of .blend files is deprecated ( #5350 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-04 19:06:07 +01:00
Steve M
005399a671
Fix X importer breakage introduced in commit f844c33
( #5372 )
...
* Update XFileImporter.cpp
Comment out boneIdx conditional which caused massive breakage
* Update XFileImporter.cpp
Fix typo
* Update XFileImporter.cpp
Dummy whitespace change to attempt to re-trigger failing CI tests
---------
Co-authored-by: Steve M <praktique-tellypresence@yahoo.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-04 10:38:07 +01:00
Kim Kulling
3990ec80a1
Kimkulling/fix bahavior of remove redundat mats issue 5438 ( #5451 )
...
* Fix crash in viewer
* Fix bevavior when material was not referenced
2024-02-01 21:27:04 +01:00
Kim Kulling
3476c79801
Static code analysis fixes ( #5447 )
...
* Static code analysis fixes
- Fix warning in LOW
* Fix possible out of bound access.
* Add default to class declaration
2024-01-31 09:30:54 +01:00
Kim Kulling
f956351942
Fix crash in viewer ( #5446 )
2024-01-30 22:14:18 +01:00
Kim Kulling
c08e3b4abb
Add bounds checks to the parsing utilities. ( #5421 )
...
* Add bounds checks to the parsing utilities.
* Fix merge conflicts in ACLoader.
* Fix loaders
* Fix unittest of AC-Loader.
* Remove dead code.
* Md5Parser fixes
* Fix md5-parsing
* Fix Merge conflict
* Fix merge conflicts.
* Md5: Fix warning: missing return statement.
2024-01-30 14:32:41 +01:00
Kim Kulling
d5f35582d4
Introduce aiBuffer
...
We have a lot of parsing tools which are not doing any kind of bound checking. This is the first approach to solve these issues.
2024-01-30 10:43:03 +01:00
tigertang
a02085ea98
Update StbCommon.h to stay up-to-date with stb_image.h.
...
This enables C++ API users to statically link Assimp into their projects along with stb_image.
2024-01-29 13:52:54 +01:00
Kim Kulling
a8d30f7e91
Update DXFLoader.cpp
...
revert it
2024-01-27 12:14:35 +01:00
Kim Kulling
c6fe03f7a5
Update DXFLoader.cpp
...
- Use constexpr instead of const.
2024-01-27 12:14:35 +01:00
seanth
8cde65bfe8
Updated AIC table
...
The previous table was in an incorrect order, leading to index references in DXF producing the wrong colours when converted.
Also added other entries to bring the total number of ACI colours up to the number that can be used in DXF files
2024-01-27 12:14:35 +01:00
seanth
240fa97fed
Update DXFLoader.cpp
...
Changed order of operations for insert positioning and scaling. Need to position the inserts before scaling it, otherwise the position ends up up being position*scale
2024-01-27 12:14:35 +01:00
seanth
727001b0ca
Update DXFLoader.cpp
...
Edited out line suspected to be causing changes in position when changes in scale are made to inserted BLOCKS
2024-01-27 12:14:35 +01:00
julianknodt
bdc08dd4a9
Encode full weight as double
2024-01-27 10:10:28 +01:00
Stephen Gold
ac29847d56
Readme.md: present the web links in a more uniform style
2024-01-12 10:59:34 +01:00
Robert Reif
81c20a5c61
Improve acc file loading
...
Add warning and support for tolerating a common problem where objects have wrong kid count.
Add support for empty texture layers.
2024-01-09 21:13:13 +01:00
Andre Schulz
74af43f655
Add unit test for X3D IndexedLineSet
...
Unit test for issue #3101
Thanks to @mvidiassov for the X3D test file!
2024-01-09 20:55:51 +01:00
Andre Schulz
9d71a275c3
X3D: Don't convert IndexedLineSet polylines with > 2 indices to triangles/polygons
...
Currently, when the coordIndex attribute of an IndexedLineSet contains a
polyline with > 2 indices, X3DGeoHelper::coordIdx_str2faces_arr() will
incorrectly determine the primitive type to be aiPrimitiveType_TRIANGLE or
aiPrimitiveType_POLYGON instead of aiPrimitiveType_LINE.
To fix this, this commit adds functions to explicitly handle an IndexedLineSet.
Fixes #3101
2024-01-09 20:55:51 +01:00
Kim Kulling
c8ca1a48ec
Update Dockerfile
...
- closes https://github.com/assimp/assimp/issues/5403
2024-01-08 10:18:16 +01:00
Steve M
ea9aa863ff
Increase texture variety
2024-01-07 20:16:19 +01:00
Steve M
cb8150b3e8
Add missing textures and reduce texture sprawl
2024-01-07 20:16:19 +01:00
copycd
b571501559
@ error
...
Cause a TypeError when arg is UNSET
2024-01-06 20:57:41 +01:00
Hamza
6a0e1d5467
fix building errors for MinGW
2024-01-05 22:01:58 +01:00
tangxin
9776d47cca
fix: KHR_materials_pbrSpecularGlossiness/diffuseFactor convert to pbrMetallicRoughness/baseColorFactor
2024-01-05 21:49:21 +01:00
dependabot[bot]
ec122eb348
Bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-31 12:00:16 +01:00
copycd
6bcdf989fb
Triangle value is null-error, I don't know why it happened.
2023-12-31 10:31:44 +01:00
Kim Kulling
5cbdb6c63b
Build: Disable building zlib for non-windows
...
- closes https://github.com/assimp/assimp/issues/5340
2023-12-29 17:37:59 +01:00
Kim Kulling
636fbd65b3
Refactorings: come code cleanups
2023-12-29 16:55:37 +01:00
Kim Kulling
263bebb5ba
Add a test before generating the txture folder
2023-12-29 16:55:37 +01:00
Kim Kulling
5d5496f1ad
Update MDLMaterialLoader.cpp
2023-12-22 13:23:08 +01:00
Kim Kulling
69dae9599a
Fix integer overflow
...
- closes https://github.com/assimp/assimp/issues/4930
2023-12-22 13:23:08 +01:00
Kim Kulling
9dddef9b9d
Update D3MFImporter.cpp
2023-12-22 10:49:54 +01:00
Kim Kulling
b9576e6992
Update D3MFImporter.cpp
2023-12-22 10:49:54 +01:00
Kim Kulling
274f64cbf1
Check validity of archive without parsing
...
- closes https://github.com/assimp/assimp/issues/5392
2023-12-22 10:49:54 +01:00
Kim Kulling
7b54b0f406
Fix leak
...
- closes https://github.com/assimp/assimp/issues/5390
2023-12-21 21:18:38 +01:00
Alexander Wagner
df33d33e8f
- removed commented code
2023-12-20 20:55:04 +01:00
Marka Ragnos
3ce8a58d41
Update DefaultIOSystem.cpp
...
Added missing whitespace
2023-12-20 20:55:04 +01:00
Alexander Wagner
d03ab3ef27
- fixed Exist function on Linux
2023-12-20 20:55:04 +01:00
Alexander Wagner
e86f1acb9b
- fixed q3bsp issue
2023-12-20 20:55:04 +01:00
Alexander Wagner
4034df8b6e
- removed unused include
2023-12-20 20:55:04 +01:00
Kim Kulling
88084a67fc
Disable Hunter
2023-12-20 20:13:47 +01:00
Alexey Medvedev
762ad8e9b7
glTF KHR_materials_specular fixes
2023-12-11 11:09:18 +01:00
Alexey Medvedev
dc399f7343
glTF KHR_materials_specular fixes
2023-12-11 11:09:18 +01:00
Alexey Medvedev
a72289b327
glTF KHR_materials_specular fixes
2023-12-11 11:09:18 +01:00
Stephen Gold
213d73ebc6
correct grammar/typographic errors in comments (8 files)
2023-12-04 23:58:54 +01:00
Futuremappermydud
a0b3df6dbd
Fix target names not being imported on some gLTF2 models
2023-12-04 21:11:55 +01:00
Stephen Gold
769e82ce5e
FBXMeshGeometry: solve issue #5116 using patch provided by darktjm
2023-12-04 20:57:10 +01:00
Maksim Kostin
d311fa95c6
Fix double free in Video::~Video()
2023-12-01 11:14:22 +01:00
Stephen Gold
e765862d24
Readme.md: correct 2 errors in section headers
2023-11-30 16:06:57 +01:00
Maksim Kostin
f701d702e4
Fix buffer overflow in FBX::Util::DecodeBase64()
2023-11-29 11:12:39 +01:00
ccn
a63a6011c5
Update Build.md
...
Add more details about the default build.
2023-11-29 10:55:08 +01:00
IOhannes m zmölnig
6f715edfa0
Drop disabled zlib.h inclusion stubs
2023-11-29 09:53:03 +01:00
IOhannes m zmölnig
bfdd154d14
Always include "zlib.h" (rather than .../contrib/zlib/zlib.h)
...
The path to the vendored zlib is set by the build-system,
so there's no need to add additional preprocessor magic
2023-11-29 09:53:03 +01:00
IOhannes m zmölnig
6f70e220e4
always include "utf8.h" (instead of contrib/.../utf8.h)
2023-11-29 09:53:03 +01:00
Kim Kulling
85f64c9131
Use correct time scaling
2023-11-28 21:10:18 +01:00
Kim Kulling
01f2549abe
Fix the build
2023-11-28 20:49:10 +01:00
Kim Kulling
384db8686e
Update FBXConverter.cpp
...
- Temporary fix bind pose storage in offset matrix
- Will close https://github.com/assimp/assimp/issues/5132
2023-11-28 20:49:10 +01:00
Kim Kulling
77a8f019e3
Fix: Check if index for mesh access is out of range
2023-11-22 10:14:26 +01:00
ccn
254619901b
Update Readme.md
...
improve link formatting
2023-11-22 09:18:35 +01:00
ccn
56e0ba58e1
Update Readme.md
...
fix link in readme
2023-11-20 10:24:02 +01:00
Alexandre Avenel
e4e2c63e0c
Fix heap-buffer overflow in PLY parser
2023-11-20 08:43:17 +01:00
Alexandre Avenel
bfe8745b90
Add as unit-test an invalid PLY model triggering heap-buffer-overflow
...
==23896==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x12f9daec1827 at pc 0x7ffcad83699c bp 0x00c61574c910 sp 0x00c61574c910
READ of size 1 at 0x12f9daec1827 thread T0
==23896==WARNING: Failed to use and restart external symbolizer!
#0 0x7ffcad83699b in Assimp::IOStreamBuffer<char>::getNextLine C:\Users\aavenel\Dev\assimp\include\assimp\IOStreamBuffer.h:299
#1 0x7ffcad83ce69 in Assimp::PLY::DOM::ParseHeader C:\Users\aavenel\Dev\assimp\code\AssetLib\Ply\PlyParser.cpp:428
#2 0x7ffcad83d58e in Assimp::PLY::DOM::ParseInstanceBinary C:\Users\aavenel\Dev\assimp\code\AssetLib\Ply\PlyParser.cpp:498
#3 0x7ffcad83302a in Assimp::PLYImporter::InternReadFile C:\Users\aavenel\Dev\assimp\code\AssetLib\Ply\PlyLoader.cpp:189
#4 0x7ffcad4f2f48 in Assimp::BaseImporter::ReadFile C:\Users\aavenel\Dev\assimp\code\Common\BaseImporter.cpp:135
#5 0x7ffcad51ee46 in Assimp::Importer::ReadFile C:\Users\aavenel\Dev\assimp\code\Common\Importer.cpp:709
#6 0x7ff7dd8f9f1a in ImportModel C:\Users\aavenel\Dev\assimp\tools\assimp_cmd\Main.cpp:307
#7 0x7ff7dd8fdf9e in Assimp_Info C:\Users\aavenel\Dev\assimp\tools\assimp_cmd\Info.cpp:344
#8 0x7ff7dd8fc04f in main C:\Users\aavenel\Dev\assimp\tools\assimp_cmd\Main.cpp:222
#9 0x7ff7dd9030eb in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
#10 0x7ffd39e57343 in BaseThreadInitThunk+0x13 (C:\WINDOWS\System32\KERNEL32.DLL+0x180017343)
#11 0x7ffd3a2626b0 in RtlUserThreadStart+0x20 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x1800526b0)
2023-11-20 08:43:17 +01:00
Alexandre Avenel
aae93691b9
Fix container overflow in MMD parser
...
Using reserve, buffer size is not updated. Since data is directly inserted and not using push_pack,
this can lead to a container overflow.
2023-11-17 14:33:17 +01:00
Florian Born
6004290dde
Use the correct allocator for deleting objects in case of duplicate animation Ids
2023-11-16 10:02:16 +01:00
Wojciech Matyjewicz
069e19487c
Fix parsing <init_from> in <image>.
...
The regression was introduced in 21678df
.
2023-11-16 08:50:10 +01:00
Wojciech Matyjewicz
2235518b3c
Fix parsing <instance_image> in <sampler2D>.
...
The regression was introduced in 904f17f
.
Since all the cases are now fully handled at the child level,
visiting the whole subtree is changed into iteration over the children.
2023-11-16 08:50:10 +01:00
copycd
8648c2af45
fix mesh-name error.
2023-11-15 13:04:10 +01:00
Kim Kulling
f0e7448fdc
Remove double delete
2023-11-14 22:09:56 +01:00
julianknodt
9efbbe0a69
Read int from uvwsrc
...
Previously was reading a uint, which always failed. Since the output was never checked, this
seemed to work, and works fine for most models since they only use UV channel 0.
2023-11-14 16:31:56 +01:00
Kim Kulling
4535e37fc6
Fix namespaces.
2023-11-12 21:09:33 +01:00
Kim Kulling
8cf2d6e588
Refactoring: Some cleanups
2023-11-12 21:09:33 +01:00
Kim Kulling
aa3abb3c06
Fix warning: remove printf
2023-11-10 15:36:40 +01:00
Kim Kulling
0b0ec713f6
Fix empty mesh handling
2023-11-10 15:36:40 +01:00
julianknodt
28ab0a094a
Fix incorrect deg->radian conversion
...
It seems that rotation matrices later expect radians.
This conversion breaks it, and was validated on the conversion of
`cesium_man.glb` --> `cesium_man.fbx`
2023-11-07 20:06:16 +01:00
Tárcio Vinícius
46b19cc6a4
utf8 header not found
2023-11-06 16:09:53 +01:00
Martin Aumüller
a521b23ab5
link to external minizip with full path
...
This let's cmake create config files that allow linking to minizip even when
in an unrelated prefix. This can happen with package managers that install
every package into their own prefix, such as [Spack](https://spack.io ).
2023-11-06 09:55:25 +01:00
Kim Kulling
108e3192a2
Update FBXBinaryTokenizer.cpp
...
- closes https://github.com/assimp/assimp/issues/5072
2023-11-05 17:57:29 +01:00
Kim Kulling
f844c3397d
Fix add checks for indices
2023-11-03 12:40:08 +01:00
Pavel Lukandiy
a7cfa3264a
Fix: Implicit Conversion Error
2023-11-02 16:19:42 +01:00
Kim Kulling
c1deb808fa
Fix: Remove incorrect final statements
2023-10-29 10:05:25 +01:00
Kim Kulling
25aee03f66
Fix: Add missing transformation for normalized normals.
2023-10-29 10:05:25 +01:00
Sébastien Loriot
c44e3427aa
use size in order to be compatible with float and double
2023-10-24 14:02:38 +01:00
julianknodt
1169d3bc8c
Fix spelling error
2023-10-24 09:34:36 +01:00
David Marčinković
945c77d699
Fix double free when the mesh contains duplicate bones.
2023-10-21 08:11:37 +01:00
Kim Kulling
020554e213
Update Readme.md
...
- Fix typos
- Remove deprecated badges
- Add the new experimental viewer
2023-10-14 11:42:24 +01:00
Kim Kulling
2a347014f3
Update ImproveCacheLocality.cpp
2023-10-08 18:35:08 +00:00
Kim Kulling
a531c72f7f
Update ImproveCacheLocality.cpp
...
- closes https://github.com/assimp/assimp/issues/5262
2023-10-08 18:35:08 +00:00
Kawashima Satoshi
666ecd3f1f
Bug Fix:
...
Failed to get floating values (e.g. opacity) from scene material when ASSIMP_DOUBLE_PRECISION is defined, so they are not reflected to output fbx file.
2023-10-08 15:21:26 +00:00
Kim Kulling
5d60cf228a
Fix: Waning implicite cast
2023-10-08 14:43:53 +00:00
Kim Kulling
2f78d48d6b
Fix: Warning implicite convertion
2023-10-08 14:43:53 +00:00
Kim Kulling
3c1423d5a5
Replace uint by unsigned int
2023-10-08 14:43:53 +00:00
Kim Kulling
1ee13872b1
Update utglTF2ImportExport.cpp
2023-10-08 14:43:53 +00:00
Kim Kulling
01322ec831
Fix Warning: Use float instead of double
2023-10-08 14:43:53 +00:00
fvbj
8fcc65a8af
Extension of data export to GLB/GLTF format
...
Allows to export unlimited (more than 4) bones per vertex
Use JOINTS_1,2,.. and WEIGHTS_1,2,...
Added AI_CONFIG_EXPORT_GLTF_UNLIMITED_SKINNING_BONES_PER_VERTEX flag
2023-10-08 14:43:53 +00:00
Kim Kulling
5b8cfa920b
Replace an assert by a error log.
2023-10-02 11:31:18 +02:00
Kim Kulling
d7cde43367
Fix: Add check for invalid input argument
2023-10-02 10:41:50 +02:00
ockeymm
7b6bf139cf
include memory.h to fix compile error
2023-10-01 16:11:20 +02:00
ockeymm
b2bfe6d253
Use unique_ptr to release old vertices data.
2023-10-01 16:11:20 +02:00
ockeymm
7a4d8ec412
Reduce memory consumption in JoinVerticesProcess::ProcessMesh() significantly
2023-10-01 16:11:20 +02:00
Begasus
7a26433846
Fix building on Haiku
2023-09-28 13:59:19 +02:00
mosfet80
6a08c39e3a
Update CMakeLists.txt
...
updated cpp-pm/hunter to last version
2023-09-25 16:46:51 +02:00
Stephen Gold
4b193dbee3
contrib/zip/src/zip.h: correct 2 spelling errors
2023-09-25 16:28:24 +02:00
Kim Kulling
f9d3e7015b
Update types.h
...
- closes https://github.com/assimp/assimp/issues/5247
2023-09-25 14:22:00 +02:00
mosfet80
f1b8df01d5
fix variable name
2023-09-25 13:37:01 +02:00
Kim Kulling
c421247be9
Update utVersion.cpp
2023-09-23 18:35:48 +02:00
Kim Kulling
cebb06280d
Update script_x86.iss
2023-09-23 18:35:48 +02:00
Kim Kulling
967d61edc5
Update script_x64.iss
2023-09-23 18:35:48 +02:00
Kim Kulling
997d380c3a
Update script_vieweronly.iss
2023-09-23 18:35:48 +02:00
Kim Kulling
13945a5c5b
Update CMakeLists.txt
2023-09-23 18:35:48 +02:00
Kim Kulling
e5e3e07b84
Fix copyrights.
2023-09-23 18:35:48 +02:00
Kim Kulling
bad725ec86
Fix: Fix versions
2023-09-23 18:35:48 +02:00
Kim Kulling
fb23ef7c02
Update: Update code version
2023-09-23 18:35:48 +02:00
Kim Kulling
0c5138cb39
Update: Set new versions
2023-09-23 18:35:48 +02:00
Kim Kulling
9d12dd6df3
Doc: Add wiki link
...
- closes https://github.com/assimp/assimp/issues/5240
2023-09-22 11:03:19 +02:00
Kim Kulling
7fb4b24cb5
Update googletest to 1.14.0
2023-09-19 09:01:04 +02:00
Батхишиг
fa71b84c1c
ai_epsilon bug fixed in C ( #5231 )
2023-09-18 14:48:30 +02:00
Kim Kulling
59b1234496
Update GenVertexNormalsProcess.cpp ( #5228 )
...
- closes https://github.com/assimp/assimp/issues/5074
2023-09-14 00:37:13 +02:00
FailCake
f9f7ab0658
Fix draco build path ( #5222 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2023-09-13 21:42:52 +02:00
dependabot[bot]
c7307ae84d
Bump actions/checkout from 3 to 4 ( #5224 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2023-09-12 13:28:14 +02:00
Kim Kulling
c4d3c1dd67
Fix: Remove useless parameter to specify c++ lib ( #5225 )
...
- closes https://github.com/assimp/assimp/issues/5197
2023-09-11 14:41:22 +02:00
Kim Kulling
2af4247260
Fix: Fix compilation for clang 14.0.3 ( #5223 )
...
* Fix: Fix compilation for clang 14.0.3
- closes https://github.com/assimp/assimp/issues/5203
* Update mesh.h
* Update mesh.h
Fix a typo.
2023-09-11 10:51:51 +02:00
Kim Kulling
aa1996e143
Mosfet80 clipper update ( #5220 )
...
* remove deprecated sprinf
* Update clipper
Updated Clipper to V6.4.2
* Fix the build
* Fix the build
* Disable hunter build
* Fix: Fix hided var.
* Fix invalid use of hunter enabled macro.
* Fix misconfig for hunter
* Disable removing contrib folder
* Update BlenderTessellator.h
* Remove Hunter-based includes
* Refactorings
* Remove final
* Update IFCCurve.cpp
* Update IFCCurve.cpp
---------
Co-authored-by: andrea <realeandrea@yahoo.it>
Co-authored-by: Kim Kulling <kim.kullingk@draeger.com>
2023-09-09 19:29:15 +02:00
Kim Kulling
3cf7d28bc4
Merge pull request #5221 from mosfet80/patch-4
...
Update sanitizer.yml
2023-09-07 15:58:40 +02:00
mosfet80
c3544f1f98
Update sanitizer.yml
...
updated actions/checkout to v4
Update default runtime to node20 by @takost in #1436
Support fetching without the --progress option by @simonbaird in #1067
Release 4.0.0 by @takost in #1447
2023-09-06 14:54:46 +02:00
Kim Kulling
0ff0bd7a6e
Merge pull request #5118 from kenichiice/dxf/negative-index
...
DXF: Support negative index in VERTEX
2023-09-01 15:54:39 +02:00
OGAWA KenIchi
8d8a0a5af7
DXF: Support negative index in VERTEX
2023-09-01 18:26:53 +09:00
Kim Kulling
e673d1fd9e
Merge pull request #5216 from assimp/semi-desert-master
...
Semi desert master
2023-08-30 21:31:55 +02:00
Kim Kulling
e41fe74b2a
Merge branch 'master' into semi-desert-master
2023-08-30 21:17:25 +02:00
Kim Kulling
8c8f974ea3
Merge branch 'master' of https://github.com/semi-desert/assimp into semi-desert-master
2023-08-30 21:16:21 +02:00
Kim Kulling
f623870dd1
Merge pull request #5170 from vulcanozz/vulcano/export_gltf2_with_roughness_texture
...
Add DIFFUSE_ROUGHNESS_TEXTURE for gltf2 exporter
2023-08-29 15:27:55 +02:00
Kim Kulling
e79d105957
Merge branch 'master' into vulcano/export_gltf2_with_roughness_texture
2023-08-29 15:13:43 +02:00
Kim Kulling
0afaf976b9
Merge pull request #5192 from PencilAmazing/irrfix
...
IRR - Fix UTF-16 file parsing (and possibly more?)
2023-08-29 15:11:06 +02:00
Kim Kulling
b52731c707
Merge branch 'master' into irrfix
2023-08-29 14:22:22 +02:00
Kim Kulling
97227d7a4c
Merge pull request #5193 from martinweber/collada-ignore-unit-size-property
...
Collada: added import property to disable unit size scaling
2023-08-29 14:15:50 +02:00
Kim Kulling
cc2c5d3ae3
Merge branch 'master' into collada-ignore-unit-size-property
2023-08-29 14:01:40 +02:00
Kim Kulling
2f6f58707d
Merge pull request #5161 from malytomas/master
...
fix incorrect default for material::get with aiColor3D
2023-08-28 11:45:54 +02:00
Kim Kulling
b9ea538e6f
Merge branch 'master' into master
2023-08-28 11:11:50 +02:00
Kim Kulling
215caa65aa
Merge branch 'master' into irrfix
2023-08-25 00:01:15 +02:00
Kim Kulling
80a03071ba
Merge pull request #5209 from sashashura/openddlparser
...
bump openddl-parser to v0.5.1
2023-08-25 00:00:39 +02:00
Kim Kulling
fa69c47d45
Merge branch 'master' into openddlparser
2023-08-24 23:46:23 +02:00
Kim Kulling
fe6730f225
Merge pull request #5212 from guguTang/xin-issue_5211
...
Ensure that the strength attribute is the same when importing or exporting gltf2
2023-08-24 23:45:41 +02:00
Kim Kulling
60b6d80936
Merge branch 'master' into xin-issue_5211
2023-08-24 21:03:57 +02:00
Kim Kulling
c953c9b76f
Merge pull request #5213 from AnyOldName3/pdb-install-fixes
...
Use correct PDB paths
2023-08-24 20:35:00 +02:00
AnyOldName3
e50233b2c1
Use correct PDB paths
...
The previously-specified paths were only correct for a static library
build.
I therefore fenced off that code to be specific to static library
builds.
For shared library builds, I added a generator-expression-based
alternative.
Annoyingly, this won't work with static library builds, so we don't get
the concise, reliable version in all circumstances.
I've avoided modifying any of the paths anything ends up at to avoid
breaking changes.
Resolves https://github.com/assimp/assimp/issues/4269
2023-08-23 17:19:01 +01:00
tangxin
4389c3d80c
The texture strength attribute in aiMaterial set when importing and exporting gltf files is inconsistent
2023-08-23 14:54:40 +08:00
zhucan
d07934bf25
adjust comment
2023-08-18 01:03:49 +08:00
zhucan
554fa8f5e2
code format
2023-08-18 01:03:49 +08:00
zhucan
2b4606c082
add fallback strategy for metallicRoughnessTexture
2023-08-18 01:03:49 +08:00
朱灿
3a03fe31b1
gltf2 export diffuse roughness
2023-08-18 01:03:49 +08:00
zhucan
32716002ac
Add DIFFUSE_ROUGHNESS_TEXTURE for gltf2 exporter
2023-08-18 01:03:49 +08:00
Alex
081cae6a95
Fix WIN32_LEAN_AND_MEAN redefinition
2023-08-17 13:25:30 +00:00
Alex
7cbf4c4136
Fix win build
2023-08-17 12:35:44 +00:00
Alex
bc7ef58b49
bump openddl-parser to v0.5.1
2023-08-17 12:00:22 +00:00
Kim Kulling
72c10d856f
Merge pull request #5207 from sashashura/4658377717055488
...
Fix Invalid-free in Assimp::FBX::Scope::Scope
2023-08-17 10:27:36 +02:00
Alex
5c45cdc0ad
Fix Invalid-free in Assimp::FBX::Scope::Scope
2023-08-16 07:45:23 +00:00
Kim Kulling
3a02de4d28
Merge pull request #5194 from Gargaj/floatwarn
...
Fix warning-as-error
2023-08-15 16:53:36 +02:00
Kim Kulling
d77903423f
Merge branch 'master' into floatwarn
2023-08-15 12:55:37 +02:00
Aaron
0bfc588c39
Update Triangulate Process [more another case]
2023-08-15 18:01:16 +08:00
PencilAmazing
2e60cb6ae6
Merge branch 'master' into irrfix
2023-08-14 01:50:06 -04:00
Kim Kulling
556c89b5f1
Merge pull request #5199 from sashashura/5513536726761472
...
Fix UNKNOWN READ in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<ch
2023-08-12 08:20:15 +02:00
Kim Kulling
e5d9339c21
Merge branch 'master' into 5513536726761472
2023-08-12 08:05:27 +02:00
Kim Kulling
461601e9ff
Merge pull request #5174 from feuerste/fix_magic
...
Fix violation of strict aliasing rule in `BaseImporter::CheckMagicToken`.
2023-08-12 08:04:34 +02:00
Kim Kulling
1c5dc86afb
Merge branch 'master' into fix_magic
2023-08-12 07:39:40 +02:00
Martin Weber
d8a7399a04
Merge branch 'assimp:master' into collada-ignore-unit-size-property
2023-08-10 08:10:18 +02:00
Kim Kulling
df9c5cdb9f
Merge pull request #5191 from sashashura/823345681268736
...
Fix UNKNOWN READ in Assimp::MDLImporter::InternReadFile_Quake1
2023-08-09 21:17:15 +02:00
Kim Kulling
79dcc289d0
Merge branch 'master' into 823345681268736
2023-08-09 20:58:56 +02:00
Kim Kulling
aa5b41446c
Merge pull request #5200 from paroj/master
...
Be more precise regarding index buffer
2023-08-09 20:09:17 +02:00
Pavel Rojtberg
20a2cc4c94
it is the importer, not the postproc
2023-08-09 02:05:44 +02:00
Pavel Rojtberg
2baadf2fe5
Be more precise regarding index buffer
2023-08-08 18:34:13 +02:00
Alex
b9460dd959
Fix UNKNOWN READ in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<ch
2023-08-08 16:01:00 +00:00
Gargaj
49ed0711d1
Fix another warning
2023-08-05 15:43:31 +02:00
Gargaj
8312b31d27
fix warning-as-error
2023-08-05 15:39:47 +02:00
Martin Weber
bb1873dd22
Collada: added import property to disable unit size scaling
2023-08-04 09:54:55 +02:00
Alex
f7e7f82b9d
Add const
2023-08-03 17:10:17 +00:00
PencilAmazing
b5032db741
Reverse accidental change with test file
2023-08-02 13:57:21 -04:00
PencilAmazing
d6edfad8bb
Fix non UTF-8 xml file parsing by passing buffer size manually, as per pugixml documentation
2023-08-02 13:52:40 -04:00
PencilAmazing
cf5ffdc366
Merge branch 'master' of https://github.com/assimp/assimp into irrfix
2023-08-01 21:36:40 -04:00
Alex
d7dc88e0d0
Fix UNKNOWN READ in Assimp::MDLImporter::InternReadFile_Quake1
2023-08-01 13:04:16 +00:00
Kim Kulling
60989a598e
Merge pull request #5175 from sfjohnston/sfjohnston_mods
...
Bug fix and improvement to FBX camera field-of-view during import.
2023-07-23 21:31:39 +02:00
Kim Kulling
439b3369c1
Merge branch 'master' into fix_magic
2023-07-23 21:21:29 +02:00
sfjohnston
dd40b0ccee
Changed #define FBX_FOV_UNKNOWN to const float kFovUnknown
2023-07-23 12:05:01 -07:00
sfjohnston
3ec8a36764
Merge branch 'assimp:master' into sfjohnston_mods
2023-07-23 08:37:47 -07:00
Kim Kulling
131bc61d47
Merge pull request #5186 from feuerste/missing_header
...
Add missing rapidjson headers to `glTF2Asset.inl`.
2023-07-23 13:51:01 +02:00
Kim Kulling
d05dbfa8c9
Merge branch 'master' into missing_header
2023-07-23 13:29:56 +02:00
Kim Kulling
20cb815290
Merge pull request #5188 from assimp/kimkulling/remove_deprecated_swig_files
...
Remove deprecated swig files.
2023-07-23 13:29:43 +02:00
Kim Kulling
0ab7de70cd
Remove deprecated swig files.
2023-07-23 12:49:25 +02:00
Marco Feuerstein
37a1366fb7
Add missing rapidjson headers.
2023-07-21 11:33:06 +02:00
Marco Feuerstein
52e5c3f39e
Fix violation of strict aliasing rule.
2023-07-21 09:48:45 +02:00
Kim Kulling
64e0ba2625
Merge branch 'master' into sfjohnston_mods
2023-07-20 09:21:13 +00:00
Kim Kulling
bf7ccb6206
Merge pull request #5182 from tellypresence/fix_malformed_irr_files
...
Fix malformed irr files
2023-07-18 14:29:08 +00:00
Kim Kulling
a5a4090989
Merge branch 'master' into fix_malformed_irr_files
2023-07-18 12:31:44 +00:00
Kim Kulling
8c871ed4f0
Merge pull request #5183 from SirLynix/patch-2
...
Remove /WX from CMakeLists for MSVC
2023-07-17 17:05:16 +02:00
Jérôme Leclercq
46be2d3380
Remove /WX from CMakeLists for MSVC
2023-07-15 15:54:15 +02:00
Steve M
ca7f6de671
Merge branch 'master' into fix_malformed_irr_files
2023-07-14 20:40:56 -07:00
Steve M
3161f0e754
Introduce alternate versions with animations disabled to allow sucessful load
2023-07-14 20:19:28 -07:00
Kim Kulling
5b7ff294b8
Merge pull request #5156 from feuerste/cloud_storage_version
...
Handle gcs cloud storage file extensions with versioning.
2023-07-14 15:07:12 +02:00
Kim Kulling
16021ef9ac
Merge branch 'master' into cloud_storage_version
2023-07-14 11:47:24 +02:00
Marco Feuerstein
0e7cd18c8b
Strip aws gcs version string.
2023-07-14 09:37:48 +02:00
Kim Kulling
f66a7fd6bf
Merge pull request #5176 from feuerste/gltf_specular
...
Fix detection of `KHR_materials_specular` on glTF2 export.
2023-07-14 09:23:12 +02:00
Steve M
1e6c7063b6
Fix typos
2023-07-13 20:28:48 -07:00
Marco Feuerstein
bf38d67935
Fix detection of KHR_materials_specular.
2023-07-13 11:51:56 +02:00
Kim Kulling
cf7d363766
Merge pull request #5159 from mosfet80/patch-4
...
Update run-cmake into sanitizer.yml
2023-07-11 15:45:55 +02:00
Kim Kulling
11f024b395
Merge branch 'master' into patch-4
2023-07-11 10:19:38 +02:00
Kim Kulling
53846430ce
Merge pull request #5157 from feuerste/file_extension
...
Unify extension check for importers.
2023-07-11 10:18:49 +02:00
sfjohnston
c7afea3cd7
Merge branch 'assimp:master' into sfjohnston_mods
2023-07-10 07:58:21 -07:00
Kim Kulling
e2b19ef776
Merge branch 'master' into file_extension
2023-07-10 11:19:27 +02:00
Kim Kulling
fe49a9ed94
Merge pull request #5155 from feuerste/alpha_graph
...
Extend token search flag from alpha to graph.
2023-07-10 11:17:16 +02:00
Marco Feuerstein
87cac888e4
More simplifications.
2023-07-08 12:58:11 +02:00
Marco Feuerstein
bdde968677
Address reviewer comment.
2023-07-08 12:58:11 +02:00
Marco Feuerstein
506baa21e6
Unify extension check for importers.
...
This enables proper checking for all kinds of extensions (including the
ones with multiple dots) for all importers and internal usage.
2023-07-08 12:58:11 +02:00
Marco Feuerstein
0256047168
Extend token search flag from alpha to graph.
...
This way we can fix Blender exported files being wrongly detected as
obj files.
2023-07-08 12:57:45 +02:00
Kim Kulling
3423949490
Merge branch 'master' into master
2023-07-08 12:37:42 +02:00
Kim Kulling
e08cb0b5b8
Merge pull request #5172 from feuerste/missing_header
...
Add missing header.
2023-07-08 12:36:52 +02:00
PencilAmazing
668db327f4
Fix misplaced quote
2023-07-07 13:27:45 -04:00
Marco Feuerstein
8b005eaa83
Add missing header.
2023-07-07 14:28:05 +02:00
Kim Kulling
6308de6e5b
Merge pull request #5154 from feuerste/gltf_binary
...
Improve binary check for gltf and gltf2.
2023-07-05 21:29:38 +02:00
Kim Kulling
90ff723b6c
Merge branch 'master' into gltf_binary
2023-07-03 21:31:28 +02:00
Kim Kulling
9a94b26cdc
Merge pull request #5168 from sashashura/4879958521806848
...
Fix UNKNOWN READ in Assimp::SMDImporter::ParseNodeInfo
2023-07-03 21:08:11 +02:00
Kim Kulling
ed903543a7
Merge branch 'master' into 4879958521806848
2023-07-03 19:50:38 +02:00
Kim Kulling
d3ee157342
Merge pull request #5166 from PencilAmazing/irrfix
...
Fix IRR and IRRMESH importers
2023-07-03 11:36:52 +02:00
Kim Kulling
a5bb4b59e4
Merge branch 'master' into irrfix
2023-07-03 11:19:53 +02:00
Alex
093e35dd54
Fix eternal loop
2023-07-03 09:12:00 +00:00
Alex
edb8375702
Fix integer overflow
2023-07-03 09:11:38 +00:00
Kim Kulling
0dcfe2f72c
Merge pull request #5167 from assimp/kimkulling/add_missing_licence_issue-5144
...
Create licence.md
2023-07-03 10:04:34 +02:00
Kim Kulling
d1ad4e54d7
Create licence.md
...
- closes https://github.com/assimp/assimp/issues/5144
2023-07-03 08:26:50 +02:00
Kim Kulling
5770faac10
Merge pull request #5162 from feuerste/py_available_formats
...
[pyassimp] Replace static list of file extensions with the actually supported ones.
2023-07-02 21:26:07 +02:00
PencilAmazing
f1561f03ce
Merge branch 'master' into irrfix
2023-07-02 15:10:04 -04:00
PencilAmazing
57306bcd63
Make unit test more useful in case importer breaks again
2023-07-02 14:55:25 -04:00
PencilAmazing
96eb87265e
Apply clang-format to unit test
2023-07-02 14:35:22 -04:00
PencilAmazing
0bacc7134d
Remove debugging code, clean up some notes
2023-07-02 14:32:17 -04:00
PencilAmazing
19da9cc84d
Port mesh loading to pugixml. Untested.
2023-07-02 14:32:12 -04:00
dog
3e1fd74940
Fix up scene loading. pugixml is a breadth-first parser while irrxml is
...
a depth first. This only parses scene structure, no mesh loading yet.
2023-07-02 14:30:54 -04:00
Kim Kulling
7d542eb795
Merge branch 'master' into py_available_formats
2023-07-02 20:26:16 +02:00
PencilAmazing
537b445a59
Apply clang-format to files
2023-07-02 14:17:52 -04:00
Alex
6f3bfb5b60
Fix memory leak
2023-07-02 14:12:49 -04:00
Alex
3838a8aaf8
Fix unknown write in Assimp::ObjFileMtlImporter::getFloatValue
2023-07-02 14:12:49 -04:00
Kim Kulling
e4cac7d00b
Merge pull request #5153 from feuerste/blender_can_read
...
Unify way to check readable blender files.
2023-07-01 13:14:55 +02:00
Kim Kulling
8a65dcc19e
Merge branch 'master' into blender_can_read
2023-07-01 12:54:45 +02:00
Kim Kulling
3e74453b69
Merge branch 'master' into gltf_binary
2023-06-30 11:16:08 +02:00
Kim Kulling
42386b829c
Merge pull request #5164 from feuerste/py_read_from_memory
...
[pyassimp] Fix passing of file extension string.
2023-06-30 00:55:27 +02:00
Kim Kulling
b44dfd5ecf
Merge branch 'master' into py_read_from_memory
2023-06-29 21:08:25 +02:00
Kim Kulling
b61fc49c30
Merge pull request #5163 from thegeeko/fix-gcc-13
...
Fix: disabled dangling-reference warning in gcc13
2023-06-29 21:07:27 +02:00
Marco Feuerstein
82d3f47432
Unify way to check readable blender files.
2023-06-29 15:10:28 +02:00
Marco Feuerstein
b2cad5c58d
Use file system encoding.
2023-06-29 14:56:11 +02:00
Marco Feuerstein
d1edaa949b
Fix passing of file extension string.
...
Previously only the first letter of the string was passed to c, now it passes the whole extension.
2023-06-29 14:51:16 +02:00
Abdelhadi
ac2cf2f71b
Fix: disabled dangling-reference warning in gcc13
2023-06-29 10:02:39 +03:00
Marco Feuerstein
59f2620164
Remove unneeded check for empty extension.
2023-06-29 08:21:09 +02:00
Marco Feuerstein
261c7769b8
Replace static list of supported file extensions with the actually supported ones.
2023-06-29 08:21:08 +02:00
Marco Feuerstein
2875de132f
Fix compilation on windows.
2023-06-29 08:20:51 +02:00
Marco Feuerstein
17fac97b04
Fix magic token usage.
2023-06-29 08:20:51 +02:00
Marco Feuerstein
1c0f3c5f87
Fix string length calculation.
2023-06-29 08:20:50 +02:00
Marco Feuerstein
a2bdfdd05a
Improve binary check for gltf and gltf2.
...
By checking the magic token we don't depend on the extension any more
and follow the official way to detect a gltf file as binary, see also
https://github.com/KhronosGroup/glTF/blob/main/extensions/1.0/Khronos/KHR_binary_glTF/README.md#header
and https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#binary-header .
2023-06-29 08:20:50 +02:00
Kim Kulling
03934128fc
Merge pull request #5149 from mosfet80/UpdatePugiXml
...
show correct pugixml version
2023-06-28 16:31:48 +02:00
Kim Kulling
7ae88225b3
Merge branch 'master' into UpdatePugiXml
2023-06-28 16:04:49 +02:00
Kim Kulling
5a568d485c
Merge pull request #5147 from mosfet80/UpdateZli
...
switch to zlib 1.2.13
2023-06-28 16:02:25 +02:00
Kim Kulling
507a3d2f8d
Merge branch 'master' into UpdateZli
2023-06-28 13:06:59 +02:00
Kim Kulling
876b1a0d6e
Merge pull request #5151 from severin-lemaignan/master
...
[pyassimp] bumped pyassimp version to 5.2.5
2023-06-28 11:40:49 +02:00
Kim Kulling
c9111fe89a
Merge branch 'master' into master
2023-06-28 11:24:58 +02:00
Kim Kulling
e7a0985886
Merge pull request #5148 from mosfet80/UpdateUtf8cpp
...
update utf8 from 2.3.4 to 3.2.3
2023-06-28 11:24:16 +02:00
Kim Kulling
f55eebad06
Merge branch 'master' into UpdateUtf8cpp
2023-06-27 22:09:20 +02:00
Kim Kulling
8f61427880
Merge pull request #5128 from sashashura/5093294573486080
...
Fix UNKNOWN READ in Assimp::MDLImporter::ParseSkinLump_3DGS_MDL7
2023-06-27 22:08:29 +02:00
Kim Kulling
1ec3dbd11a
Merge branch 'master' into 5093294573486080
2023-06-27 17:04:58 +02:00
Kim Kulling
1791eac7ff
Merge pull request #5140 from emaame/SupportOBJSpecifiedOnlyAPartOfVertexColors
...
Fix Objimported supports OBJ partially specified vertex colors
2023-06-27 16:53:46 +02:00
mosfet80
3da92e05eb
Merge branch 'assimp:master' into UpdateUtf8cpp
2023-06-27 16:27:25 +02:00
Kim Kulling
f24224fdc5
Merge branch 'master' into SupportOBJSpecifiedOnlyAPartOfVertexColors
2023-06-27 13:44:31 +02:00
Kim Kulling
d2411a7ecd
Merge pull request #5127 from sashashura/5921493454815232
...
Fix Bad-cast to Assimp::D3DS::Material from invalid vptr in Assimp::ASE::Parser::ParseLV2MaterialBlock
2023-06-27 13:43:03 +02:00
Tomas Maly
5d3f3281f4
fix incorrect default for material::get with aiColor3D
2023-06-27 12:40:27 +02:00
Kim Kulling
db6c1a8b1c
Merge branch 'master' into 5921493454815232
2023-06-27 11:03:50 +02:00
Kim Kulling
8937248f7c
Merge pull request #5126 from sashashura/5143879191494656
...
Fix UNKNOWN WRITE in std::__1::list<Assimp::LWO::Envelope, std::__1::allocator<Assimp::LWO::Envelope>
2023-06-27 11:02:07 +02:00
Kim Kulling
ef6bf03acd
Merge branch 'master' into 5143879191494656
2023-06-27 10:23:36 +02:00
Kim Kulling
27c4de3419
Merge pull request #5122 from sashashura/5407417422970880
...
Fix Heap-buffer-overflow READ in Assimp::MD5::MD5Parser::ParseSection
2023-06-27 10:22:46 +02:00
Kim Kulling
141e278e1f
Merge branch 'master' into 5407417422970880
2023-06-27 10:07:21 +02:00
Kim Kulling
41e2b0f5dc
Merge pull request #5121 from sashashura/6521292621217792
...
Fix Memcpy-param-overlap in unzReadCurrentFile
2023-06-26 23:51:36 +02:00
Kim Kulling
1830a8aad2
Fix; fix old declaration style
...
- fix compiler warning.
2023-06-26 23:36:20 +02:00
Kim Kulling
47575f759f
Update unzip.c
...
- Fix compiler warnings
2023-06-26 16:08:12 +02:00
Kim Kulling
ff36ea7e23
Merge branch 'master' into 6521292621217792
2023-06-26 09:17:40 +02:00
Kim Kulling
bce2fdbbe9
Merge pull request #5119 from sashashura/4508318827937792
...
Fix unknown write in Assimp::ObjFileMtlImporter::getFloatValue
2023-06-26 09:02:39 +02:00
Kim Kulling
b1181b1086
Merge branch 'master' into 4508318827937792
2023-06-25 21:20:02 +02:00
Kim Kulling
96d0c0769e
Merge pull request #5120 from sashashura/6520123362508800
...
Fix Stack-buffer-overflow READ in aiMaterial::AddBinaryProperty
2023-06-25 21:19:19 +02:00
Kim Kulling
7005a9caa2
Merge branch 'master' into 6520123362508800
2023-06-25 21:07:34 +02:00
Kim Kulling
ed0dff2a7e
Merge pull request #5117 from sashashura/6091762766839808
...
Fix Heap-buffer-overflow READ in Assimp::FileSystemFilter::Cleanup
2023-06-25 21:03:23 +02:00
Kim Kulling
6b1a2e91d5
Merge branch 'master' into 6091762766839808
2023-06-25 20:08:45 +02:00
Kim Kulling
4a658202ca
Merge pull request #5113 from sashashura/6020769077657600
...
Fix UNKNOWN READ crash in UpdateMeshReferences
2023-06-25 20:06:47 +02:00
Kim Kulling
438f9fe568
Merge branch 'master' into 6020769077657600
2023-06-25 18:11:54 +02:00
Kim Kulling
1477f696e0
Merge pull request #5111 from sashashura/5781186265350144
...
Fix Heap-buffer-overflow READ in Assimp::ObjFileParser::getFace
2023-06-25 18:11:25 +02:00
Kim Kulling
3545aab937
Merge branch 'master' into 5781186265350144
2023-06-25 17:51:01 +02:00
mosfet80
46ea0a7d7c
Update sanitizer.yml
2023-06-22 21:43:52 +02:00
mosfet80
26c4505c53
Update run-cmake into sanitizer.yml
2023-06-22 21:41:26 +02:00
Séverin Lemaignan
a4258929ce
[pyassimp] bumped pyassimp version to 5.2.5
2023-06-20 22:33:16 +02:00
Andrea Reale
86c332fec7
show correct pugixml version
2023-06-20 11:52:12 +02:00
Andrea Reale
8a3ec3ca2f
updateunzip
2023-06-20 11:40:38 +02:00
Andrea Reale
ce59d49dd9
update upf8 from 2.3.4 to 3.2.3
...
New convenience API for C++ 11 and later compilers. The library still works with C++ 98/03 compliant compilers, just without the new functions.
advance() function works in both directions.
The following deprecated functions were removed:
previous() - deprecated since version 1.02.
is_bom() - deprecated since version 2.3.
Fix of the project version number at CMakeLists.txt
Continuous Integration with Google Tests and CircleCI
A minor release that contains fix for Issue #31 Program fails to link when including utf8.h in multiple files.
This release adds one new API call: unchecked::replace_invalid().
Optional support for C++ 17 std::string_view.
The release contains the fix the inclusion of both cpp11 and cpp17 headers on C++17 compilation. Also some additional tests for using string literals and string objects with modern compilers.
2023-06-20 11:23:28 +02:00
Andrea Reale
8741da2036
switch to zlib 1.2.13
...
Fix a bug when getting a gzip header extra field with inflateGetHeader(). This remedies CVE-2022-37434.
Fix a bug in block type selection when Z_FIXED used. Now the smallest block type is selected, for better compression.
Fix a configure issue that discarded the provided CC definition.
Correct incorrect inputs provided to the CRC functions. This mitigates a bug in Java.
Repair prototypes and exporting of the new CRC functions.
Fix inflateBack to detect invalid input with distances too far.
Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses.
Fix a deflate bug when the window is full in deflate_stored().
Speed up CRC-32 computations by a factor of 1.5 to 3.
Use the hardware CRC-32 instruction on ARMv8 processors.
Speed up crc32_combine() with powers of x tables.
Add crc32_combine_gen() and crc32_combine_op() for fast combines.
2023-06-20 11:12:47 +02:00
Kim Kulling
bd65af0d44
Merge branch 'master' into SupportOBJSpecifiedOnlyAPartOfVertexColors
2023-06-20 09:38:53 +02:00
Kim Kulling
b94392d199
Merge pull request #5146 from assimp/kimkulling/dxf_handling_for_invisible_faces_issue-2036
...
Add handling for negative indices.
2023-06-20 09:15:25 +02:00
Kim Kulling
63e1b071df
Remove deprecated switch to disable warning.
2023-06-19 23:50:32 +02:00
Kim Kulling
6502b97d3e
Fix: Put unused var into comments to later use.
2023-06-19 23:38:57 +02:00
Kim Kulling
3d19cd9362
Fix: Put unused var into comments to later use.
2023-06-19 23:35:50 +02:00
Kim Kulling
9c9d72169f
Fix: Put unused var into comments to later use.
2023-06-19 23:34:14 +02:00
Kim Kulling
7f0c388ad8
Fix: Put unused var into comments to later use.
2023-06-19 23:27:32 +02:00
Kim Kulling
10059e6431
Add handling for negative indices.
2023-06-19 23:21:35 +02:00
emaame
22c8d97b54
Support OBJ specified only a part of vertex colors
...
The omitted vertex colors are treated as (0, 0, 0, 1).
e.g
v 0.0 0.0 0.0
v 0.0 0.0 1.0 0.0 0.0 0.0
v 0.0 1.0 0.0
v 1.0 0.0 0.0 1.0 0.6 0.3
v 1.0 1.0 0.0
2023-06-17 16:31:04 +09:00
Scott Johnston
aab3c8010c
Correct from full FOV to assimp half-fov in camera. Compute from filmWidth and focalLength if FOV not specified.
2023-06-15 12:16:06 -07:00
Kim Kulling
9c54540a19
Merge pull request #5130 from mosfet80/patch-2
...
Delete old unused patch
2023-06-15 11:39:12 +02:00
Kim Kulling
693d681813
Merge branch 'master' into patch-2
2023-06-15 10:40:05 +02:00
Kim Kulling
3939d35f18
Merge pull request #5138 from sashashura/4709035804065792
...
Fix UNKNOWN WRITE in Assimp::SortByPTypeProcess::Execute
2023-06-15 10:39:17 +02:00
Alex
36dfa3bed3
Fix UNKNOWN WRITE in Assimp::SortByPTypeProcess::Execute
2023-06-14 15:50:50 +00:00
Alex
b158b716d1
Fix Memcpy-param-overlap in unzReadCurrentFile: bump zlib to 1.2.13
2023-06-14 07:41:41 +02:00
Alex
9ef71fe231
Merge branch 'master' into 5781186265350144
2023-06-14 07:40:47 +02:00
Alex
5bb1c6debd
Fix UNKNOWN READ crash in UpdateMeshReferences
2023-06-14 07:40:36 +02:00
Alex
b3a1c72c8f
Fix Heap-buffer-overflow READ in Assimp::FileSystemFilter::Cleanup
2023-06-14 07:40:28 +02:00
Alex
646d3591b6
Fix memory leak
2023-06-14 07:40:21 +02:00
Alex
496a4bf156
Fix unknown write in Assimp::ObjFileMtlImporter::getFloatValue
2023-06-14 07:40:21 +02:00
Alex
8012657169
Fix Heap-buffer-overflow READ in Assimp::MD5::MD5Parser::ParseSection
2023-06-14 07:38:57 +02:00
Alex
dbd15fd351
Fix UNKNOWN WRITE in std::__1::list<Assimp::LWO::Envelope, std::__1::allocator<Assimp::LWO::Envelope>
2023-06-14 07:38:47 +02:00
Alex
86aecf395e
Fix Bad-cast to Assimp::D3DS::Material from invalid vptr in Assimp::ASE::Parser::ParseLV2MaterialBlock
2023-06-14 07:38:38 +02:00
Alex
c6c95b69f6
Use SizeCheck
2023-06-14 07:38:02 +02:00
Alex
54b0c00418
Fix UNKNOWN READ in Assimp::MDLImporter::ParseSkinLump_3DGS_MDL7
2023-06-14 07:38:02 +02:00
Alex
f897b0c461
Merge branch 'master' into 6520123362508800
2023-06-13 22:06:08 +02:00
Kim Kulling
4180b1fd08
Merge pull request #5134 from sashashura/memleak
...
Fix memory leak
2023-06-13 20:18:37 +02:00
Kim Kulling
3ccf242bdb
Merge branch 'master' into memleak
2023-06-13 19:46:56 +02:00
Kim Kulling
feb0303fd0
Merge pull request #5090 from FlorianBorn71/FixSkinnedWeightsAfterVertexRemappingOptimization
...
Skinning weights in gltf were broken by PR#5003 (vertex remapping)
2023-06-09 00:23:08 +02:00
Kim Kulling
bef66deeda
Update glTF2Importer.h
2023-06-08 20:56:14 +02:00
Kim Kulling
1ab4161cd7
Update glTF2Importer.cpp
2023-06-08 20:55:48 +02:00
Kim Kulling
186d7fd606
Merge branch 'master' into FixSkinnedWeightsAfterVertexRemappingOptimization
2023-06-08 13:16:08 +02:00
Kim Kulling
9950bb4ed6
Merge pull request #5110 from sashashura/4890437695700992
...
Fix Heap-buffer-overflow READ in Assimp::MD5::MD5MeshParser::MD5MeshParser
2023-06-08 13:15:35 +02:00
Kim Kulling
11dede8fc4
Merge branch 'master' into 4890437695700992
2023-06-08 13:02:15 +02:00
Kim Kulling
d5844f26b5
Merge pull request #5103 from mosfet80/patch-1
...
Update cpp-pm / hunter
2023-06-08 13:01:35 +02:00
Kim Kulling
839bed3274
Merge branch 'master' into patch-1
2023-06-07 18:38:57 +02:00
Alex
4c16a6a16b
Fix memory leak
2023-06-07 07:02:50 +00:00
Kim Kulling
49a6eec294
Merge pull request #5133 from Biohazard90/Fix-removeEmptyBones-cannot-be-disabled
...
Fixed missing config property lookup for removal of empty bones.
2023-06-07 08:19:23 +02:00
Kristjan Skutta
cb86029153
Fixed missing config property lookup for removal of empty bones.
2023-06-06 14:30:35 +02:00
Kim Kulling
d9268dcf96
Merge branch 'master' into patch-1
2023-06-05 18:36:35 +02:00
Kim Kulling
02d5ab294c
Merge pull request #5129 from sashashura/4875566380220416
...
Fix UNKNOWN READ in aiTexture::~aiTexture
2023-06-05 18:35:56 +02:00
Alex
f5683b6f3a
Update MDLMaterialLoader.cpp
...
Add parentheses
2023-06-05 14:27:21 +02:00
mosfet80
05ab5c2e3b
Delete old unused patch
...
Remove old file poly2tri_patch.txt
2023-06-04 22:49:12 +02:00
Kim Kulling
513e62e1c9
Merge branch 'master' into 4875566380220416
2023-06-04 20:42:37 +02:00
Alex
23f9990b22
Fix UNKNOWN READ in aiTexture::~aiTexture
2023-06-04 07:50:00 +00:00
Kim Kulling
915e146307
Merge pull request #5125 from mosfet80/updatePugiXML
...
Update pugiXML library
2023-06-03 21:26:13 +02:00
Alex
5cc4a61d66
Fix Heap-buffer-overflow READ in Assimp::MD5::MD5MeshParser::MD5MeshParser
2023-06-03 16:30:50 +02:00
Alex
6c5fe9d76f
Add missing include
2023-06-03 16:28:55 +02:00
Alex
57a55aa4d4
Fix memory leaks
2023-06-03 16:28:55 +02:00
Alex
f4d3b6e862
Fix Stack-buffer-overflow READ in aiMaterial::AddBinaryProperty
2023-06-03 16:28:55 +02:00
mosfet80
62cefd5b27
Update pugiXML library
...
Release highlights:
xml_attribute::set_value, xml_node::set_value and xml_text::set now have overloads that accept pointer to non-null-terminated string and size
Fix error handling in xml_document::save_file that could result in the function succeeding while running out of disk space
Fix memory leak during error handling of some out-of-memory conditions during xml_document::load
2023-06-03 11:16:39 +02:00
Alex
d3506c24e7
Update ObjFileParser.cpp
2023-06-02 18:57:53 +02:00
Kim Kulling
e30823fb1d
Merge branch 'master' into 5781186265350144
2023-06-01 16:40:46 +02:00
Kim Kulling
b6c0fdd6e0
Merge branch 'master' into patch-1
2023-06-01 00:12:26 +02:00
Kim Kulling
d9a8837a5b
Merge pull request #5112 from sashashura/6337324114116608
...
Fix Heap-buffer-overflow WRITE in Assimp::ObjFileImporter::createVertexArray
2023-05-31 23:31:38 +02:00
Kim Kulling
628dde4a91
Merge branch 'master' into 6337324114116608
2023-05-31 21:30:47 +02:00
Kim Kulling
c22ddfda2b
Merge pull request #5114 from assimp/kimkulling/update_docker_image
...
Update_ Use latest ubuntu image and switch to ninja
2023-05-31 21:24:16 +02:00
Kim Kulling
1538669f70
Update_ Use latest ubuntu image and switch to ninja
2023-05-31 20:45:51 +02:00
Alex
4cc70cb73c
Optimize
2023-05-31 14:10:57 +00:00
Alex
54f5d01190
Fix Heap-buffer-overflow WRITE in Assimp::ObjFileImporter::createVertexArray
2023-05-31 11:37:15 +00:00
Alex
c3e69b5b82
Fix Heap-buffer-overflow READ in Assimp::ObjFileParser::getFace
2023-05-31 08:01:41 +00:00
mosfet80
462755e5ba
Update CMakeLists.txt
...
fix sha1
2023-05-30 16:26:30 +02:00
mosfet80
1f5c7da822
Update CMakeLists.txt
2023-05-30 16:23:57 +02:00
Kim Kulling
bee751b5f9
Merge pull request #5109 from assimp/C-Tech-Development-Corp-gltf2_metadata_export
...
C tech development corp gltf2 metadata export
2023-05-30 11:38:02 +02:00
Kim Kulling
466f6960ac
Merge branch 'gltf2_metadata_export' of https://github.com/C-Tech-Development-Corp/assimp into C-Tech-Development-Corp-gltf2_metadata_export
2023-05-30 08:14:49 +02:00
Kim Kulling
17c1a9125f
Merge branch 'master' into FixSkinnedWeightsAfterVertexRemappingOptimization
2023-05-24 23:36:59 +02:00
Kim Kulling
0b53243b8f
Merge pull request #5083 from Jackie9527/msvc-clang-unused-function
...
Fix warning related to unused-function.
2023-05-24 23:36:01 +02:00
Kim Kulling
f43cfa1fba
Merge branch 'master' into msvc-clang-unused-function
2023-05-24 23:23:40 +02:00
Kim Kulling
0f4667fce4
Merge pull request #5082 from skogler/fix-pbrt-exporter
...
Fix pbrt exporter coordinate system and FoV
2023-05-24 23:23:00 +02:00
Kim Kulling
ca848c5b09
Merge branch 'master' into fix-pbrt-exporter
2023-05-24 22:28:32 +02:00
Kim Kulling
0794b41d55
Merge pull request #5087 from mwestphal/master
...
Fix librt link
2023-05-24 22:25:34 +02:00
Kim Kulling
d73595b85d
Merge branch 'master' into master
2023-05-24 21:35:26 +02:00
mosfet80
e4621a3142
Update cpp-pm / hunter
...
Fix a lot of CVE vulnerabilities
Update abseil to LTFS 20220623.1 by @butteredmonkey in #656
Fix Hunter on Windows MSVC CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE 'ARM64EC' by @ccmvn in #659
openssl: update openssl to the latest 1.1.1t by @res0nance in #660
ceres-solver: per default disable CUDA support by @NeroBurner in #665
update range-v3 to version 0.12.0 by @alex-tdrn in #670
Update 'pybind11' to 2.10.4 by @hjmallon in #667
cli11: update cli11 to 2.3.2 by @res0nance in #669
openssl: update to v3 as 1.1.1 is almost eol by @res0nance in #668
Fix Hunter on Windows MSVC CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE 'ARM64' by @ccmvn in #655
Boost: Fix building b2 (+ headers) on Apple tvOS with Xcode generator by @hjmallon in #647
assimp: add version 5.2.5 by @NovaSurfer in #640
SuiteSparse: update to v1.6.1 (SuiteSparse v5.4.0), with METIS and OpenBLAS by @NeroBurner in #642
OpenSSL: replace HUNTER_UWP_PLATFORM with CMAKE_SYSTEM_NAME check by @Dargun in #635
asio-grpc: Add version 2.3.0 by @Tradias in #636
Update OpenBLAS to v0.3.21 and add new BUILD_WITHOUT_LAPACK flag by @NeroBurner in #638
OpenBLAS: starting with 0.3.21 build with LAPACK support per default by @NeroBurner in #639
Update 'date' to v3.0.1 by @hjmallon in #615
Update 'SDL_net' package to v2.2.0-p0 by @drodin in #616
Update 'Jpeg' package to v9e-p0 by @drodin in #618
Update 'GTest' package to v1.12.1 by @drodin in #620
Update 'lcms' package to v2.13.1-p0 by @drodin in #621
Update 'giflib' package to v5.2.1-p0 by @drodin in #622
Update package 'WebP' to v1.2.4-p0 by @drodin in #623
Update 'Boost' to 1.80.0 by @tnixeu in #627
Update asio-grpc to 2.2.0 by @Tradias in #629
Update ZLIB to v1.2.13-p0 by @NeroBurner in #628
Add support for iOS simulator only builds by @hjmallon in #610
aws-sdk-cpp: Fix linking OpenSSL Crypto on Linux by @hjmallon in #630 and #631
OpenSSL: Fix build on universal windows platforms, add UWP job to global build matrix by @Dargun in #626
Update asio-grpc to v2.1.0 by @Tradias in #607
Update 'harfbuzz' package to v2.9.1-p0 by @drodin in #608
Update RocksDB to 7.5.3 by @twoentartian in #611
Fix CMAKE_IOS_INSTALL_COMBINED on Xcode 12+ by @hjmallon in #609
CI: Boost: update matrix.json to match general workflow by @NeroBurner in #612
Boost: update to v1.79.0 by @NeroBurner in #599
2023-05-24 17:29:29 +02:00
Samuel Kogler
0fbd2f5894
Merge branch 'master' into fix-pbrt-exporter
2023-05-24 15:24:46 +02:00
Kim Kulling
9f593d70b5
Merge pull request #4786 from Beilinson/refactor/KHR_material_specular
...
Removed KHR_materials_pbrSpecularGlossiness, added KHR_materials_specular
2023-05-23 12:44:47 +02:00
Kim Kulling
b7a8c4ba75
Update glTF2Asset.inl
2023-05-23 10:33:14 +02:00
Kim Kulling
3a09fd0c85
Fix review finding
...
Test with glossiness disabled and enabled.
2023-05-23 09:50:20 +02:00
Kim Kulling
e947471549
Merge branch 'master' into refactor/KHR_material_specular
2023-05-22 09:49:01 +02:00
Kim Kulling
0e06a5f945
Merge pull request #4806 from naota29/master
...
Updated DirectX Loader to assign appropriate material index in ConvertMaterials Function
2023-05-22 09:48:26 +02:00
Kim Kulling
03163a1dda
Merge branch 'master' into master
2023-05-21 18:26:56 +02:00
Kim Kulling
7e16d4046e
Merge branch 'master' into FixSkinnedWeightsAfterVertexRemappingOptimization
2023-05-21 18:14:29 +02:00
Kim Kulling
0dfd491d97
Merge pull request #5099 from assimp/kimkulling/ase_remove_commented_code
...
Update ASELoader.cpp
2023-05-20 14:39:40 +02:00
Kim Kulling
9c45f727e3
Update ASELoader.cpp
2023-05-20 14:27:57 +02:00
Kim Kulling
18b6cffe14
Merge pull request #5096 from assimp/FlorianBorn71-SmallAllocationFixInFBXLoader
...
Florian born71 small allocation fix in fbx loader
2023-05-16 11:00:34 +02:00
Kim Kulling
94905d445f
Revert usage of unique_ptr - error.
2023-05-15 16:06:02 +02:00
Kim Kulling
71a4977dd1
Fix: Try unique_ptr
2023-05-15 15:46:21 +02:00
Kim Kulling
8ad4bb0b2c
Update StackAllocator.inl
2023-05-15 15:09:54 +02:00
Kim Kulling
b5b6400320
Fix: Use vector.
2023-05-15 15:08:52 +02:00
Kim Kulling
aed43878ef
Merge branch 'master' into FlorianBorn71-SmallAllocationFixInFBXLoader
2023-05-15 14:28:46 +02:00
Kim Kulling
ad399adf4b
Add missing include
2023-05-15 13:19:02 +02:00
Kim Kulling
121f09b62a
Fix: Fix the build.
2023-05-15 11:02:58 +02:00
Kim Kulling
0c4d5909f8
Merge pull request #5095 from assimp/kimkulling/enable_export_for_fuzzing
...
Update: Enable export for fuzzer tests
2023-05-15 09:43:48 +02:00
Kim Kulling
e627f691a8
Merge branch 'SmallAllocationFixInFBXLoader' of https://github.com/FlorianBorn71/assimp into FlorianBorn71-SmallAllocationFixInFBXLoader
2023-05-15 09:30:57 +02:00
Kim Kulling
f3e5a4835d
Merge branch 'master' into kimkulling/enable_export_for_fuzzing
2023-05-15 09:25:56 +02:00
Kim Kulling
478ce8af5a
Update Exporter.cpp
2023-05-15 09:25:44 +02:00
Kim Kulling
9d6b32f5c5
Update: Enable export for fuzzer tests
2023-05-15 09:18:30 +02:00
Kim Kulling
41102eeda6
Merge pull request #5092 from luho383/scene_combiner_copy_metadata_fix
...
Fix: Copy aiMetadata in SceneCombiner
2023-05-13 12:11:25 +02:00
Lutz Hören
9ea37b5330
copy aiMetadata objects in scene combiner
2023-05-11 08:00:25 +02:00
Kim Kulling
ade4514752
Merge branch 'master' into fix-pbrt-exporter
2023-05-10 21:55:00 +02:00
Florian Born
d825eb7cf0
Skinning weights i gltf were broken by PR#5003 (vertex remapping)
2023-05-08 20:04:38 +02:00
Mathieu Westphal
69145c8929
Fix librt link
2023-05-05 08:47:14 +02:00
Kim Kulling
cb22d531a6
Merge pull request #5086 from assimp/kimkulling/refactoring_geoutils
...
Kimkulling/refactoring geoutils
2023-05-05 00:08:35 +02:00
Kim Kulling
8cbfb44e9c
Remove dead code
2023-05-04 21:10:51 +02:00
Kim Kulling
1243325f10
Merge branch 'master' into kimkulling/refactoring_geoutils
2023-05-04 21:10:00 +02:00
Kim Kulling
75d024c91b
Reafctoring: Add GeoUtils usage
2023-05-04 20:57:20 +02:00
Kim Kulling
167d811ff7
Doc: Add missing doc to GeometryUtils.
2023-05-04 00:04:56 +02:00
Kim Kulling
d58201a579
Refactoring: Reuse code from GeometryUtils
2023-05-04 00:00:52 +02:00
Jackie9527
fbf8799cb5
Fix warning related to unused-function.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-05-03 23:02:38 +08:00
Samuel Kogler
55cb19f924
Fix PBRT exporter coordinate system
...
Was just mirroring the x axis. This uses aiProcess_ConvertToLeftHanded and
rotates the root node to match PBRT.
The problem is apparent when using an environment map texture.
2023-05-03 16:52:33 +02:00
Samuel Kogler
f32c21e6b3
Fix PBRT exporter FoV aspect ratio calculation
2023-05-03 16:46:54 +02:00
Kim Kulling
b8877798ed
Merge pull request #5078 from showintime/patch-1
...
fix unreachable code
2023-05-03 11:35:18 +02:00
Kim Kulling
c50b87fa6c
Merge branch 'master' into patch-1
2023-05-03 11:19:28 +02:00
Kim Kulling
92aa22e902
Merge pull request #5075 from Jackie9527/msvc-clang-build-fix
...
Fix build warnings.
2023-05-03 11:13:38 +02:00
ParkBook
a923d1f89b
fix unreachable code
...
fix unreachable code
2023-05-01 00:38:16 +08:00
Jackie9527
92d426de2b
Remove unused -Wno-missing-noreturn.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-29 01:05:25 +08:00
Jackie9527
51494e1b4f
Remove unused -Wno-deprecated-copy-with-user-provided-dtor.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-29 00:55:13 +08:00
Jackie9527
cdefc9f7aa
Remove unused -Wno-deprecated-copy-with-dtor.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-29 00:43:40 +08:00
Jackie9527
cabf3a5d17
Fix warning related to unreachable-code-return.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-29 00:30:21 +08:00
Jackie9527
a8e7c23605
Fix warning related to unreachable-code.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-29 00:29:33 +08:00
Kim Kulling
5c5b0f97b7
Merge pull request #5073 from sutajo/fix_double_precision_build
...
Add missing cast
2023-04-28 14:33:01 +02:00
Suhajda Tamás
71043ec164
Add missing cast
2023-04-28 11:44:29 +02:00
Kim Kulling
cea40f293a
Merge pull request #5070 from Jackie9527/msvc-clang-missing-variable-declarations
...
Fix warning related to missing-variable-declarations.
2023-04-26 11:29:49 +02:00
Kim Kulling
230bee2e34
Merge branch 'master' into msvc-clang-missing-variable-declarations
2023-04-26 11:15:32 +02:00
Kim Kulling
6442158676
Merge pull request #5063 from danoli3/master
...
Build Zlib if missing for other platforms
2023-04-26 11:14:34 +02:00
Kim Kulling
cf89990569
Merge branch 'master' into master
2023-04-26 10:58:00 +02:00
Kim Kulling
9c2594a1dc
Merge pull request #5051 from Jackie9527/msvc-clang-deprecated-copy-with-dtor
...
Remove -Wno-deprecated-copy-with-dtor.
2023-04-26 10:57:28 +02:00
Kim Kulling
07aae9eaee
Merge branch 'master' into msvc-clang-deprecated-copy-with-dtor
2023-04-26 10:42:51 +02:00
Kim Kulling
4dc341955a
Merge pull request #5049 from Jackie9527/msvc-clang-inconsistent-missing-destructor-override
...
Fix warning related to inconsistent-missing-destructor-override.
2023-04-26 10:41:17 +02:00
Kim Kulling
71366fff8e
Merge branch 'master' into msvc-clang-inconsistent-missing-destructor-override
2023-04-26 09:31:55 +02:00
Kim Kulling
ee6e05bb86
Merge pull request #5048 from Jackie9527/deprecated-copy-with-user-provided-dtor
...
Remove unused -Wno-deprecated-copy-with-user-provided-dtor.
2023-04-26 09:31:00 +02:00
Kim Kulling
965ebaf78b
Merge branch 'master' into deprecated-copy-with-user-provided-dtor
2023-04-26 08:22:51 +02:00
Kim Kulling
97addc7cdc
Merge pull request #5047 from Jackie9527/msvc-clang-missing-noreturn
...
Fix warning related to missing-noreturn.
2023-04-26 00:13:06 +02:00
Kim Kulling
1ecb8e9196
Merge branch 'master' into msvc-clang-missing-noreturn
2023-04-25 23:56:39 +02:00
Dan Rosser
cd9de860ce
Build Zlib if missing for other platforms
2023-04-25 17:18:20 +10:00
Kim Kulling
87a288ebd3
Merge pull request #5046 from Jackie9527/msvc-clang-unreachable-code-break
...
Fix warning related to unreachable-code-break.
2023-04-20 17:13:44 +02:00
Jackie9527
ff17f1fe3d
Remove -Wno-missing-variable-declarations.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 23:29:03 +08:00
Jackie9527
46677b835c
Fix warning related to missing-variable-declarations, add static to global variable.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 23:28:36 +08:00
Jackie9527
1244e58274
Fix warning related to missing-variable-declarations, add static to global variable.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 23:28:08 +08:00
Jackie9527
5738b3d172
Fix warning related to missing-variable-declarations, add static to global variable.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 23:27:23 +08:00
Jackie9527
739cf15a1e
Fix warning related to missing-variable-declarations, remove unused global variables.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 23:26:03 +08:00
Jackie9527
c0947b704e
Fix warning related to missing-variable-declarations, remove unused global variables.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 23:24:40 +08:00
Jackie9527
1b826afeda
Remove -Wno-unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:26:44 +08:00
Jackie9527
4d962057e5
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:35 +08:00
Jackie9527
12bc34a45c
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:35 +08:00
Jackie9527
0a05a1f17f
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:34 +08:00
Jackie9527
cec41f6dd5
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:34 +08:00
Jackie9527
7620a69e3e
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:34 +08:00
Jackie9527
9e80dfc42d
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:34 +08:00
Jackie9527
01488046e6
Fix warning related to unreachable-code-break.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-19 22:18:34 +08:00
Kim Kulling
b1afa41047
Merge pull request #5045 from Jackie9527/msvc-clang-unreachable-code-return
...
Fix warning related to unreachable-code-return.
2023-04-18 19:57:16 +02:00
Kim Kulling
1517983ab5
Merge branch 'master' into msvc-clang-unreachable-code-return
2023-04-17 23:38:29 +02:00
Kim Kulling
45946ec01b
Merge pull request #5068 from assimp/kimkulling/fix_overflow_in_inversion_issue-3424
...
Fix: Avoid integer overflow in inversion operation
2023-04-17 23:37:54 +02:00
Kim Kulling
fd59a2209b
Update fast_atof.h
2023-04-17 22:07:49 +02:00
Kim Kulling
9e056218cf
Merge branch 'master' into msvc-clang-unreachable-code-return
2023-04-17 22:04:07 +02:00
Kim Kulling
d51f033e20
Fix: Avoid integer overflow in inversion op
...
- closes https://github.com/assimp/assimp/issues/3424
2023-04-17 21:30:47 +02:00
Kim Kulling
074af85734
Merge pull request #5043 from tellypresence/create-local-textures
...
Replace relative paths with local assets/textures
2023-04-17 21:25:15 +02:00
Kim Kulling
133f730c11
Merge branch 'master' into create-local-textures
2023-04-17 20:47:54 +02:00
Kim Kulling
0023f9b09a
Merge pull request #5067 from assimp/kimkulling/fix_memory_leak_in_fbx_scope_issue-3421
...
Fix: Fix leak in Scope class, FBX
2023-04-17 20:40:46 +02:00
Kim Kulling
ca937788ee
Fix: Fix leak in Scope class, FBX
...
- closes https://github.com/assimp/assimp/issues/3421
2023-04-17 20:08:58 +02:00
Kim Kulling
333f7d5ee0
Merge pull request #5066 from assimp/kimkulling/fix_possible_invalid_dereferencing_of-issue-4918
...
Fix possible dereferencing of invalid pointer.
2023-04-17 15:59:07 +02:00
Kim Kulling
aee4df9be8
Fix possible dereferencing of invalid pointer.
...
- closes https://github.com/assimp/assimp/issues/4918
2023-04-17 15:40:29 +02:00
Kim Kulling
5d841ec9a5
Refactoring: Cleanup post-processing steps.
2023-04-16 18:20:14 +02:00
Kim Kulling
13c9db2310
Merge pull request #5064 from assimp/kimkulling/remove_empty_file_issue-4957
...
Delete License.txt
2023-04-15 13:03:02 +02:00
Kim Kulling
8bc64ec147
Delete License.txt
...
- closes https://github.com/assimp/assimp/issues/4957
2023-04-15 11:53:19 +02:00
Kim Kulling
8cf74c7663
Merge branch 'master' into create-local-textures
2023-04-15 11:52:00 +02:00
Kim Kulling
7e8aabcbb4
Merge pull request #5057 from sutajo/master
...
ConvertToLHProcess now inverts viewing direction
2023-04-15 11:51:15 +02:00
Adam Beili
e193220ad8
Merge branch 'master' into refactor/KHR_material_specular
2023-04-06 02:42:18 +02:00
Suhajda Tamás
3dd08cdd60
Added note
2023-04-05 13:01:38 +02:00
Suhajda Tamás
74509ef8bd
Revert "FBXConverter : import FbxCamera correctly"
...
This reverts commit cdfdd75a66
.
2023-04-05 12:19:39 +02:00
Jackie9527
d4c21ba9a8
Fix warning related to error=return-type.
...
/home/runner/work/assimp/assimp/code/AssetLib/Ogre/OgreXmlSerializer.cpp: In member function ‘T Assimp::Ogre::OgreXmlSerializer::ReadAttribute(Assimp::XmlNode&, const char*) const [with T = bool]’:
Error: /home/runner/work/assimp/assimp/code/AssetLib/Ogre/OgreXmlSerializer.cpp:131:1: error: control reaches end of non-void function [-Werror=return-type]
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-05 07:39:17 +08:00
Jackie9527
116ceeca31
Remove -Wno-unreachable-code-return.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-05 07:39:12 +08:00
Jackie9527
a7cb3b4dbb
Fix warning related to unreachable-code-return, remove redundant return.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-05 07:37:49 +08:00
Jackie9527
55c6eaee0c
Fix warning related to unreachable-code-return, remove redundant return.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-05 07:37:48 +08:00
Jackie9527
502bceb6e8
Fix warning related to unreachable-code-return, remove redundant return.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-05 07:37:48 +08:00
Jackie9527
a87585668d
Fix warning related to unreachable-code-return, disable warning.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-05 07:37:48 +08:00
Steve M
5b2f78ac20
Merge branch 'master' into create-local-textures
2023-04-04 16:01:20 -07:00
Suhajda Tamás
23a3e8cf2d
ConvertToLHProcess noew inverts viewing direction
2023-04-04 19:39:32 +02:00
Kim Kulling
679eb972e6
Merge pull request #5056 from sutajo/fix_pretransform_vertices_with_cameras
...
Fix pretransform vertices with cameras
2023-04-04 17:35:50 +02:00
Kim Kulling
89ccc89298
Merge branch 'master' into fix_pretransform_vertices_with_cameras
2023-04-04 17:21:05 +02:00
Kim Kulling
8705940801
Merge pull request #5042 from Jackie9527/msvc-clang-unreachable-code
...
Fix warning related to unreachable-code.
2023-04-04 17:18:55 +02:00
Kim Kulling
1733d9f795
Merge branch 'master' into msvc-clang-unreachable-code
2023-04-04 17:02:22 +02:00
Kim Kulling
17d8e991cc
Merge pull request #5041 from Jackie9527/msvc-clang-format-non-iso
...
Fix warning related to format-non-iso.
2023-04-04 17:01:27 +02:00
Kim Kulling
17bdd5f9b5
Merge branch 'master' into msvc-clang-format-non-iso
2023-04-04 15:59:27 +02:00
Kim Kulling
414091ab11
Merge pull request #5039 from liedtkeInTUM/fix_getenv_uwp
...
std::getenv is not supported using uwp
2023-04-04 13:49:15 +02:00
Kim Kulling
e6f26fc52e
Remove dead code.
2023-04-04 12:54:26 +02:00
Kim Kulling
ccbcf15a21
Merge branch 'master' into fix_getenv_uwp
2023-04-04 12:53:29 +02:00
Kim Kulling
4e34e77226
Merge pull request #5025 from inhosens/master
...
FBX import: Fix camera rotation
2023-04-04 12:51:08 +02:00
Steve M
f68f1f6bf2
Merge branch 'master' into create-local-textures
2023-04-03 16:50:43 -07:00
Suhajda Tamás
9d76493ad8
Fix mLookAt with pretransformed vertices
...
mLookAt is a position vector inside the nodes reference frame, not a direction vector, so translation should be applied to it.
2023-04-04 00:06:09 +02:00
Kim Kulling
a259277498
Merge branch 'master' into master
2023-04-03 23:54:28 +02:00
Kim Kulling
f2efcd77bc
Merge pull request #5003 from FlorianBorn71/MemoryOptimizationForGLTFWithSharedAttr
...
GLTF Importer: Build a list of the actual vertices so it works well with shared attribute lists
2023-04-03 23:39:21 +02:00
Suhajda Tamás
9915e875bf
glTF2: Fix incorrect camera position
2023-04-03 23:35:04 +02:00
Kim Kulling
8aa959fa19
Merge branch 'master' into MemoryOptimizationForGLTFWithSharedAttr
2023-04-03 20:48:51 +02:00
Kim Kulling
ca79916048
Merge pull request #5040 from Jackie9527/msvc-clang-nested-anon-types
...
Fix warning related to nested-anon-types.
2023-04-03 20:16:14 +02:00
Kim Kulling
d6885d4025
Merge branch 'master' into msvc-clang-nested-anon-types
2023-04-03 19:59:59 +02:00
Kim Kulling
19ff57a6c3
Merge branch 'master' into MemoryOptimizationForGLTFWithSharedAttr
2023-04-03 11:28:10 +02:00
Kim Kulling
df21b6799f
Merge pull request #5053 from aniongithub/fix-loadfbxasserterror
...
Fix Issue #4486 using the fix described by @jianliang79
2023-04-03 09:14:31 +02:00
Ani
ae121bfbb0
Merge branch 'master' into fix-loadfbxasserterror
2023-04-02 22:13:33 -07:00
Steve M
70aceb203a
Merge branch 'master' into create-local-textures
2023-04-02 19:31:57 -07:00
liedtkeInTUM
97e31a895e
Merge branch 'master' into fix_getenv_uwp
2023-04-01 23:38:48 +02:00
Kim Kulling
9fba0ee31b
Merge branch 'master' into msvc-clang-deprecated-copy-with-dtor
2023-04-01 20:46:34 +02:00
Kim Kulling
acdb6684ba
Merge pull request #5052 from Jackie9527/msvc-clang-shadow-field-in-constructor
...
Remove unused -Wno-shadow-field-in-constructor.
2023-04-01 20:45:43 +02:00
Steve M
9c5ab67b64
Replace provisional image with original historical image
2023-04-01 09:20:36 -07:00
Jackie9527
dacaebc078
Remove unused -Wno-shadow-field-in-constructor.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 23:49:22 +08:00
Jackie9527
bddb4559a1
Remove -Wno-deprecated-copy-with-dtor.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 22:46:01 +08:00
Jackie9527
7df4efea44
Fix warning related to inconsistent-missing-destructor-override.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 21:49:38 +08:00
Jackie9527
e36812a449
Remove unused -Wno-deprecated-copy-with-user-provided-dtor.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 19:07:13 +08:00
Jackie9527
87c309566f
Fix warning related to missing-noreturn.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 18:46:12 +08:00
Steve M
6d668382ec
Fix model broken in commit a8a1ca9
...
Restored broken binary from 4bbc033
(5 Mar 2009)
2023-03-31 23:20:24 -07:00
Steve M
e1678f11e6
Replace relative paths with local assets/textures
...
Relative paths can easily contain typos, lower/upper case errors, and in general are brittle
2023-03-31 22:17:50 -07:00
Jackie9527
20b2f857c5
Remove -Wno-unreachable-code
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 13:07:30 +08:00
Jackie9527
4d2512dcae
Fix warning related to unreachable-code.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 13:03:02 +08:00
Jackie9527
04066ece8e
Fix warning related to unreachable-code.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 13:02:04 +08:00
Jackie9527
1dcb5da1cd
Fix warning related to unreachable-code.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 13:01:22 +08:00
Jackie9527
94067994cc
Fix warning related to format-non-iso.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 12:29:42 +08:00
Jackie9527
6b54761310
Fix warning related to nested-anon-types.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 10:30:10 +08:00
Sven Liedtke
5cf9d3abf7
std::getenv is not supported using uwp
2023-04-01 01:02:21 +02:00
Kim Kulling
7c64b6c599
Merge pull request #4993 from Jackie9527/clang-cl-15.0.1-support
...
Add build options to fix issues with clang 15.
2023-03-31 18:28:12 +02:00
Kim Kulling
203e1468df
Merge branch 'master' into clang-cl-15.0.1-support
2023-03-30 22:03:30 +02:00
Kim Kulling
9c17c8c39a
Merge pull request #5037 from liedtkeInTUM/fix_crypt_link_issue_uwp
...
Fix link issue in UWP builds without functional replacement
2023-03-30 21:59:22 +02:00
liedtkeInTUM
d032c3162a
Merge branch 'master' into fix_crypt_link_issue_uwp
2023-03-30 09:37:28 +02:00
Sven Liedtke
6d65e9c393
Fix link issue in UWP builds without functional replacement
2023-03-30 09:21:30 +02:00
Kim Kulling
85b470a3ee
Merge branch 'master' into clang-cl-15.0.1-support
2023-03-29 21:20:25 +02:00
Kim Kulling
6fa2f86d6b
Merge pull request #5032 from assimp/kimkulling-patch-1
...
Update Readme.md
2023-03-29 21:19:42 +02:00
Kim Kulling
4daf8c36bc
Merge branch 'master' into kimkulling-patch-1
2023-03-29 20:41:54 +02:00
aniongithub
4438b3ecc9
Fix Issue #4486 using the fix described by @jianliang79
2023-03-29 18:36:18 +00:00
Kim Kulling
5d6ca9808d
Merge pull request #5035 from assimp/kimkulling/update-readme
...
Update Readme.md
2023-03-28 17:04:57 +02:00
Kim Kulling
55fa3d4251
Update Readme.md
2023-03-28 15:19:33 +02:00
Kim Kulling
3801d7e78f
Merge pull request #5034 from assimp/kimkulling/update-readme
...
Update Readme.md
2023-03-28 14:57:03 +02:00
Kim Kulling
f4e9930e50
Update Readme.md
2023-03-28 13:45:09 +02:00
Adam Beili
8ac0af5c58
.
2023-03-26 17:13:16 +02:00
Adam Beili
b6ecba9114
fix
2023-03-26 17:03:46 +02:00
Adam Beili
83053f3d56
Made usePbrSpecGloss a exportproperty, fixed mat_specular to spec
2023-03-26 16:55:38 +02:00
Adam Beili
fa00571049
fixed compilation bug
2023-03-26 14:52:44 +02:00
Kim Kulling
d8201bdb6f
Update Readme.md
2023-03-25 16:00:29 +01:00
Adam Beili
c9177b7811
Merge branch 'master' into refactor/KHR_material_specular
2023-03-24 21:47:19 +01:00
Turo Lamminen
6832aa227a
Add more DXF files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
bed2cf1a23
Add more BVH files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
e8d4a11af5
Add more 3DS files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
0e657b575b
Add more 3D files to unit tests
2023-03-24 11:32:06 +02:00
Kim Kulling
e02a1ff577
Merge pull request #5017 from tellypresence/provide-utf8-IRR-files
...
Add UTF-8 versions of UTF-16LE IRR/IRRMesh files
2023-03-24 00:10:35 +01:00
Kim Kulling
e6c63cbee2
Merge branch 'master' into provide-utf8-IRR-files
2023-03-23 22:53:34 +01:00
Kim Kulling
03aee802b2
Merge pull request #5030 from assimp/kimkulling/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2023-03-23 17:59:10 +01:00
inhosens
7095c4f52f
Merge branch 'master' into master
2023-03-23 07:30:49 +01:00
Steve M
fc1a88deb4
Merge branch 'master' into provide-utf8-IRR-files
2023-03-22 14:49:08 -07:00
Kim Kulling
f43281e89b
Merge branch 'master' into kimkulling/add-code-of-conduct-1
2023-03-22 21:48:34 +01:00
Kim Kulling
7437f20d0a
Merge pull request #5026 from turol/amf-tests
...
Add more AMF unit tests
2023-03-22 20:06:22 +01:00
Kim Kulling
c32f4b71b7
Create CODE_OF_CONDUCT.md
2023-03-22 20:00:09 +01:00
Turo Lamminen
5ddd18d1c7
Add more AMF unit tests
2023-03-22 12:06:30 +02:00
inhosens
7cc0c06fdb
Merge branch 'assimp:master' into master
2023-03-22 08:30:52 +01:00
Steve M
9552769f82
Merge branch 'master' into provide-utf8-IRR-files
2023-03-21 13:35:01 -07:00
Kim Kulling
c546a4a73a
Merge pull request #4985 from MakerOfWyverns/master
...
Two bug fixes in Python port.
2023-03-21 20:43:40 +01:00
Kim Kulling
4e645a0412
Merge branch 'master' into master
2023-03-21 19:42:43 +01:00
Kim Kulling
cf3c9d515a
Merge pull request #5019 from tellypresence/revert-possibly-corrupted-ply-file
...
Revert 3D model corrupted by a8a1ca9
2023-03-21 19:40:42 +01:00
Kim Kulling
d8e2fc30a0
Merge branch 'master' into revert-possibly-corrupted-ply-file
2023-03-21 17:36:10 +01:00
Steve M
d902c2293d
Merge branch 'master' into provide-utf8-IRR-files
2023-03-21 09:27:44 -07:00
Kim Kulling
6360c90ac0
Merge pull request #4981 from Jackie9527/1-1922
...
bugfix fails to check if point in triangle.
2023-03-21 13:19:31 +01:00
Kim Kulling
f81bb90f89
Merge branch 'master' into 1-1922
2023-03-21 12:58:11 +01:00
Turo Lamminen
65440f17a1
Add more ASE model unit tests
2023-03-21 12:09:27 +02:00
Turo Lamminen
ea3cc37890
Check node parents in ValidateDataStructure
2023-03-21 11:36:49 +02:00
Turo Lamminen
48d89622ee
Use ASSERT_NE to check that scene has loaded
...
EXPECT_NE tries to continue so it ended up dereferencing
null pointers and crashed.
2023-03-21 11:36:49 +02:00
Inho Lee
cdfdd75a66
FBXConverter : import FbxCamera correctly
...
FbxCamera's default value is correct but its transformed
values are described in each NodeProperties.
2023-03-21 10:35:24 +01:00
Kim Kulling
6da160f14d
Merge pull request #4980 from Jackie9527/1-3193
...
bugfix remove duplicated data.
2023-03-20 23:58:16 +01:00
Kim Kulling
e7e4e3100f
Merge branch 'master' into 1-3193
2023-03-20 14:01:35 +01:00
Turo Lamminen
3a69e353f3
Make Blender MVert no field optional
2023-03-20 12:00:20 +02:00
Steve M
92409a821d
Provide dwarf textures for COB model
...
Duped from B3D and X dwarf folders
2023-03-18 22:44:20 -07:00
Steve M
e2063b3ba6
Revert to commit 13 May 2014 ( 08bacc7
)
...
Changes were introduced to the binary portion of this file at some point
2023-03-17 22:42:17 -07:00
Steve M
95616cf5b5
Add UTF-8 versions of UTF-16LE files
...
Also duplicate missing textures for local model access
2023-03-17 22:13:40 -07:00
Kim Kulling
e394bda707
Merge branch 'master' into 1-1922
2023-03-17 09:37:37 +01:00
Kim Kulling
5a4f7c0a37
Merge pull request #5007 from malortie/fix_hl1_mdl_importer_bone_hierarchy
...
Fix Half-Life 1 MDL importer bone hierarchy.
2023-03-16 14:20:49 +01:00
Kim Kulling
435181f5f5
Merge branch 'master' into fix_hl1_mdl_importer_bone_hierarchy
2023-03-15 14:38:09 +01:00
Kim Kulling
88f3b950c7
Merge pull request #5011 from assimp/kimkulling/remove-deprecated-badge
...
Remove alarm badge
2023-03-15 14:35:50 +01:00
Kim Kulling
16f9ba4935
Remove alarm badge
2023-03-15 13:26:24 +01:00
Kim Kulling
b5f68d73ab
Merge branch 'master' into fix_hl1_mdl_importer_bone_hierarchy
2023-03-15 11:36:45 +01:00
Kim Kulling
da1ec4de91
Merge pull request #5009 from assimp/kimkulling/refactoring_geoutils
...
Kimkulling/refactoring geoutils
2023-03-15 00:03:29 +01:00
Kim Kulling
7e5a178637
Update: Add missing geo doc.
2023-03-14 23:49:41 +01:00
Kim Kulling
c537bd78d0
Refactoring: Code cleanup post-processing.
2023-03-14 23:39:36 +01:00
Kim Kulling
59d9711928
Refactoring: Code cleanup post-processing.
2023-03-14 23:37:10 +01:00
Kim Kulling
45c1da26b3
Refactoring: Code cleanup post-processing.
2023-03-14 23:34:31 +01:00
Kim Kulling
31ae9cde1c
Refactoring: Code cleanup post-processing.
2023-03-14 23:32:03 +01:00
Kim Kulling
1147f0c8bd
Refactoring: Code cleanup post-processing.
2023-03-14 21:04:43 +01:00
Kim Kulling
2acfc125c3
Refactoring: Make GeoUtils reusable
2023-03-14 20:03:14 +01:00
Marc-Antoine Lortie
eb3b48e523
Invert logic in build_bone_children_hierarchy.
2023-03-14 09:21:45 -04:00
Marc-Antoine Lortie
25ab05eb49
Replace typedef by using.
2023-03-14 09:17:39 -04:00
Marc-Antoine Lortie
4c015077b8
Add missing member initializer.
2023-03-13 19:07:14 -04:00
Marc-Antoine Lortie
054dacd068
Improved comments.
2023-03-13 19:07:14 -04:00
Marc-Antoine Lortie
7bc4c12956
Simplified HL1 MDL nodes tests.
2023-03-13 19:07:13 -04:00
Marc-Antoine Lortie
d500f60490
Adjust emptyBonesNames test.
2023-03-13 19:06:18 -04:00
Marc-Antoine Lortie
3c2a425869
Added a test to validate HL1 MDL bone hierarchy.
2023-03-13 19:06:18 -04:00
Marc-Antoine Lortie
4b4cb55f22
Fix HL1MDLLoader flattened bone hierarchy.
2023-03-13 19:06:18 -04:00
Kim Kulling
fdcc45d010
Merge pull request #4979 from Jackie9527/1-3458
...
bugfix the three vertices are collinear
2023-03-12 19:17:22 +01:00
Kim Kulling
3840c8bd8d
Merge branch 'master' into 1-3458
2023-03-12 17:06:09 +01:00
Florian Born
8176c6a0e4
Adjusting the unit tests to pass new gltf
2023-03-10 18:36:43 +01:00
Kim Kulling
6e1959f061
Merge pull request #4991 from Jackie9527/1-4489
...
upgrade stb_image to v2.28.
2023-03-10 16:20:36 +01:00
Kim Kulling
c9539f67e3
Merge branch 'master' into 1-4489
2023-03-10 16:10:51 +01:00
Florian Born
60cefdd549
Jan's fedback
2023-03-10 12:10:38 +01:00
Kim Kulling
e308474163
Merge pull request #5004 from assimp/kimkulling/capi-cleanup
...
C-API: Code cleanup
2023-03-10 11:42:33 +01:00
Kim Kulling
ffd222334f
Fix: Remove buggy namespace declaration
2023-03-10 09:00:37 +01:00
Kim Kulling
2f7882cb8d
Update: Small code cleanup
2023-03-10 08:49:58 +01:00
Kim Kulling
63dae0a7f2
Fix: Add security asserts.
2023-03-10 08:48:11 +01:00
Kim Kulling
c82a6d05b0
Code cleanup
2023-03-10 08:43:12 +01:00
Florian Born
dfd70b5c10
GLTF Importer: Build a list of the actual vertices so it works well with shared attribute lists
2023-03-09 19:06:58 +01:00
Kim Kulling
0ed957f70a
Merge pull request #4978 from Jackie9527/draco_1.5.6
...
upgrade draco to 1.5.6
2023-03-09 14:09:30 +01:00
Kim Kulling
348e672567
Merge branch 'master' into draco_1.5.6
2023-03-09 13:45:44 +01:00
Turo Lamminen
f3767a4eb2
Use unordered_map for subdivision process edge map
2023-03-09 14:33:43 +02:00
Turo Lamminen
b534584198
Improve unit tests which load subdivision models
2023-03-09 14:33:43 +02:00
Kim Kulling
980e156251
Merge branch 'master' into draco_1.5.6
2023-03-08 13:52:38 +01:00
Kim Kulling
366243f7ef
Merge pull request #4999 from FlorianBorn71/UseNewMetaDataTypesInFBXConverter
...
After Kim's addition to meta data types, use it in the FBX converter
2023-03-08 11:54:29 +01:00
Kim Kulling
05249353d4
Merge branch 'master' into UseNewMetaDataTypesInFBXConverter
2023-03-08 10:53:00 +01:00
Kim Kulling
8476a2c832
Merge pull request #4994 from urshanselmann/master
...
remove debug message from MemoryIOStream
2023-03-08 10:17:26 +01:00
Kim Kulling
8c9580cfd3
Merge branch 'master' into UseNewMetaDataTypesInFBXConverter
2023-03-07 21:32:37 +01:00
Urs Hanselmann
8fb83af079
Merge branch 'master' into master
2023-03-07 19:45:45 +01:00
Kim Kulling
3a73ce37e4
Merge pull request #4986 from assimp/kimkulling/fix_sample_utf8_encoding
...
Fix: Use C++17 compliant utf8 encoding.
2023-03-07 19:27:06 +01:00
Kim Kulling
4f48348af8
Fix: Move c++ include to c++ section
2023-03-07 18:55:18 +01:00
Florian Born
069b3ecdf8
After Kim's addition to meta data types, use it in the FBX converter
2023-03-07 17:44:48 +01:00
Kim Kulling
44c2785663
Make debug message more professional.
2023-03-07 17:01:08 +01:00
Kim Kulling
5082c940d0
Fix: Replace back_inserter usage.
2023-03-06 21:13:40 +01:00
Kim Kulling
8171e041fa
Update utf82utf16.
2023-03-06 20:56:09 +01:00
Kim Kulling
c089f11768
Update utf82utf16.
2023-03-06 19:56:11 +01:00
Kim Kulling
c305b50f13
Merge branch 'master' into draco_1.5.6
2023-03-05 18:44:26 +01:00
Urs Hanselmann
dcb89cf107
fix scan_printf script error code handling
2023-03-04 15:00:43 +01:00
Urs Hanselmann
2efd48dee2
disable another debug print message
2023-03-04 14:53:48 +01:00
Urs Hanselmann
4fa433c8ff
improve scan_printf ci script error message
2023-03-04 14:52:49 +01:00
Urs Hanselmann
1520aff680
fix scan_printf script in linux bash
2023-03-04 14:41:10 +01:00
Urs Hanselmann
74c406dd26
add ci script to scan for unexpected printf statements
2023-03-04 14:27:58 +01:00
Jackie9527
424f53b4d6
bugfix remove duplicated data.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-03-04 16:25:56 +08:00
Urs Hanselmann
011382424b
remove debug message from MemoryIOStream (used by public Importer::ReadFileFromMemory method)
2023-03-03 19:31:50 +01:00
Kim Kulling
7916f87404
Merge branch 'master' into kimkulling/fix_sample_utf8_encoding
2023-03-02 23:35:54 +01:00
Jackie9527
a0c29202be
Add build options to fix issues with clang 15.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-03-02 21:12:35 +08:00
Jackie9527
02a4276924
upgrade stb_image to v2.28.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-03-02 09:11:54 +08:00
Kim Kulling
6ed433d011
Merge pull request #4989 from Jackie9527/SimpleTexturedDirectx11-build-error-with-VS2022
...
Fix build error when building SimpleTexturedDirectx11 with VS2022.
2023-03-01 22:21:33 +01:00
Kim Kulling
b82c193dfd
Merge branch 'kimkulling/fix_sample_utf8_encoding' of https://github.com/assimp/assimp into kimkulling/fix_sample_utf8_encoding
2023-03-01 21:41:28 +01:00
Kim Kulling
1092f0d94e
Fix:Use correct encoding
2023-03-01 21:40:45 +01:00
Jackie9527
09dd0d0c2e
Fix build error when building SimpleTexturedDirectx11 with VS2022.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-03-01 15:08:02 +08:00
Jackie9527
f7f54036f2
bugfix the three vertices are collinear when converting a polygon to a triangle.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-03-01 14:26:04 +08:00
Jackie9527
39efe4c832
upgrade draco to 1.5.6
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-03-01 09:43:40 +08:00
Kim Kulling
534ee288c5
Update UTFConverter.h
2023-02-28 23:28:24 +01:00
Kim Kulling
60da5e7e96
Update UTFConverter.cpp
2023-02-28 23:27:46 +01:00
Kim Kulling
7f2760fe2f
Merge branch 'master' into kimkulling/fix_sample_utf8_encoding
2023-02-28 21:54:35 +01:00
Kim Kulling
a1aace74e5
Fix: Use C++17 compliant utf8 encoding.
2023-02-28 21:53:18 +01:00
FeeshWyvern
f9fcf33aaa
Bug fix: We should not be accessing `mPrivate` according to structs.Scene and fixes a crash when `mPrivate` points to invalid data.
2023-02-27 20:06:05 -08:00
FeeshWyvern
94d9773548
Bug fix: Correctly set the name of the attributes. PR #3940 did not seem to update in Master?
2023-02-27 20:02:34 -08:00
Kim Kulling
90333340d6
Merge pull request #4977 from turol/lwo-fixes
...
LWO fixes
2023-02-27 16:10:27 +01:00
Jackie9527
437958ef91
bugfix fails to check if point in triangle.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-02-25 19:40:24 +08:00
Turo Lamminen
e8f0eb930d
Fix loading binary LWO files
2023-02-24 14:40:27 +02:00
Turo Lamminen
3bdc43a216
Add debug logging to LWO node graph generation
2023-02-24 14:40:27 +02:00
Turo Lamminen
657c1d8ad0
Use unique_ptr to store pivot nodes until moved to mapPivot
2023-02-24 14:40:23 +02:00
Turo Lamminen
3bdfecb0ed
Destroy mapPivot nodes as we go
2023-02-24 13:26:34 +02:00
Turo Lamminen
be28f0949b
Whitespace
2023-02-24 13:20:40 +02:00
Turo Lamminen
53c6cc0966
Add a scope so mapPivot is destroyed when no longer used
2023-02-24 13:19:38 +02:00
Turo Lamminen
92f7c50c91
Remove dead code
2023-02-24 13:18:04 +02:00
Turo Lamminen
28d4e394c0
Use std::unique_ptr a bit
2023-02-24 13:17:32 +02:00
Turo Lamminen
bb5a6abae0
Add more LWO files to unit tests
2023-02-24 12:43:06 +02:00
Kim Kulling
46ae8534f7
Merge pull request #4963 from avaneyev/fix-fbx-document-duplicate-id-leak
...
Fix a leak in FBXDocument when duplicate object IDs are found
2023-02-23 10:53:40 +01:00
Kim Kulling
eb73464055
Merge branch 'master' into fix-fbx-document-duplicate-id-leak
2023-02-23 10:39:52 +01:00
Kim Kulling
a14696b9ec
Merge pull request #4940 from ockeymm123/master
...
fix regression in join vertices post process.
2023-02-23 10:39:09 +01:00
Kim Kulling
2c3d52a5a1
Merge branch 'master' into master
2023-02-23 10:15:07 +01:00
Kim Kulling
408c41d687
Merge pull request #4971 from mjunix/patch-2
...
Fix index out of bounds
2023-02-22 21:47:01 +01:00
Kim Kulling
c8d50dc83f
Merge branch 'master' into patch-2
2023-02-22 21:33:20 +01:00
Kim Kulling
27225fadc1
Merge pull request #4970 from mjunix/patch-1
...
Fix index out of bounds
2023-02-22 21:32:56 +01:00
Kim Kulling
4d6b7ff8b4
Merge branch 'master' into patch-1
2023-02-22 20:35:47 +01:00
Kim Kulling
277e19106a
Merge pull request #4974 from assimp/kimkulling/fix_minor_typo_in_doc_issue-4973
...
Fix: Fix typo in doc
2023-02-22 09:38:16 +01:00
Kim Kulling
009cd6c64a
Merge branch 'master' into patch-2
2023-02-21 21:35:56 +01:00
Kim Kulling
6aac7a2458
Fix: Fix typo in doc
...
- closes https://github.com/assimp/assimp/issues/4973
2023-02-21 21:34:49 +01:00
Turo Lamminen
2d448616d0
Move string definitions into conditional block to fix unused variable warnings
2023-02-21 12:49:39 +02:00
Kim Kulling
7de21694e9
Merge pull request #4962 from assimp/kimkulling/skeleton_update_doc
...
Update mesh.h
2023-02-21 10:04:34 +01:00
Kim Kulling
65b0553b8d
Merge branch 'master' into kimkulling/skeleton_update_doc
2023-02-21 09:50:27 +01:00
Johan Mattsson
fa4273ee1f
Fix index out of bounds
2023-02-20 19:56:57 +01:00
Johan Mattsson
f8132bf17c
Fix index out of bounds
2023-02-20 19:50:06 +01:00
Kim Kulling
ad2f0682e7
Merge pull request #4965 from aaronmjacobs/implicit-conversion-fixes
...
Fix implicit conversion errors on macOS
2023-02-19 20:18:45 +01:00
Kim Kulling
1f0bcdf54c
Merge branch 'master' into implicit-conversion-fixes
2023-02-19 16:00:54 +01:00
Kim Kulling
c8a0119e45
Merge pull request #4967 from assimp/kimkulling/add_missing_metadatatypes_issue-4959
...
Add missing pod types.
2023-02-19 16:00:40 +01:00
Kim Kulling
3ad67771fe
Add missing pod types.
2023-02-18 17:09:14 +01:00
Aaron Jacobs
53e5f19b14
Use C++ style casts
2023-02-17 11:20:00 -08:00
Aaron Jacobs
e4386d3013
Fix implicit conversion errors on macOS
2023-02-16 15:21:43 -08:00
Anton Vaneev
2cd3da4831
Fix a leak in FBXDocument when duplicate object IDs are found
...
When a duplicate ID is encountered, existing LazyObject is overwritten. Previously allocated instance leaks.
This change deletes the previously allocated instance before overwriting the pointer.
2023-02-16 11:21:29 +01:00
Kim Kulling
3585dd577d
Fix: Add default parameter to constructor/destructor.
2023-02-16 11:19:23 +01:00
Kim Kulling
7877dab43a
Fix: Fix typo
2023-02-16 10:59:36 +01:00
Kim Kulling
bc8a122d88
Review finding: Use constexpr instead of macro
2023-02-16 09:28:35 +01:00
Kim Kulling
4950d02bac
Merge pull request #4960 from shammellee/fix-pyassimp-readme-typo
...
Fix PyAssimp README typo
2023-02-15 21:22:16 +01:00
Kim Kulling
9898138516
Update mesh.h
2023-02-15 21:02:03 +01:00
Shammel Lee
4c723a4ec8
Fix PyAssimp README typo
2023-02-14 20:21:33 -05:00
Kim Kulling
bfa19f6900
Merge pull request #4946 from assimp/kimkulling/skeleton-doc
...
Add skeleton doc
2023-02-14 21:08:03 +01:00
Kim Kulling
779912e84e
Merge branch 'master' into kimkulling/skeleton-doc
2023-02-13 21:29:32 +01:00
Kim Kulling
bb9b583bcf
Merge pull request #4945 from jiannanya/MemoryIOStream-override-mark
...
the member 'Flush()' need to be marked as override for msvc clang compiling
2023-02-13 10:03:51 +01:00
Kim Kulling
156a393b84
Fix a typo
2023-02-10 08:07:09 +01:00
Kim Kulling
bde9a6a3c3
Update mesh.h
2023-02-09 22:36:06 +01:00
Kim Kulling
7b3f70a08b
Add skeleton doc
2023-02-09 21:12:21 +01:00
jiannanya
2390822baf
Fix: the member function 'Flush()' of class 'MemoryIOStream' need to be marked as override for msvc clang compiling
2023-02-09 21:30:48 +08:00
Kim Kulling
4cf1ee98f6
Merge pull request #4943 from assimp/kimkulling/fix_leak_issue-3416
...
Fix: Fix memleak when exiting method by exception
2023-02-08 22:18:01 +01:00
Kim Kulling
b7d08fc8f2
Fix review findings.
2023-02-08 21:48:55 +01:00
Kim Kulling
b170370e5c
Fix: Fix memleak when exiting method by exception
2023-02-08 21:29:54 +01:00
ockeymm123
57fc7144a7
Merge branch 'master' into master
2023-02-08 14:46:27 +08:00
sunjc
fb146b7d39
fix typo, use a macro to avoid magic numbers.
2023-02-08 10:13:48 +08:00
Kim Kulling
dd6bcecf56
Merge pull request #4941 from assimp/kimkulling/cleanup
...
Delete .coveralls.yml
2023-02-07 20:54:41 +01:00
Kim Kulling
0c05682baf
Delete .coveralls.yml
2023-02-07 20:02:06 +01:00
sunjc
647f1e47fa
fix regression in join vertices post process.
2023-02-07 20:05:39 +08:00
Kim Kulling
487c03f547
Merge pull request #4935 from IOBYTE/master
...
ACLoader: add support for reading more than one texture per object
2023-02-04 19:28:21 +01:00
Kim Kulling
839cd35a54
Merge branch 'master' into master
2023-02-04 19:08:39 +01:00
Kim Kulling
e6877cf20f
Merge pull request #4936 from TinyTinni/issue-4871
...
Fixes PLY reader when the header ends with \r\n
2023-02-04 19:08:12 +01:00
Kim Kulling
e9c95d484e
Update IOStreamBuffer.h
2023-02-04 18:36:36 +01:00
Matthias Möller
db72c6ee38
When "getNextBlock" was called after "getNextLine", the pointer could still on the newline.
...
The pointer to a newline could not advance enough, when the line ended with \r\n. The resulting buffer was correct, as the buffer range went from <start> until \r, but that the pointer increased by just 1 could lead to the problem that the next pointer points at \n, which is still part of the newline and therefore, "getNextBlock" got 1 byte too much.
Refs Issue #4871
2023-02-04 15:16:22 +01:00
Robert Reif
88ef9eecc1
ACLoader: add support for reading more than one texture per object
2023-02-03 20:29:56 -05:00
Kim Kulling
8c6b3fe69a
Merge pull request #4934 from turol/terragen_fix
...
Fix Terragen loader
2023-02-03 11:42:15 +01:00
Turo Lamminen
9453342491
Re-enable Terragen loader unit test
2023-02-03 11:45:11 +02:00
Turo Lamminen
8d405d60d9
Fix Terragen loader
...
Fixes e8d2b84017
2023-02-03 11:44:27 +02:00
Kim Kulling
dbd0ae8f22
Merge pull request #4932 from turol/unit-test-fix
...
Unit test warning fixes
2023-02-03 00:15:48 +01:00
Kim Kulling
14b80f1ac4
Merge branch 'master' into unit-test-fix
2023-02-02 22:05:38 +01:00
Kim Kulling
ea7321aae2
Merge pull request #4898 from shaunrd0/zlib-nobuild
...
Don't build zlib if ASSIMP_BUILD_ZLIB=OFF
2023-02-02 20:45:02 +01:00
Turo Lamminen
a2273df48e
Unit test warning fixes
...
GCC was warning about possibly uninitialized variables. Initialize them
and use values which are nonzero and distinct from each other and any
real value passed to any set method. This should prevent any false positives
from zero initialization.
2023-02-02 14:07:16 +02:00
Kim Kulling
213b536282
Merge branch 'master' into zlib-nobuild
2023-02-01 20:24:41 +01:00
Kim Kulling
6999caa683
Merge pull request #4899 from PencilAmazing/PLYcomments#4866
...
Fix issue #4866 by continuing to resetting read loop after hitting a comment
2023-02-01 20:06:59 +01:00
PencilAmazing
feb3e9ff7a
Merge branch 'master' into PLYcomments#4866
2023-02-01 13:05:55 -05:00
Kim Kulling
ce2f947eb1
Merge branch 'master' into zlib-nobuild
2023-01-31 22:00:49 +01:00
Kim Kulling
b55e29b915
Merge pull request #4901 from AdamCichocki/JoinVerticesProcessUsedVerticesMask
...
Optimized usedVertexIndices in JoinVerticesProcess by using bitmask instead of unordered_set
2023-01-31 21:25:46 +01:00
Kim Kulling
5caae1a86d
Merge branch 'master' into JoinVerticesProcessUsedVerticesMask
2023-01-31 21:03:32 +01:00
Kim Kulling
e4c85645c6
Merge pull request #4910 from assimp/kimkulling/ios_remove_deprecated_lib_issue-4906
...
Fix: Remove deprecated dependency.
2023-01-31 21:02:17 +01:00
Kim Kulling
47303c2d28
Fix:Remove deprecated features from iOS build.
2023-01-31 20:41:18 +01:00
Kim Kulling
5c286b8c13
Fix: Remove deprecated dependency.
2023-01-31 20:12:07 +01:00
Kim Kulling
d2d8b84f83
Merge pull request #4880 from krishty/fix-build-without-armaturepopulate-post-process
...
Fix Build Without ArmaturePopulate Post Process Step
2023-01-31 10:23:44 +01:00
Kim Kulling
d6b8d61066
Merge branch 'master' into JoinVerticesProcessUsedVerticesMask
2023-01-30 20:58:21 +01:00
PencilAmazing
527d110917
Merge branch 'master' into PLYcomments#4866
2023-01-30 09:35:57 -05:00
krishty
df28e7830f
Merge branch 'master' into fix-build-without-armaturepopulate-post-process
2023-01-29 01:14:33 +01:00
Kim Kulling
77e34eedc0
Merge pull request #4904 from tellypresence/update-morph-documentation
...
Update morph mesh documentation now that gltf known to work
2023-01-27 10:03:34 +01:00
Steve M
eff13f6a40
Update morph mesh documentation now that gltf known to work
2023-01-25 20:52:25 -08:00
Shaun Reed
ffbeb2db18
CI
2023-01-25 17:46:10 -05:00
Shaun Reed
37903f8ed2
Don't build zlib if ASSIMP_BUILD_ZLIB=OFF
2023-01-25 17:46:10 -05:00
PencilAmazing
6dc12f57a2
Merge branch 'master' into PLYcomments#4866
2023-01-23 21:50:26 -05:00
Kim Kulling
3e7121e1cc
Merge pull request #4892 from lsnoel/fixLHNormals
...
Correctly consider aiProcess_FlipWindingOrder and aiProcess_MakeLeftHanded when generating normals
2023-01-24 00:16:21 +01:00
Kim Kulling
57054415cf
Merge branch 'master' into fixLHNormals
2023-01-24 00:04:49 +01:00
Kim Kulling
8463242449
Merge pull request #4889 from krishty/fix-msvc-emplace-warnings
...
Fix MSVC Warnings With “emplace_back()”
2023-01-24 00:04:21 +01:00
PencilAmazing
4d733d80f1
Merge branch 'master' into PLYcomments#4866
2023-01-23 15:56:04 -05:00
Kim Kulling
b31c04e37c
Merge branch 'master' into fix-msvc-emplace-warnings
2023-01-23 21:37:41 +01:00
Kim Kulling
4d5e47a870
Merge pull request #4888 from krishty/clean-up-ctors-dtors
...
Tidy Up Constructors and Destructors
2023-01-23 21:37:08 +01:00
Kim Kulling
f830d7998e
Merge branch 'master' into clean-up-ctors-dtors
2023-01-23 21:21:34 +01:00
Kim Kulling
a7c4399c26
Merge pull request #4887 from krishty/remove-stray-semicolon
...
Remove Stray Semicolon
2023-01-23 20:26:10 +01:00
PencilAmazing
cb8320945d
Fix issue #4866 by continuing to resetting read loop after hitting a comment
2023-01-23 14:18:50 -05:00
Kim Kulling
036f2b3771
Merge branch 'master' into remove-stray-semicolon
2023-01-23 20:06:43 +01:00
Kim Kulling
a9ce8a967d
Merge pull request #4886 from shimaowo/fix_gltf2_camera_fov
...
Fix: fix incorrect math for calculating the horizontal FOV of a perspective camera in gltf2 import #4435
2023-01-23 20:06:06 +01:00
Kim Kulling
3e20502e0f
Merge branch 'master' into fix_gltf2_camera_fov
2023-01-23 19:14:42 +01:00
Kim Kulling
ff9b6c8d79
Merge pull request #4885 from krishty/replace-variables-with-literals
...
Replace Variables With Literals
2023-01-23 19:10:15 +01:00
Kim Kulling
3bd2f788f6
Merge branch 'master' into replace-variables-with-literals
2023-01-23 18:55:20 +01:00
AdamCichocki
5ed09b7ab6
usedVertexIndicesMask is now based on vector<boo> instead of vector<uint>
2023-01-23 16:39:06 +01:00
AdamCichocki
72b178b9fc
Optimized usedVertexIndices by using bitmask instead of unordered_set
2023-01-23 14:51:02 +01:00
Kim Kulling
cff81568f3
Merge pull request #4884 from krishty/remove-useless-virtual
...
Remove Useless “virtual”
2023-01-22 20:40:36 +01:00
Kim Kulling
f2f967b8ba
Merge branch 'master' into remove-useless-virtual
2023-01-22 20:25:45 +01:00
Kim Kulling
c48507beea
Merge pull request #4882 from krishty/trim-whitespace
...
Trim Trailing Whitespace
2023-01-22 17:17:53 +01:00
Kim Kulling
f8bc8293ce
Update FBXMeshGeometry.h
2023-01-22 16:48:45 +01:00
Kim Kulling
303c30668f
Merge branch 'master' into trim-whitespace
2023-01-22 16:37:43 +01:00
Kim Kulling
bf57eef8f2
Merge pull request #4897 from assimp/kimkulling/ensure_initializer_exists
...
Ensure initializer exists
2023-01-20 20:38:30 +01:00
Kim Kulling
7ad36b8925
Merge branch 'master' into kimkulling/ensure_initializer_exists
2023-01-20 20:01:41 +01:00
Kim Kulling
43d336311e
Merge pull request #4896 from assimp/kimkulling/remove_Zi_flag_msvc_issue-4845
...
Remove /Zi compiler flag for MSVC, release config
2023-01-20 20:00:51 +01:00
Kim Kulling
5ed01bcfa3
Ensure initializer exists
...
- Fixing a Codaxy finding.
2023-01-20 20:00:36 +01:00
Kim Kulling
9e1de3ec6e
Remove /Zi compiler flag for MSVC, release config
...
- closes https://github.com/assimp/assimp/issues/4845
2023-01-20 19:45:45 +01:00
Kim Kulling
288d49b721
Merge pull request #4895 from assimp/kimkulling/make_remove_empty_bones_optional_issue-4840
...
Update LimitBoneWeightsProcess.cpp
2023-01-20 19:33:41 +01:00
Kim Kulling
81cf1369db
Set correct number of bones in mesh instance
2023-01-20 19:20:06 +01:00
Kim Kulling
ab0a119626
Update LimitBoneWeightsProcess.cpp
...
- Removing empty bones only if AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES is enabled.
- closes https://github.com/assimp/assimp/issues/4840
2023-01-20 19:14:04 +01:00
lsnoel
8d1256f472
Comments about winding order fix for gen normals
2023-01-20 14:55:06 +00:00
Kim Kulling
d331a7e5d4
Merge branch 'master' into fix-build-without-armaturepopulate-post-process
2023-01-20 13:52:13 +01:00
lsnoel
eb5d3c51e8
Correctly consider aiProcess_FlipWindingOrder AND aiProcess_MakeLeftHanded when generating normals
2023-01-19 16:46:29 +00:00
Krishty
72f360710a
Fix MSVC Warnings With “emplace_back()”
...
Several places in the code call `std::vector<aiVector3D>.emplace_back(0, 0, 0)`. The constructor of `aiVector3D` actually expects arguments of the type `ai_real`, (alias of `float` if compiling without `ASSIMP_DOUBLE_PRECISION`) but the literal `0` is of type `int`.
`emplace_back()` does support promotion, but `int` to `float` is a potentially lossy conversion. tl;dr: On warning level 4, MSVC spits out a very deeply nested `warning C4244: 'argument': conversion from '_Ty' to 'TReal', possible loss of data with _Ty=int and TReal=ai_real`.
2023-01-18 00:08:38 +01:00
shimaowo
20acfeaf97
Merge branch 'master' into fix_gltf2_camera_fov
2023-01-17 14:39:54 -08:00
Kim Kulling
67eae8ee5a
Merge pull request #4878 from MMory/f-FixWhitespaceBetweenTagAndNum
...
Fix #4877
2023-01-17 20:04:47 +01:00
shimaowo
b298b79a46
add missing parens
2023-01-17 10:53:41 -08:00
Martin Mory
7f6e96747b
Merge branch 'master' into f-FixWhitespaceBetweenTagAndNum
2023-01-17 13:32:39 +01:00
Kim Kulling
d640a89035
Merge pull request #4879 from krishty/fix-build-with-m3d-import-only
...
Fix #4262 Build With M3D Import Only
2023-01-17 12:14:23 +01:00
Martin Mory
a89d5c7cea
Merge branch 'master' into f-FixWhitespaceBetweenTagAndNum
2023-01-17 12:10:46 +01:00
Kim Kulling
e9f95e5ab6
Merge branch 'master' into fix-build-with-m3d-import-only
2023-01-17 11:22:00 +01:00
Kim Kulling
6a8f169103
Merge pull request #4872 from drbct/fixJoinVerticesProcess
...
Generalize JoinVerticesProcess for multiple UV and color channels
2023-01-17 11:05:57 +01:00
Kim Kulling
19dec716d3
Merge branch 'master' into fixJoinVerticesProcess
2023-01-17 09:11:43 +01:00
Krishty
36305cf987
Tidy Up Constructors and Destructors
...
This commit does not add or remove c’tors or d’tors, so it is *not* ABI-breaking.
If a c’tor/d’tor does nothing else than the default behavior, this commit replaces it with “= default”.
If an initializer list entry does nothing else than the default behavior, this commit removes it. First and foremost, remove default c’tor calls of base classes (always called by the compiler if no other base c’tor is explicitly called) and c’tor calls of members with complex types (e.g. “std::vector”).
In a few instances, user-defined copy c’tors / move c’tors / assignment operators / move assignment operators were replaced with “= default”, too. I only did this if I had a clear understanding of what’s going on.
2023-01-16 21:47:11 +01:00
Krishty
43a062a5d7
Remove Stray Semicolon
2023-01-16 20:45:00 +01:00
shimaowo
39cbef1e21
Fix: fix incorrect math for calculating the horizontal FOV of a perspective camera in GLTF2 import #4435
2023-01-16 11:39:13 -08:00
Krishty
3d3e856925
Trim Trailing Whitespace
2023-01-16 09:12:35 +01:00
Krishty
793284a766
Fix Build Without ArmaturePopulate Post Process Step
...
This post process step introduced new attributes into `aiSkeletonBone`. Said attributes are only defined with the process enabled, i.e. when the `ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS` macro has not been defined.
Some code, however, accessed the variables unconditionally, leading to build failures if `ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS` was defined.
This commit adds the missing checks.
2023-01-16 08:42:50 +01:00
Krishty
5cbc00a595
Fix Build With M3D Import Only
...
`M3DWrapper.h` is designed to omit the definition of `class M3DWrapper` if neither M3D import nor M3D export are compiled.
608bccd9cf
touched the corresponding preprocessor checks and introduced a bug:
```
#ifndef ASSIMP_BUILD_NO_M3D_IMPORTER
#if !(ASSIMP_BUILD_NO_EXPORT || ASSIMP_BUILD_NO_M3D_EXPORTER)
class M3DWrapper {
```
When compiling
- with M3D import enabled,
- but with either export generally disabled or M3D export disabled specifically,
These checks evaluate to the wrong result and skip the definition, leading to a build failure in dependent code.
```
#if 1 // import enabled
#if !(1 || 1) // export disabled and M3D export disabled
```
This commit fixes the check to compile the definition if neither import is disabled.
2023-01-16 08:29:49 +01:00
Krishty
bad76fd0f1
Replace Variables With Literals
2023-01-16 08:18:36 +01:00
Krishty
e5c02e8d45
Remove Useless “virtual”
...
These functions are already marked “override”, and their neighbors had “virtual” removed as well.
2023-01-16 08:12:24 +01:00
Martin Mory
43c0f8bb3d
Remove whitespace between a <v> tag and the first number, otherwise first call to strtoul10() returns 0 and the indices are broken, leading to possible out-of-bound access and memory corruption/crash
2023-01-15 23:03:41 +01:00
Kim Kulling
70edec0efb
Merge pull request #4876 from assimp/kimkulling/remove_deprecated_comment_issue-4869
...
Remove deprecated comment
2023-01-15 20:42:31 +01:00
Kim Kulling
2d37f49f51
Remove deprecated comment
...
- closes https://github.com/assimp/assimp/issues/4869
2023-01-15 19:12:24 +01:00
Kim Kulling
eb328ce69d
Merge pull request #4873 from tellypresence/improve-mMethod-typing
...
Change mMethod type to enum aiMorphingMethod
2023-01-13 10:31:45 +01:00
Steve M
b2672c082d
Change mMethod type to enum aiMorphingMethod
...
Address sanitizer warning
2023-01-12 12:35:28 -08:00
Daniel Rösner
74af523b3e
Generalize JoinVerticesProcess for multiple UV and color channels
2023-01-12 13:13:46 +01:00
Kim Kulling
33c32b6b35
Merge pull request #4855 from asmaloney/spelling
...
Fix several spelling mistakes
2023-01-08 21:00:39 +01:00
Kim Kulling
b393132b58
Merge branch 'master' into spelling
2023-01-08 17:43:55 +01:00
Kim Kulling
9ace81a3d2
Merge pull request #4863 from assimp/kimkulling/update_readme
...
Update the getting help section
2023-01-05 12:56:17 +01:00
Kim Kulling
f6457e1c87
Update Readme.md
2023-01-05 11:34:12 +01:00
Kim Kulling
fa7d3aa0c0
Update the getting help section
2023-01-05 11:32:01 +01:00
Kim Kulling
2af29f4836
Merge pull request #4861 from assimp/kimkulling/LWOAnimation_fix_division_by_zero_issue-4860
...
Fix: Fix possible division by zero
2023-01-04 09:37:41 +01:00
Kim Kulling
96b071bdb1
Fix: Fix possible division by zero
...
- closes https://github.com/assimp/assimp/issues/4860
2023-01-04 09:19:37 +01:00
Kim Kulling
767644cd3f
Merge pull request #4859 from assimp/kimkulling/fix_signed_unsigned_mismatch_warning-issue-4854
...
Fix: Fix signed unsigned mismatch
2023-01-03 21:24:17 +01:00
Kim Kulling
df8a9bb2b8
Fix: Fix signed unsigned mismatch
...
- closes https://github.com/assimp/assimp/issues/4854
2023-01-03 21:11:09 +01:00
Kim Kulling
35162c19b2
Merge branch 'master' into spelling
2023-01-03 20:32:41 +01:00
Kim Kulling
8c57382b20
Merge pull request #4858 from asmaloney/cmake-remove-dead-code
...
{cmake} Remove dead code
2023-01-03 19:30:12 +01:00
Andy Maloney
465566a87e
{cmake} Remove dead code
...
BUILD_LIB_TYPE isn't used anywhere.
I think the intent with "add_definitions" here was to affect cmake (?), but it's actually just adding "#define DDL_STATIC_LIBRARY OFF" which isn't used in the code anywhere.
2023-01-03 05:04:25 -05:00
Andy Maloney
e893248e7c
Fix several spelling mistakes & a comment
2023-01-01 13:31:48 -05:00
Kim Kulling
05279f8bbd
Merge pull request #4852 from sfjohnston/sfjohnston_mods
...
sprintf to snprintf with known MAXLEN for buffer.
2022-12-31 15:29:24 +01:00
sfjohnston
25f0146f44
sprintf to snprintf with known MAXLEN for buffer.
2022-12-28 12:32:11 -08:00
Kim Kulling
7eadcebc9f
Merge pull request #4850 from assimp/kimkulling/move_asserthandler_to_include_issue-4779
...
Refactoring: Move asserthandler header to include
2022-12-23 16:57:37 +01:00
Kim Kulling
ef5dd8c451
Merge branch 'master' into kimkulling/move_asserthandler_to_include_issue-4779
2022-12-23 16:29:30 +01:00
Kim Kulling
a8e50be781
Refactoring: Move asserthandler header to include
2022-12-23 16:19:39 +01:00
Kim Kulling
883667c61a
Merge pull request #4848 from assimp/kimkulling/unzip_fix_compiler_warning
...
Update unzip.c
2022-12-23 14:07:04 +01:00
Kim Kulling
89b5011759
Update unzip.c
...
- Fix compiler warning.
2022-12-23 13:50:16 +01:00
Kim Kulling
022c385571
Merge pull request #4846 from rohit-kumar-j/patch-1
...
illegal token on right-side-of ::Windows
2022-12-19 09:49:20 +01:00
Kim Kulling
76de8ba1f4
Update material.inl
2022-12-19 08:58:45 +01:00
RKJ
6743274b31
illegal token on right-side-of ::Windows
...
Error without:
```
assimp\material.inl(101,47): message : error recovery skipped: ') ?'
```
Reference : https://stackoverflow.com/questions/2561368/illegal-token-on-right-side-of
2022-12-19 04:06:36 +05:30
Kim Kulling
1e2cff6383
Merge pull request #4824 from umesh-huawei/master
...
Fixed bug when exporting binary FBX
2022-12-16 11:25:31 +01:00
Kim Kulling
376f66a06d
Merge branch 'master' into master
2022-12-16 10:11:56 +01:00
Kim Kulling
5c763f471c
Merge pull request #4838 from sashashura/patch-10
...
Fixes Heap-buffer-overflow READ 1 in Assimp::ObjFileParser::getFace
2022-12-16 09:18:23 +01:00
Kim Kulling
c3d15a3f51
Fix minor review findings.
2022-12-16 09:03:40 +01:00
Kim Kulling
c92b84e38d
Merge branch 'master' into patch-10
2022-12-16 09:00:41 +01:00
Kim Kulling
7c6e33fef1
Merge pull request #4837 from sashashura/patch-9
...
Fixes Heap-buffer-overflow READ 1 in Assimp::MD5::MD5Parser::ParseHeader
2022-12-15 15:08:16 +01:00
Kim Kulling
db8ff41679
Update MD5Parser.cpp
2022-12-15 14:06:57 +01:00
Kim Kulling
2612950b7b
Merge branch 'master' into patch-9
2022-12-15 14:05:35 +01:00
Kim Kulling
ee02c389ca
Merge pull request #4836 from sashashura/patch-8
...
Fixes Heap-buffer-overflow READ 4 in Assimp::ScenePreprocessor::ProcssMesh
2022-12-15 14:04:19 +01:00
sashashura
917352dd8b
Fixes Heap-buffer-overflow READ 1 in Assimp::ObjFileParser::getFace
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49274
2022-12-11 01:54:57 +01:00
Alex
90769ef3e6
Fixes Heap-buffer-overflow READ 1 in Assimp::MD5::MD5Parser::ParseHeader
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49422
When it reaches the `SkipSpacesAndLineEnd`, `in` already points past `bufferEnd` and it leads to out of bounds memory read.
2022-12-11 00:02:09 +00:00
Alex
d5294be00b
Fixes Heap-buffer-overflow READ 4 in Assimp::ScenePreprocessor::ProcessMesh
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49797
2022-12-10 01:22:00 +00:00
Umesh Rajesh Ramchandani
2d372b302f
Fixed bug when exporting binary FBX
...
Fixed vector subscript out of range bug when NULL_RECORD is passed to PutString and is actually null
2022-12-08 14:59:25 +01:00
Kim Kulling
0fdae2879d
Merge pull request #4825 from Gargaj/floatwarnings
...
fix warnings-as-errors for msvc 2019 x64
2022-12-08 14:48:54 +01:00
Kim Kulling
fec39154ed
Merge branch 'master' into floatwarnings
2022-12-08 14:18:35 +01:00
Kim Kulling
b2b85bf971
Merge pull request #4832 from assimp/kimkulling/fix_heap_overflow_issue-4831
...
Ensure face pointer is not nullptr
2022-12-08 09:50:24 +01:00
Kim Kulling
769b47ed0e
Ensure face pointer is not nullptr
...
- closes https://github.com/assimp/assimp/issues/4831
2022-12-08 09:35:11 +01:00
Kim Kulling
3f66b92797
Merge branch 'master' into master
2022-12-06 20:34:51 +01:00
Kim Kulling
65bedac389
Merge pull request #4829 from assimp/kimkulling/avoid_undefined_shift_issue-4822
...
Avoid undefined-shift in Assimp::ASE::Parser::ParseLV4MeshFace.
2022-12-05 13:31:31 +01:00
Kim Kulling
9d57ac9cc5
Fix:Add missing semicolon.
2022-12-05 13:15:42 +01:00
Kim Kulling
81f85a6f93
Avoid undefined-shift in Assimp::ASE::Parser::ParseLV4MeshFace.
2022-12-05 13:07:52 +01:00
Gargaj
9c839f2d9a
more fixes
2022-12-03 20:44:57 +01:00
Gargaj
07d4e83f43
fix warnings-as-errors for msvc x64
2022-12-03 20:27:00 +01:00
Kim Kulling
28c155bfb4
Merge pull request #4820 from assimp/kimkulling/MDL_fix_division_by_zero_issue-4819
...
FIX: Fix possible division by zero
2022-12-02 10:00:12 +01:00
Kim Kulling
f8bb7704ad
Fix: MAke quaternion check in unittest more robust
...
Just add an epsilon test by using the correct comparator from gtest.
2022-12-02 09:43:59 +01:00
Kim Kulling
62486c6e7c
FIX: Fix possible division by zero
...
- closes https://github.com/assimp/assimp/issues/4819
2022-12-02 09:24:51 +01:00
Kim Kulling
d8b9e2b64b
Merge branch 'master' into master
2022-12-02 08:41:43 +01:00
Kim Kulling
b0987f4513
Merge pull request #4816 from tkoeppe/explspec
...
[BlenderDNA.h] Declare explicit specializations
2022-11-30 15:07:11 +01:00
Kim Kulling
f578b15759
Merge branch 'master' into explspec
2022-11-30 14:03:09 +01:00
Kim Kulling
497e286cfa
Merge pull request #4792 from Skylion007/modernize-smartptrs-literals
...
Modernize smartptrs and use C++11 literals
2022-11-29 20:32:02 +01:00
Thomas Köppe
7d06d798af
[BlenderDNA.h] Declare explicit specializations
...
It is an ODR violation to use a template specialization for which an
explicit specialization is defined somewhere whose declaration is not
visible at the point of use.
Found via clang's -Wundefined-func-template warning.
2022-11-29 18:38:33 +00:00
Adam Beili
54068637ee
Merge branch 'master' into refactor/KHR_material_specular
2022-11-29 17:35:52 +01:00
Kim Kulling
8fb7ba3444
Merge branch 'master' into modernize-smartptrs-literals
2022-11-29 09:58:17 +01:00
Kim Kulling
6f6f77232e
Merge pull request #4813 from assimp/kimkulling/improve_github_parallel_build
...
Introduce --parallel instead of .j
2022-11-29 09:57:52 +01:00
Kim Kulling
22cff318dc
Introduce --parallel instead of .j
...
Just use parallel command to improve the readability.
2022-11-29 09:34:56 +01:00
Kim Kulling
f3f533c390
Merge branch 'master' into master
2022-11-23 23:00:29 +01:00
Kim Kulling
b6adb9f2dd
Merge pull request #4805 from CMDR-JohnAlex/patch-1
...
Fixed some grammar and spelling mistakes
2022-11-22 23:49:46 +01:00
Kim Kulling
8f0e2db974
Merge branch 'master' into patch-1
2022-11-22 20:51:07 +01:00
Kim Kulling
10b99dc4ca
Merge pull request #4807 from DavidKorczynski/cifuzz-int
...
Add CIFuzz GitHub action
2022-11-22 20:46:51 +01:00
Kim Kulling
1476d50c7d
Merge branch 'master' into cifuzz-int
2022-11-22 19:10:03 +01:00
naota29
ab82428bb5
Merge branch 'master' into master
2022-11-22 07:15:38 -08:00
Kim Kulling
88041152ac
Merge pull request #4809 from assimp/kimkulling/fix_possible_overflow_issue-3422
...
Add overfolow check for invalid data.
2022-11-22 11:04:51 +01:00
Kim Kulling
5689ac7869
Add overfolow check for invalid data.
...
- closes https://github.com/assimp/assimp/issues/3422
2022-11-22 10:50:52 +01:00
David Korczynski
355ebbedf3
Add CIFuzz GitHub action
2022-11-21 16:45:38 -08:00
Justice Colby
371d5c78f4
Updated ConvertMaterials function to assign appopriate material index when using material references.
2022-11-21 15:49:48 -08:00
Kim Kulling
b3daec65a0
Merge pull request #4787 from Beilinson/KHR_materials_emissive_strength
...
Added support for KHR_materials_emissive_strength
2022-11-21 23:51:55 +01:00
John Alexander Le Roux
80449dd014
Fixed some grammar and spelling mistakes
2022-11-21 15:51:21 -05:00
Kim Kulling
1d1cd93371
Merge branch 'master' into KHR_materials_emissive_strength
2022-11-21 20:55:13 +01:00
Adam Beili
5441f07d05
Merge branch 'master' into refactor/KHR_material_specular
2022-11-19 17:40:22 +02:00
Kim Kulling
6392dbfe4d
Merge pull request #4801 from jakrams/fbx-out-of-memory-fix
...
Don't hide out-of-memory during FBX import
2022-11-18 20:40:59 +01:00
Adam
1cd5841b2f
.
2022-11-18 17:24:37 +02:00
Adam Beili
3b5e34ab30
Merge branch 'master' into refactor/KHR_material_specular
2022-11-18 16:10:39 +02:00
Adam Beili
863637a27e
Merge branch 'master' into KHR_materials_emissive_strength
2022-11-18 16:04:32 +02:00
Jan Krassnigg
08f2f0f82f
Don't hide out-of-memory during FBX import
2022-11-18 13:50:33 +01:00
Kim Kulling
11fe77c446
Merge pull request #4800 from assimp/kimkulling/add_missing_header_issue-4720
...
Add missing header for Ubuntu 16 and Mac
2022-11-18 11:57:57 +01:00
Kim Kulling
3c51eafaf4
Add missing headerh will be needed on Ubuntu
...
- closes https://github.com/assimp/assimp/issues/4720
2022-11-18 11:39:51 +01:00
Adam Beili
b8b515cbed
Merge branch 'master' into refactor/KHR_material_specular
2022-11-17 20:31:40 +02:00
Aaron Gokaslan
b2cfe47d4e
Merge branch 'master' into modernize-smartptrs-literals
2022-11-17 12:22:08 -05:00
Kim Kulling
7f35bfb9e3
Merge branch 'master' into KHR_materials_emissive_strength
2022-11-15 21:37:36 +01:00
Kim Kulling
97d7f685ba
Merge pull request #4794 from assimp/kimkulling/prepare_submodule_update
...
Update dependabot.yml
2022-11-13 20:48:44 +01:00
Kim Kulling
49b3649264
Add submodule update.
2022-11-13 19:33:12 +01:00
Kim Kulling
bea3924fce
Update dependabot.yml
...
- Add update of submodules
2022-11-13 19:32:09 +01:00
Adam
ffaf378ee6
fixed misnamed matkey
2022-11-10 20:37:46 +02:00
Adam Beili
ce7a52fd19
Merge branch 'master' into refactor/KHR_material_specular
2022-11-10 20:21:30 +02:00
Adam
822b240694
Support both pbrSpecGlos and materials_specular
2022-11-08 23:09:50 +02:00
Adam Beili
95d98ec98b
fixed indentation error
2022-11-08 20:55:20 +02:00
Adam Beili
49bc22ddb5
Merge branch 'master' into KHR_materials_emissive_strength
2022-11-08 20:51:20 +02:00
Aaron Gokaslan
3730b7414f
Use make_shared in IFCBoolean
2022-11-08 11:30:53 -05:00
Aaron Gokaslan
d635bc6914
Fix some indentation
2022-11-08 11:19:12 -05:00
Aaron Gokaslan
ccfb175460
Apply various clang-tidy checks for smartprs and modern C++ types
2022-11-08 11:03:55 -05:00
Kim Kulling
cfed74516b
Merge pull request #4785 from Skylion007/add-missing-std-move
...
chore: add missing std moves and perfect forwards
2022-11-08 15:03:29 +01:00
Kim Kulling
b717b1cd3e
Retrigger the build
...
Fix review findings
2022-11-08 13:39:56 +01:00
Aaron Gokaslan
97cb1c6b15
Fix perfect fowards
2022-11-07 11:01:16 -05:00
Aaron Gokaslan
5a0df03d2b
Fix another missing move in glTFCommon.h
2022-11-07 09:34:00 -05:00
Adam Beili
945d93b46a
fixed indentation
2022-11-04 09:37:28 -07:00
Adam
852ea8325c
Added support for KHR_materials_emissive_strength
...
according to spec https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_emissive_strength
2022-11-03 23:11:21 +02:00
Aaron Gokaslan
899f8e1d17
Remove redundant ctor
2022-11-03 12:46:40 -04:00
Aaron Gokaslan
02378b5e70
Add one more missing move
2022-11-03 12:36:58 -04:00
Aaron Gokaslan
8da3d277c7
add missing std moves
2022-11-03 12:35:10 -04:00
Kim Kulling
9a5d628232
Merge pull request #4776 from assimp/kimkulling/fix_nullptr_dereferecing_issue-4771
...
Fix: Avoid nullptr dereferencing + refactorings.
2022-10-29 17:25:06 +02:00
Kim Kulling
99e515fbfd
Fix:Fix possible nullptr dereferencing + refactorings.
2022-10-29 17:08:26 +02:00
Kim Kulling
c2967cf79a
Merge pull request #4759 from Let0s/trailing_zero_fix_collada_exporter
...
Fixed error with trailing zero symbol as placeholder character
2022-10-23 18:34:28 +02:00
Sergey
ac87b9ce7e
fixed error with trailing zero symbol as placeholder character
2022-10-19 09:30:32 +03:00
Kim Kulling
f8f12c8609
Merge pull request #4755 from emvivre/master
...
* fix bug reading ply file in case of presence of "end_header\n<BINARY_DATA>..." with <BINARY_DATA> starting by "\n"
2022-10-18 21:13:35 +02:00
Kim Kulling
35136bc90c
Merge branch 'master' into master
2022-10-18 19:25:14 +02:00
Kim Kulling
57c156019f
Merge pull request #4761 from assimp/kimkulling/fix_missing_double_export_for_json_issue-4677
...
Fix: Add missing ahndling for double export in json
2022-10-18 19:22:01 +02:00
Kim Kulling
07aef23d24
Fix: Add missing ahndling for double export in json
2022-10-18 19:05:04 +02:00
emvivre
a77dcffb19
Merge branch 'master' into master
2022-10-17 11:20:33 +02:00
Kim Kulling
a3c209f2ca
Merge pull request #4757 from assimp/kimkulling/Fix_link_openddl_static_when_enabling_static_lib_issue-4516
...
Use correct flags for openddl for static libs
2022-10-16 18:46:22 +02:00
Kim Kulling
e7cea5a283
Use correct flags for openddl for static libs
2022-10-16 18:30:45 +02:00
emvivre
0bef3a2e0b
Merge branch 'master' into master
2022-10-16 15:05:54 +02:00
Kim Kulling
565539bb68
Merge pull request #4756 from assimp/kimkulling/fix_use_correct_eps_in_interpolation_issue-4751
...
FIX: Use correct epsilon
2022-10-15 18:12:56 +02:00
emvivre
fad49e0d12
Merge branch 'master' into master
2022-10-15 18:08:08 +02:00
Kim Kulling
4ac3b1fef5
FIX: Use correct epsilon
2022-10-15 16:11:02 +02:00
Kim Kulling
e2f54d3c48
Merge pull request #4754 from rhabacker/master
...
Fix build error: ‘temp’ may be used uninitialized in this function
2022-10-15 09:16:36 +02:00
François Lozes
e17976e6e2
* fix bug reading ply file in case of presence of "end_header\n<BINARY_DATA>..." with <BINARY_DATA> starting by "\n"
2022-10-14 13:16:18 +02:00
Ralf Habacker
3705336467
Fix build error: ‘temp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
...
Fixes #4753
2022-10-13 08:30:04 +02:00
Kim Kulling
5a89d6fee1
Merge pull request #4744 from slinky55/clang-fix
...
Fixed issue with clang complaining about sprintf and vsprintf being depreciated
2022-10-06 08:13:53 +02:00
Kim Kulling
2e6c2315a2
Merge branch 'master' into clang-fix
2022-10-05 16:54:19 +02:00
Kim Kulling
002d50a54d
Merge pull request #4745 from cwoac/fix_defaults
...
fix incorrect documentation of defaults
2022-10-04 20:47:04 +02:00
Oliver Matthews
29032b176b
fix incorrect documentation of defaults
2022-10-03 11:49:38 +00:00
slinky55
e0fb1674d1
Merge branch 'clang-fix' of github.com:slinky55/assimp into clang-fix
2022-09-30 22:04:11 -04:00
slinky55
38ccb7e6c9
Used sizeof for buffer sizes instead of hardcoding values
2022-09-30 22:03:59 -04:00
slinky55
5f28370f7f
Merge branch 'master' into clang-fix
2022-09-30 21:57:32 -04:00
Kim Kulling
b70277e1ab
Merge pull request #4738 from FlorianBorn71/MakeFBXParserResilientToMissingStreams
...
Make FBX parser resilient to missing data streams
2022-09-30 10:05:42 +02:00
slinky55
e2e45f7a14
Fixed issue with clang complaining about sprintf being depreciated
2022-09-30 00:34:33 -04:00
Kim Kulling
981677d4b9
Merge branch 'master' into MakeFBXParserResilientToMissingStreams
2022-09-30 00:13:45 +02:00
Kim Kulling
4b65d65af3
Merge pull request #4742 from feishengfei/master
...
FIX: C++ std::tuple constexpr initial list on old compiler
2022-09-29 22:20:15 +02:00
felix
0be5c567c9
FIX: C++ std::tuple constexpr initial list on old compiler [cont 1]
2022-09-29 23:34:23 +08:00
Kim Kulling
232d809ecc
Merge branch 'master' into master
2022-09-29 16:48:45 +02:00
Kim Kulling
816b8e6156
Update utglTF2ImportExport.cpp
...
Needed some change of scenery and optimized this a little bit.
2022-09-29 16:48:15 +02:00
feishengfei
789168ba31
FIX: C++ std::tuple constexpr initial list on old compiler
2022-09-29 09:38:40 +08:00
Kim Kulling
ca11fceb65
Merge pull request #4734 from sashashura/patch-7
...
GitHub Workflows security hardening
2022-09-27 15:31:54 +02:00
Kim Kulling
92c7419a28
Merge branch 'master' into patch-7
2022-09-27 14:37:18 +02:00
Kim Kulling
e477533a6d
Merge pull request #4737 from p12tic/prefix-stb-image-symbols
...
Prefix symbols from stb_image.h
2022-09-27 13:58:32 +02:00
Povilas Kanapickas
f6a590065c
Prefix symbols from stb_image.h
...
This makes it possible to link assimp statically into an executable with
another static library that includes stb_image.h without hiding its
symbols.
2022-09-23 04:08:21 +03:00
Povilas Kanapickas
22494bde17
Don't include stm_image implementation if using stb library from Hunter
...
Hunter compiles its own stb library binaries. Currently a second copy is
compiled by defining STB_IMAGE_IMPLEMENTATION in Assimp.cpp. This may
cause hard to understand bugs if this compiled copy ever becomes
different from what Hunter supplies.
2022-09-23 04:08:20 +03:00
Kim Kulling
9510132f3d
Merge branch 'master' into MakeFBXParserResilientToMissingStreams
2022-09-21 14:40:37 +02:00
Kim Kulling
9a11cabb06
Merge pull request #4739 from assimp/kimkulling/update-newer-visualsudio-versions
...
Introduce newer versions for MSVC Version
2022-09-21 14:39:38 +02:00
Kim Kulling
18cbe89a4c
Introduce newer versions for MSVC Version
2022-09-21 13:45:21 +02:00
Florian Born
7eb9edf0b9
Make FBX parser resilient to missing data streams
2022-09-21 11:45:54 +02:00
Kim Kulling
65b14ef79d
Merge pull request #4736 from assimp/kimkulling/fix_heap-buffer-overflow_in_md5_issue-4965
...
FIX: Fix head overflow in MD5-parser.
2022-09-20 21:52:13 +02:00
Kim Kulling
6415c0bfc9
FIX: Use attribute to fix warning.
2022-09-20 21:39:09 +02:00
Kim Kulling
1f61f0c3de
FIX: Caculate buffer end pointer after initing all attributes
2022-09-20 21:35:44 +02:00
Kim Kulling
f1766c4bd5
FIX: Fix head overflow in MD5-parser.
2022-09-20 21:03:58 +02:00
Alex
79c9c82026
build: harden sanitizer.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-19 23:32:11 +02:00
Alex
f39606589e
build: harden ccpp.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-19 23:31:58 +02:00
Kim Kulling
a165dbc6ff
Merge pull request #4732 from assimp/kimkulling/reorganize_doc
...
IMP: Reorganize doc
2022-09-18 21:05:07 +02:00
Kim Kulling
295b0f4dbf
Merge branch 'master' into kimkulling/reorganize_doc
2022-09-18 20:50:40 +02:00
Kim Kulling
c976ceec90
Merge pull request #4730 from waebbl/fix-version
...
Adjust cmake version
2022-09-18 19:32:53 +02:00
Kim Kulling
be2eaac5a7
IMP: Reorganize doc
2022-09-18 19:31:48 +02:00
Kim Kulling
9d797c1489
Merge branch 'master' into fix-version
2022-09-18 19:11:34 +02:00
Kim Kulling
8d9a0f777d
Merge pull request #4731 from assimp/kimkulling/add_check_for_wall_enable_issue-4652
...
Add check for wall switch from cmake
2022-09-18 18:57:44 +02:00
Kim Kulling
704a187c90
FIX: Fix not initialized enums in unittest.
2022-09-18 18:10:56 +02:00
Kim Kulling
34eaf2d092
FIX: Initialize uninitialized enum in unittest.
2022-09-18 17:36:21 +02:00
Kim Kulling
f59dd695c8
FIX: try to undefined behaviour by static_cast.
2022-09-18 16:03:54 +02:00
Kim Kulling
128922a798
FIX: Update unity build include file for gtest
2022-09-18 13:17:35 +02:00
Kim Kulling
2324e1ea51
Add missing file from gtest
2022-09-18 10:08:14 +02:00
Kim Kulling
09fe87b6d4
Googletest: Update to 1.12.1
2022-09-18 09:58:12 +02:00
Kim Kulling
b3c7bdbdd6
Add check for wall switch from cmake
2022-09-17 18:16:42 +02:00
Bernd Waibel
8ce6f5ad27
Adjust cmake version
...
Closes: https://github.com/assimp/assimp/issues/4729
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2022-09-17 15:21:57 +02:00
Kim Kulling
1944c45944
Merge pull request #4728 from assimp/kimkulling/fix_treeview_issue-4726
...
Fix: Use ASCII treeview in assimp-cmd.
2022-09-17 08:57:23 +02:00
Kim Kulling
93e356b47d
Merge branch 'master' into kimkulling/fix_treeview_issue-4726
2022-09-17 01:34:36 +02:00
Kim Kulling
ff0c50236b
Merge pull request #4723 from ranpro/patch-1
...
Missing path
2022-09-16 23:55:04 +02:00
Kim Kulling
c67ff12b06
Merge branch 'master' into patch-1
2022-09-16 23:12:19 +02:00
Kim Kulling
4804101f1d
Merge pull request #4721 from assimp/kimkulling/fix-pointcloud-config-doc
...
Fix config documentation for STL pointcloud export
2022-09-16 23:12:05 +02:00
Kim Kulling
7ebe21958d
FIX: Fix review findings
2022-09-16 22:13:58 +02:00
Kim Kulling
e4c77aa4fa
Fix: Use ASCII treeview in assimp-cmd.
2022-09-16 21:55:14 +02:00
曾是然
9fab0af16a
Missing path
2022-09-16 14:54:20 +08:00
Kim Kulling
0dd5cfe3bf
Fix config documentation for STL pointcloud export
2022-09-12 18:32:28 +02:00
Kim Kulling
7be7e5d93e
Merge pull request #4717 from Skylion007/perfect-forward-utMaybe
...
Perfect forward val to utMaybe.cpp
2022-09-12 10:15:03 +02:00
Kim Kulling
b2ea018fd5
Use user-define element destructor.
2022-09-11 17:04:58 +02:00
Aaron Gokaslan
20755f4200
Perfect forward val to utMaybe
2022-09-09 10:55:45 -04:00
Kim Kulling
7b874983d0
Merge branch 'master' into SmallAllocationFixInFBXLoader
2022-09-08 20:15:52 +02:00
Kim Kulling
9519a62dd2
Merge pull request #4715 from assimp/kimkulling/cleanup_after_review
...
Kimkulling/cleanup after review
2022-09-08 20:13:43 +02:00
Kim Kulling
6a1a7c43cc
Update utMaybe.cpp
2022-09-08 19:32:42 +02:00
Kim Kulling
ad1d0fcb45
Merge branch 'master' into kimkulling/cleanup_after_review
2022-09-08 19:09:49 +02:00
Kim Kulling
3af53a42aa
Fix typo
2022-09-08 19:06:05 +02:00
Kim Kulling
fff977c0b5
Fix review findings.
2022-09-08 18:54:08 +02:00
Kim Kulling
d475c132bf
Merge pull request #4716 from HiMemX/master
...
Minor obj export bugfix
2022-09-08 12:51:31 +02:00
HiMemX
4c9d270a5e
-Vertex export fix
2022-09-07 23:10:31 +02:00
HiMemX
7872297ab7
Delete ObjExporter.cpp
2022-09-07 23:10:06 +02:00
HiMemX
396e7bcdb4
-Obj vertex fix
2022-09-07 23:09:50 +02:00
Kim Kulling
7116f46672
Add missing file
2022-09-07 21:28:04 +02:00
Kim Kulling
8895ecf243
Merge branch 'master' into kimkulling/cleanup_after_review
2022-09-07 21:26:54 +02:00
Kim Kulling
362ff08855
Add doc + small unittest
2022-09-07 21:25:46 +02:00
Kim Kulling
edaf7fb7eb
Merge pull request #4713 from ChrisBlueStone/master
...
Fix aiBone.mOffsetMatrix documentation
2022-09-05 19:47:02 +02:00
Kim Kulling
af0b29f30d
Merge branch 'master' into master
2022-09-05 19:09:19 +02:00
Kim Kulling
57f4163c67
Merge pull request #4702 from Gargaj/assbinlights
...
add missing light data to assbin import/export
2022-09-05 18:29:59 +02:00
Chris
4b0e38e44f
Fix aiBone.mOffsetMatrix documentation
...
Fixed the comment on the `mOffsetMatrix` property to be correct.
See https://assimp-docs.readthedocs.io/en/latest/API/API-Documentation.html#_CPPv46aiBone
See also https://stackoverflow.com/a/73603994
2022-09-05 11:00:57 -05:00
Gargaj
d15b4ad7ef
add missing light data to assbin import/export
2022-09-05 16:09:24 +02:00
Kim Kulling
fd6c534efc
Merge pull request #4707 from Gargaj/patch-1
...
fix vertices being joined duplicating weights
2022-09-04 10:51:07 +02:00
Kim Kulling
2a667cc637
Merge branch 'master' into patch-1
2022-09-04 09:52:42 +02:00
Kim Kulling
de83245f42
Merge pull request #4703 from Skylion007/explicitly-default-dtors
...
clang-tidy: explicitly default all empty ctors and dtors
2022-09-03 21:25:20 +02:00
Aaron Gokaslan
411171fa45
Apply some more modernize-use-emplace
2022-09-02 11:20:02 -04:00
Aaron Gokaslan
e3b01e10db
apply fixes to more headers
2022-09-01 12:28:45 -04:00
Aaron Gokaslan
4c6652f5b0
Add a handful of missing fixes
2022-09-01 11:37:53 -04:00
Gargaj
a22aa75bca
fix vertices being joined duplicating weights
...
This bug causes weights to duplicate, i.e. one bone will have several (equal) weights assigned to the same vertex - which then has the potential to cause even bigger problems when combined with `LimitBoneWeightsProcess`.
2022-08-31 22:27:34 +02:00
Kim Kulling
f527e56f22
Merge branch 'master' into explicitly-default-dtors
2022-08-30 22:21:06 +02:00
Kim Kulling
80ae9afe4e
Add missing documentation.
2022-08-30 21:55:52 +02:00
Kim Kulling
2c3538fc46
Merge pull request #4705 from assimp/kimkulling/cleanup_after_review
...
[WIP] Code cleanup and some new unittests for edgecases.
2022-08-30 21:54:14 +02:00
Kim Kulling
fbb69df8be
Update utBaseProcess.cpp
2022-08-30 20:54:23 +02:00
Kim Kulling
25d7510b8c
Merge branch 'master' into kimkulling/cleanup_after_review
2022-08-29 22:17:39 +02:00
Kim Kulling
6539b8685f
Update utBaseProcess.cpp
2022-08-29 17:48:57 +02:00
Kim Kulling
e34becff62
Enable portable linkage to fix build
2022-08-29 11:43:32 +02:00
Kim Kulling
8352f0478a
Merge pull request #4704 from JG-Adams/patch-1
...
Wrong object is created here!
2022-08-29 11:23:38 +02:00
Kim Kulling
0571ee21fb
Introduce unittest for BaseProcess.
2022-08-28 20:58:52 +02:00
Kim Kulling
02e6c425f9
Fix ordering of initalizer list
2022-08-27 15:20:53 +02:00
Kim Kulling
e4c383324a
Use string for constexpr
2022-08-27 15:11:54 +02:00
Kim Kulling
14186bcd6b
Code cleanup and some new unittests for edgecases.
2022-08-27 14:07:45 +02:00
J.G.Adams
9cd723e282
Wrong object is created here!
...
If I'm not mistaken. Because this is originally push_back(aniMeshVertex) instead of push_back(v).
And the fact that aniMeshVertex is just getting created and destroyed for nothing.
It need to be replaced with this then? A Clang-tidy syntax to create the same aniMeshVertex.
I found this in pull request #4527 I think it may need to be reviewed too.
2022-08-26 19:12:11 -04:00
Aaron Gokaslan
e93fa6699a
Manually fix up 100 more instances where it should be defaulted
2022-08-25 12:20:13 -04:00
Aaron Gokaslan
6fa21dcc6e
Explicitly default all empty dtors
2022-08-25 11:32:59 -04:00
Kim Kulling
46e571e497
Merge pull request #4700 from Skylion007/skylion007/modernize-use-emplace
...
Apply modernize-use-emplace clang-tidy rule
2022-08-25 10:50:11 +02:00
Kim Kulling
2b30b7e062
Merge branch 'master' into skylion007/modernize-use-emplace
2022-08-24 11:48:30 +02:00
Kim Kulling
066f3f5f14
Merge pull request #4701 from turol/x3d-fixes
...
Fix out of bounds reads in X3D importer
2022-08-24 11:44:50 +02:00
Kim Kulling
659195d852
Fix the fixme
...
- Based on the implementation in top of the last one I guess I know how to fix that.
- Replacing push_back by emplace_back
2022-08-24 11:17:10 +02:00
Turo Lamminen
0d8723a3eb
Add FIXME comment
2022-08-24 10:43:40 +03:00
Turo Lamminen
654ae3af4e
Fix out of bounds access in X3D loader
2022-08-24 10:42:01 +03:00
Kim Kulling
88c69d4edc
Merge pull request #4693 from vkaytsanov/master
...
Remove exception on glTF 2.0 loading
2022-08-23 23:36:26 +02:00
Aaron Gokaslan
25add7baa2
Merge branch 'master' into skylion007/modernize-use-emplace
2022-08-23 15:14:48 -04:00
Kim Kulling
87f601531c
Merge branch 'master' into master
2022-08-23 21:14:45 +02:00
Kim Kulling
aa521569f7
Merge pull request #4699 from turol/smd-fixes
...
SMD fixes
2022-08-23 21:08:42 +02:00
Aaron Gokaslan
b176061c41
Remove extra space in emplace insertions
2022-08-23 11:46:30 -04:00
Aaron Gokaslan
27edb43600
Apply modernize-use-emplace clang-tidy rule
2022-08-23 11:41:49 -04:00
Turo Lamminen
f890bc791f
Fix out of bounds write
2022-08-23 14:38:27 +03:00
Turo Lamminen
68bc6a06b9
Use unique_ptr for aaiBones instead of explicit delete[]
2022-08-23 14:17:56 +03:00
Turo Lamminen
03397d42e2
Use unique_ptr for aaiFaces instead of explicit delete[]
2022-08-23 14:15:06 +03:00
Turo Lamminen
795c0abcc8
Apply modernize-loop-convert to the simplified loop
2022-08-23 14:10:23 +03:00
Turo Lamminen
1ca44acebc
Simplify a for loop
2022-08-23 14:10:23 +03:00
Turo Lamminen
712671e81a
Apply modernize-loop-convert again
2022-08-23 14:10:20 +03:00
Turo Lamminen
5f28c51c03
Apply clang-tidy modernize-loop-convert transformation
2022-08-23 13:59:42 +03:00
Kim Kulling
04997ccbf3
Merge pull request #4697 from assimp/kimkulling/patch-issue-4676
...
[WIP] Use ai_Real to write correct accuracy
2022-08-18 19:04:28 +02:00
Kim Kulling
2013ae114a
[WIP] Use ai_Real to write correct accuracy
...
- closes https://github.com/assimp/assimp/issues/4676
2022-08-18 17:41:07 +02:00
Turo Lamminen
94c3ec57af
Merge pull request #4679 from turol/blender-fixes
...
(Mostly) Blender fixes
2022-08-18 15:49:16 +03:00
vkaytsanov
4c143eb581
Merge branch 'master' into master
2022-08-17 12:01:44 +03:00
Turo Lamminen
1c59de42fc
Make some blender fields warn if missing instead of error
2022-08-17 11:42:32 +03:00
Turo Lamminen
d2dc0401c3
Use weak pointer for ModifierData prev to avoid memory leak
2022-08-17 11:42:32 +03:00
Turo Lamminen
30555282fe
Use weak pointer for ElemBase last to avoid memory leak
2022-08-17 11:42:32 +03:00
Turo Lamminen
219dbbd4af
Fix crash of "assimp info" with no parameters
2022-08-17 11:42:32 +03:00
Turo Lamminen
56b6446913
Use weak pointer for MirrorModifierData mirror_ob to avoid memory leak
2022-08-17 11:42:32 +03:00
Turo Lamminen
90d1464405
Remove set but unused variables
2022-08-17 11:42:32 +03:00
Turo Lamminen
2e64880abf
Inherit SubsurfModifierData and MirrorModifierData from SharedModifierData
...
This makes the cast in BlenderModifierShowcase::ApplyModifiers work
correctly and not invoke UB.
2022-08-17 11:42:32 +03:00
Turo Lamminen
e43e3e11b9
Move SharedModifierData definition to BlenderScene.h
2022-08-17 11:42:32 +03:00
Turo Lamminen
2c1943cd10
Improve BlenderDNA error message
2022-08-17 11:42:32 +03:00
Kim Kulling
a0f375162d
Merge pull request #4453 from Promit/master
...
Added support for more bone weights in GLTF2
2022-08-16 21:20:23 +02:00
Kim Kulling
89c4640744
Merge branch 'master' into master
2022-08-16 20:53:45 +02:00
vkaytsanov
d469c7b161
Remove exception on glTF 2.0 loading
2022-08-16 15:52:43 +03:00
Kim Kulling
0dabe020a9
Merge pull request #4681 from Koekto-code/master
...
Fix problems setting DirectX_LIBRARY
2022-08-15 15:25:41 +02:00
Kim Kulling
c9fc957535
Merge branch 'master' into master
2022-08-15 15:05:19 +02:00
Kim Kulling
bd64cc88df
Merge pull request #4678 from villevoutilainen/master
...
Use unqualified uint32_t everywhere in FBXBinaryTokenizer
2022-08-13 08:33:46 +02:00
Kim Kulling
baf14f6c16
Merge branch 'master' into master
2022-08-12 14:09:04 +02:00
Koekto-code
0e4ba1fdd1
Fix problems setting DirectX_LIBRARY
...
DirectX_LIBRARY was always clearing, though DirectX_PREFIX_PATH was not changed. This is because I had some semicolons at begin of DirectX_PREFIX_PATH and the macro `clear_if_changed` discarded them. Now it saves all extra semicolons and check passes.
2022-08-11 22:10:16 +03:00
Kim Kulling
888468e8f7
Merge pull request #4680 from sashashura/patch-6
...
Fixes Heap-buffer-overflow READ in Assimp::ASE::Parser::ParseLV1SoftSkinBlock
2022-08-11 11:47:48 +02:00
Bengt Rosenberger
76daadb95d
Merge branch 'master' into gltf2_metadata_export
2022-08-10 23:06:41 +02:00
Aleks L
4b85eb59c2
Fixes Heap-buffer-overflow READ in Assimp::ASE::Parser::ParseLV1SoftSkinBlock
2022-08-10 15:30:07 +01:00
Ville Voutilainen
253f8bfa62
Use unqualified uint32_t everywhere in FBXBinaryTokenizer
...
The use of qualified std::uint32_t requires including <cstdint> instead
of <stdint.h> on some implementations, and that breaks the build of Qt 6
on GCC 13. Just use the unqualified name everywhere.
2022-08-09 01:54:31 +03:00
Kim Kulling
17c6491c91
Merge pull request #4674 from assimp/kimkulling/do_not_add_dot_when_extension_is_empty_issue-4670
...
Kimkulling/do not add dot when extension is empty issue 4670
2022-08-06 21:22:54 +02:00
Kim Kulling
e419d6898c
Merge branch 'master' into kimkulling/do_not_add_dot_when_extension_is_empty_issue-4670
2022-08-06 18:40:07 +02:00
Kim Kulling
4aaa807704
Add dot only when the extension is not empty.
2022-08-06 18:37:12 +02:00
Kim Kulling
b3b064eb69
Merge pull request #4673 from assimp/kimkulling/introduce-fallthroughs_issue-4654
...
Use [[fallthrough]]; to mark whished fallthroughs
2022-08-06 09:07:30 +02:00
Kim Kulling
ec131d0345
Update CMakeLists.txt
2022-08-05 21:47:58 +02:00
Kim Kulling
1b0682297d
Update to c++17
2022-08-05 21:06:10 +02:00
Kim Kulling
5084a4d155
Use [[fallthrough]]; to mark whished fallthroughs
...
- closes https://github.com/assimp/assimp/issues/4654
2022-08-05 20:49:37 +02:00
Kim Kulling
0422dff537
Merge pull request #4668 from Fiskmans/patch-1
...
Fixed typo
2022-08-03 21:15:59 +02:00
Kim Kulling
2c4f51e863
Merge branch 'master' into patch-1
2022-08-03 14:53:39 +02:00
Kim Kulling
9e0261ea7a
Merge pull request #4669 from assimp/kimkulling/parallel-github-action
...
Experiment: try to enable parallel build
2022-08-03 14:53:31 +02:00
Bengt Rosenberger
abfe8ad413
Added suggested changes and fixed automated check errors
2022-08-01 14:39:10 +02:00
Bengt Rosenberger
f20071d740
Merge remote-tracking branch 'origin/gltf2_metadata_export' into gltf2_metadata_export
2022-08-01 14:12:33 +02:00
Bengt Rosenberger
da58fbe8fb
Got rid of gltf2::ExtrasValue and used gltf2::CustomExtension instead
2022-08-01 14:12:27 +02:00
Bengt Rosenberger
cb4d0ab7aa
Added missing member copy in gltf2::ExtrasValue ctor.
2022-08-01 14:12:27 +02:00
Bengt Rosenberger
233198baef
Fixed extras presence check in gltf2 import.
2022-08-01 14:12:27 +02:00
Bengt Rosenberger
99c3104588
Rewrote gltf2 node extras import and added node extras export.
...
No support for AI_AIVECTOR3D metadata type. No support for json arrays of metadata, just json objects.
2022-08-01 14:12:27 +02:00
Kim Kulling
8c63ed0455
Experiment: try< to enable parallel build
2022-08-01 09:46:08 +02:00
Måns Andersen
0ada8b3b5e
Fixed typo
2022-07-31 22:08:27 +02:00
Kim Kulling
dabaa7bdae
Merge pull request #4666 from assimp/kimkulling/waveform_obj_optimizations
...
Improvements and optimizations for the obj-parsers.
2022-07-31 21:09:44 +02:00
Kim Kulling
eac0876c9b
Refactoring: Use correct prefix for attributes in ObjImport.
2022-07-31 20:54:58 +02:00
Kim Kulling
dddfb74902
Fix another mem-leak
2022-07-31 13:37:42 +02:00
Kim Kulling
c349035cd1
Fix face memleak.
2022-07-31 12:10:43 +02:00
Kim Kulling
85f86ec076
Revert using face as pod type
2022-07-30 21:52:33 +02:00
Kim Kulling
0513eff44f
Merge branch 'master' into kimkulling/waveform_obj_optimizations
2022-07-30 13:15:42 +02:00
Kim Kulling
f6bcb160d0
Improvements of obj-parsers.
2022-07-30 12:58:09 +02:00
Kim Kulling
75e678a0c5
Merge pull request #4656 from waebbl/update-version-tag
...
Update version tag
2022-07-30 09:31:14 +02:00
Bernd Waibel
fb653e8381
Update version tag
...
Closes: https://github.com/assimp/assimp/issues/4655
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2022-07-29 23:10:42 +02:00
Kim Kulling
46aa7a548c
Merge pull request #4632 from enginmanap/master
...
Fix warnings that are causing build fails with specific build flags
2022-07-29 21:20:07 +02:00
Kim Kulling
340d800739
Merge branch 'master' into master
2022-07-29 20:42:56 +02:00
Kim Kulling
8abacebad7
Merge pull request #4635 from Koekto-code/Koekto-code-patch-1
...
Fix mingw include in assimp_cmd.rc
2022-07-29 20:37:34 +02:00
Kim Kulling
173fad738f
Merge branch 'master' into Koekto-code-patch-1
2022-07-29 19:54:41 +02:00
Kim Kulling
cb43690aad
Merge pull request #4538 from luca-della-vedova/fix/collada_parser_sid
...
ColladaParser - Store sid in mSID field
2022-07-29 19:47:57 +02:00
Kim Kulling
4f6640278a
Merge branch 'master' into fix/collada_parser_sid
2022-07-29 19:17:43 +02:00
Kim Kulling
53a4b43ec1
Merge pull request #4643 from sashashura/patch-1
...
Fixes Heap-buffer-overflow in SuperFastHash
2022-07-29 19:15:58 +02:00
Kim Kulling
b0210cb3cf
Merge branch 'master' into patch-1
2022-07-29 17:48:14 +02:00
Bengt Rosenberger
2b804c638f
Merge branch 'master' into gltf2_metadata_export
2022-07-25 21:48:46 +02:00
Engin Manap
7c75a4c59b
Merge branch 'master' into master
2022-07-24 12:31:36 -07:00
Kim Kulling
3c253ca3e5
Merge pull request #4644 from sashashura/patch-2
...
Fixes Heap-use-after-free in Assimp::DXFImporter::ExpandBlockReferences
2022-07-24 12:23:34 +02:00
Kim Kulling
73542f3830
Merge branch 'master' into patch-2
2022-07-24 12:11:18 +02:00
Kim Kulling
9bd2b4da50
Merge pull request #4645 from sashashura/patch-3
...
Fixes Heap-buffer-overflow in std::__1::basic_string<char, std::__1::…
2022-07-24 12:08:51 +02:00
Bengt Rosenberger
bdee65e577
Got rid of gltf2::ExtrasValue and used gltf2::CustomExtension instead
2022-07-22 01:33:05 +02:00
Bengt Rosenberger
517fd3c76c
Added missing member copy in gltf2::ExtrasValue ctor.
2022-07-22 01:07:42 +02:00
Bengt Rosenberger
5a2b811ba3
Fixed extras presence check in gltf2 import.
2022-07-22 01:04:05 +02:00
Bengt Rosenberger
417481d17f
Rewrote gltf2 node extras import and added node extras export.
...
No support for AI_AIVECTOR3D metadata type. No support for json arrays of metadata, just json objects.
2022-07-22 00:44:51 +02:00
Kim Kulling
f07bc2c5b9
Merge branch 'master' into patch-3
2022-07-18 15:19:27 +02:00
Kim Kulling
749fe898b1
Merge pull request #4646 from sashashura/patch-4
...
Fixes Heap-buffer-overflow in Assimp::ObjFileParser::getFace
2022-07-18 15:18:59 +02:00
Kim Kulling
05ececc387
Merge branch 'master' into patch-4
2022-07-18 14:06:29 +02:00
Kim Kulling
316f6e841c
Merge pull request #4647 from sashashura/patch-5
...
Fixes Crash in Assimp::ObjFileMtlImporter::getFloatValue
2022-07-18 14:05:50 +02:00
sashashura
9ddc3a64d7
Fixes Crash in Assimp::ObjFileMtlImporter::getFloatValue
2022-07-16 13:55:08 +01:00
sashashura
772cfdc757
Fixes Heap-buffer-overflow in Assimp::ObjFileParser::getFace
2022-07-16 13:50:54 +01:00
sashashura
94c0e9d890
Fixes Heap-buffer-overflow in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<ch
2022-07-16 13:48:39 +01:00
sashashura
a4274930e4
Fixes Heap-use-after-free in Assimp::DXFImporter::ExpandBlockReferences
2022-07-16 13:46:50 +01:00
sashashura
0c07ea7c71
Fixes Heap-buffer-overflow in SuperFastHash
2022-07-16 13:44:46 +01:00
Kim Kulling
0a9a23a056
Merge pull request #4642 from assimp/kimkulling/fix_stb_header
...
Fix uninitialized variable.
2022-07-16 14:15:53 +02:00
Kim Kulling
bc6acedb33
Fix uninitialized variable.
2022-07-16 13:57:51 +02:00
Engin Manap
684909a691
Fix comments on PR
...
1) Use default instead of empty destructor
2) Remove debug code
2022-07-09 17:23:40 +02:00
Engin Manap
3e424f8119
Merge branch 'assimp:master' into master
2022-07-09 17:17:01 +02:00
Koekto-code
d109db152c
Use winresrc.h for mingw
2022-07-09 15:32:24 +03:00
Kim Kulling
d8f42279a6
Merge pull request #4630 from tanolino/fix_stl_for_over_4GB
...
Fix stl for over 4 gb
2022-07-09 10:46:34 +02:00
Kim Kulling
6ad8ea395a
Merge branch 'master' into fix_stl_for_over_4GB
2022-07-09 09:58:10 +02:00
Engin Manap
e63426b89c
Fix collada parser fails on Mixamo exports
2022-07-08 23:42:41 +02:00
Engin Manap
8a90ba8a39
Don't optimize on debug builds
2022-07-08 23:42:16 +02:00
Kim Kulling
b2d0ac18cf
Merge pull request #4631 from robertosfield/master
...
Build fix for compiling against minizip.
2022-07-08 20:53:40 +02:00
Engin Manap
3890b5dff5
Add missing = operator
...
implicit assignment operator is depricated, these classes were missing
explicit definitions of this operator.
It is causing warnings, specifically -Werror=deprecated-copy
2022-07-08 18:16:02 +02:00
Engin Manap
c3a89fd2d0
Fix non virtual destructor use
2022-07-08 18:16:02 +02:00
Engin Manap
ae276987a0
Remove unnecessary const qualifiers
...
These changes are part of enable -Wall, this specific changes are for
-Werror=ignored-qualifiers
2022-07-08 18:16:02 +02:00
Engin Manap
a10abe0283
Add fallthrough comment to switch case
...
This allows gcc to identify intentional fallthroughs, which are part all
-Wall. Specifically -Werror=implicit-fallthrough
2022-07-08 18:16:02 +02:00
Robert Osfield
8e062792cd
Build fix for compiling against minizip.
2022-07-08 12:46:27 +01:00
Kim Kulling
1c646057ce
Merge pull request #4621 from hectorPiteau/patch-1
...
Fix typo in installation instructions for ubuntu.
2022-07-08 11:43:11 +02:00
Kim Kulling
ee3aaf7446
Merge branch 'master' into patch-1
2022-07-08 11:14:22 +02:00
Kim Kulling
ab4223f671
Merge pull request #4629 from assimp/kimkulling/fix_leak_in_D3MFOpcPackage_issue-4628
...
Fix memory leak in D3MFOpcPackage
2022-07-08 11:13:41 +02:00
tanolino
c23146bb20
Use size_t for the file size in cpp file
...
This pointer juggling in combination with STL files >4GB caused some nasty illegal memory access bugs here. So let's fix it.
2022-07-08 10:26:03 +02:00
Kim Kulling
c5dfcac08a
Update D3MFOpcPackage.cpp
2022-07-08 10:25:40 +02:00
tanolino
24d110199a
Use size_t for file size instead of unsigned int
...
This is one step to help us open files with more then 4 GB size.
2022-07-08 10:19:50 +02:00
Kim Kulling
e254f80a3a
Fix memory leak in D3MFOpcPackage
...
- closes https://github.com/assimp/assimp/issues/4628
2022-07-08 10:17:11 +02:00
Kim Kulling
a1f9a299e9
Merge pull request #4627 from assimp/kimkulling/remove_assert_from_parser_issue-4626
...
Remove assertion test
2022-07-08 10:11:44 +02:00
Kim Kulling
e59b8fb448
Fix typo
2022-07-08 09:50:04 +02:00
Kim Kulling
70b2db19a8
Remove assertion test
...
- Code cleanup
- closes https://github.com/assimp/assimp/issues/4626
2022-07-08 09:47:33 +02:00
Hector Piteau
e77ab52dba
Merge branch 'master' into patch-1
2022-07-08 14:56:21 +09:00
Kim Kulling
7e4a20f843
Merge pull request #4541 from blackhorse-reddog/master
...
I ran into an error while processing coloured binary stl. Just a type but better be fixed
2022-07-07 14:37:24 +02:00
Kim Kulling
e9b08f35b2
Merge branch 'master' into master
2022-07-07 13:21:08 +02:00
Kim Kulling
bac3432733
Merge pull request #4611 from assimp/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2 to 3
2022-07-07 11:10:49 +02:00
Hector Piteau
579bd6b13e
Fix typo in installation instructions for ubuntu.
2022-07-07 17:11:58 +09:00
Kim Kulling
e3c94c6412
Merge branch 'master' into dependabot/github_actions/actions/checkout-3
2022-07-07 09:26:05 +02:00
Kim Kulling
3ae1a37a41
Merge pull request #4610 from assimp/dependabot/github_actions/actions/upload-artifact-3
...
Bump actions/upload-artifact from 2 to 3
2022-07-07 09:25:51 +02:00
Kim Kulling
8d5ed5dfe5
Merge branch 'master' into dependabot/github_actions/actions/upload-artifact-3
2022-07-07 09:09:51 +02:00
Kim Kulling
395b9f535e
Merge pull request #4619 from assimp/kimkulling/fix_texture_loading_3mp_issue-4568
...
Kimkulling/fix texture loading 3MF, reladed issue-4568
2022-07-06 21:21:55 +02:00
Kim Kulling
77a2cdee76
Fix texture fetch for embedded textures in 3mf-files.
2022-07-06 20:59:42 +02:00
Kim Kulling
0db8b3daae
Use default destructor.
2022-07-06 20:59:17 +02:00
dependabot[bot]
9a3bde0e6d
Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 11:41:23 +00:00
Kim Kulling
422ed5279a
Merge branch 'master' into dependabot/github_actions/actions/checkout-3
2022-07-06 13:40:51 +02:00
Kim Kulling
44fad544e6
Merge pull request #4612 from assimp/dependabot/github_actions/actions/cache-3
...
Bump actions/cache from 2 to 3
2022-07-06 13:40:40 +02:00
dependabot[bot]
15030fb7b1
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 07:37:31 +00:00
Kim Kulling
744ed2256b
Merge branch 'master' into dependabot/github_actions/actions/cache-3
2022-07-06 09:37:07 +02:00
Kim Kulling
ec2db278e3
Merge pull request #4613 from assimp/dependabot/github_actions/JesseTG/rm-1.0.3
...
Bump JesseTG/rm from 1.0.2 to 1.0.3
2022-07-06 09:36:49 +02:00
Kim Kulling
2ee7727d86
Merge branch 'master' into dependabot/github_actions/JesseTG/rm-1.0.3
2022-07-06 08:59:58 +02:00
Kim Kulling
13bee0d5e6
Merge pull request #4614 from assimp/kimkulling/fix_bad_alloc_issue-3417
...
Fix possible bad_alloc exception for invalid file
2022-07-06 00:10:02 +02:00
Kim Kulling
eeae6eac26
Update Q3DLoader.cpp
2022-07-05 23:01:18 +02:00
Kim Kulling
2d994e1a28
Fix possible bad_alloc exception for invalid file
...
- Fuzzer finding
- closes https://github.com/assimp/assimp/issues/3417
2022-07-05 22:50:54 +02:00
dependabot[bot]
b05ff26569
Bump JesseTG/rm from 1.0.2 to 1.0.3
...
Bumps [JesseTG/rm](https://github.com/JesseTG/rm ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/JesseTG/rm/releases )
- [Commits](https://github.com/JesseTG/rm/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: JesseTG/rm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 20:00:56 +00:00
dependabot[bot]
200e43b99d
Bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 20:00:53 +00:00
Kim Kulling
c1012b4af0
Merge pull request #4569 from turrisxyz/Dependabot-GitHub-Actions
...
chore: Included githubactions in the dependabot config
2022-07-05 22:00:22 +02:00
Kim Kulling
4a5ad50828
Merge branch 'master' into Dependabot-GitHub-Actions
2022-07-05 20:50:28 +02:00
Kim Kulling
f4c8b55b33
Merge pull request #4597 from luca-della-vedova/fix/collada_empty_animation_name
...
Fix nested animation name being lost in Collada
2022-07-05 20:50:03 +02:00
Kim Kulling
90b75cd6e7
Merge branch 'master' into fix/collada_empty_animation_name
2022-07-05 20:39:19 +02:00
Kim Kulling
50638f98f5
Merge pull request #4609 from assimp/kimkulling/fix-issue-4238
...
Try to fix issue 4238
2022-07-05 20:36:57 +02:00
Kim Kulling
5bce9e8ce5
Update MDLMaterialLoader.cpp
2022-07-05 20:09:16 +02:00
Kim Kulling
a6b1a35748
Try to fix issue 4238
...
- Fix possible nullptr dereferencing.
- closes https://github.com/assimp/assimp/issues/4238
2022-07-05 20:05:10 +02:00
Kim Kulling
6d26e91fc1
Merge branch 'master' into fix/collada_empty_animation_name
2022-07-05 09:28:39 +02:00
Kim Kulling
245cd66d11
Merge pull request #4605 from assimp/kimkulling/fix_memleak_in_xmlparser
...
Fix a memory leak
2022-07-03 08:33:27 +02:00
Kim Kulling
636d8bffe5
Merge branch 'master' into kimkulling/fix_memleak_in_xmlparser
2022-07-02 21:32:24 +02:00
Kim Kulling
9063216893
Fix a memory leak
2022-07-02 21:21:31 +02:00
Kim Kulling
43f060663f
Merge pull request #4601 from assimp/kimkulling/fix_mingw_compilation_issue4586
...
Use mingw.include
2022-06-30 21:46:55 +02:00
Kim Kulling
55625d1af5
Use mingw.include
2022-06-30 20:58:34 +02:00
Kim Kulling
be700a0480
Merge pull request #4598 from assimp/kimkulling/fix-win32-build-with-no-dxsdk9-issue4593
...
Disable build for tools per default
2022-06-29 15:20:41 +02:00
Kim Kulling
eee6269cd1
Diable build for tools per default
...
- closes https://github.com/assimp/assimp/issues/4593
2022-06-29 11:15:29 +02:00
Luca Della Vedova
0924c4710b
Fix nested animation name being lost in Collada
...
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
2022-06-29 11:09:54 +08:00
Kim Kulling
e1e8477732
Merge pull request #4596 from assimp/kimkulling/fix_invalid_opengex_token_match
...
Kimkulling/fix invalid opengex token match
2022-06-28 20:59:37 +02:00
Kim Kulling
96ccaa03a0
Merge branch 'master' into kimkulling/fix_invalid_opengex_token_match
2022-06-28 20:39:54 +02:00
Kim Kulling
f76be1a631
Replace debug code by a real test
2022-06-28 20:38:36 +02:00
kimmi
3d692c72ba
Fix name of test
2022-06-28 20:31:55 +02:00
kimmi
d3c8201614
Fix token match string checks.
2022-06-28 20:31:03 +02:00
Kim Kulling
b6f3c8eb15
Merge pull request #4595 from assimp/kimkulling/fix-doc
...
Update name of package
2022-06-28 18:04:22 +02:00
Kim Kulling
2de95c77a4
Update name of package
...
- closes https://github.com/assimp/assimp/issues/4594
2022-06-28 17:48:06 +02:00
Kim Kulling
33b672288c
Merge pull request #4542 from hgdagon/master
...
Fix GNUC check on Windows
2022-06-24 11:02:25 +02:00
Kim Kulling
5598356157
Merge branch 'master' into master
2022-06-24 09:56:09 +02:00
Kim Kulling
6cebe2c1f1
Merge pull request #4581 from Gargaj/w32fix
...
Fix Windows 32-bit builds
2022-06-24 09:04:47 +02:00
Kim Kulling
855537f232
Merge branch 'master' into master
2022-06-24 09:04:37 +02:00
Kim Kulling
be2e6a1b24
Merge branch 'master' into w32fix
2022-06-24 08:31:41 +02:00
Kim Kulling
038ae8c028
Merge pull request #4585 from onurtore/otore19/sandbox
...
Utilizies AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES flag for Collada meshes.
2022-06-23 16:03:02 +02:00
Onur Berk Töre
b392ff5ad1
Merge branch 'master' into otore19/sandbox
2022-06-21 21:34:50 +03:00
Onur Berk Tore
4f06c41802
Fix: Collada header updated
2022-06-21 21:08:11 +03:00
Kim Kulling
3f3f4dc6b7
Merge pull request #4534 from tanolino/patch-2
...
Inifinite loop on bad import files
2022-06-21 14:01:18 +02:00
Gargaj
bca5650578
fix windows 32 bit builds
2022-06-21 13:40:49 +02:00
Kim Kulling
fff74a4ac0
Merge branch 'master' into patch-2
2022-06-21 13:39:23 +02:00
Kim Kulling
ad2a1546eb
Merge pull request #4584 from kovacsv/delete_unused_variable
...
Remove unused variable.
2022-06-21 13:38:08 +02:00
Onur Berk Tore
c2060a1f7e
Deletion: Removed unnessary header
2022-06-20 23:48:00 +03:00
Onur Berk Tore
1b53f41787
Feature: Utilizes removeEmptyBones flag for Collada
2022-06-20 23:46:29 +03:00
kovacsv
2486a681c1
Remove unused variable.
2022-06-20 21:07:34 +02:00
Kim Kulling
67fe6643c3
Merge pull request #4578 from PercentBoat4164/master
...
Add support for GCC v12
2022-06-20 00:03:59 +02:00
PercentBoat4164
487a9aca2f
Add support for GCC v12
2022-06-16 19:23:55 -04:00
Luca Della Vedova
079b7deb33
Merge branch 'master' of https://github.com/assimp/assimp into fix/collada_parser_sid
2022-06-13 10:20:46 +08:00
hgdagon
ce8081bd0a
Merge branch 'master' into master
2022-06-13 00:15:31 +04:00
Kim Kulling
b8812d2b4f
Merge pull request #4552 from assimp/kimkulling/create_skeleton_data_issue_4015
...
[Experimental] New skeleton container for bones
2022-06-11 21:57:41 +02:00
Kim Kulling
5adea2dbcf
Merge branch 'master' into kimkulling/create_skeleton_data_issue_4015
2022-06-11 21:40:44 +02:00
Kim Kulling
aaa19903c6
Fix merge conflicts
2022-06-11 18:50:18 +02:00
naveen
a5a38775f1
chore: Included githubactions in the dependabot config
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-10 01:30:07 +00:00
Kim Kulling
0768a13057
Merge pull request #4567 from assimp/kimkulling/fix_nullptr_exception_opnglb_export_issue4418
...
Fix possible nullptr exception
2022-06-08 08:13:16 +02:00
Kim Kulling
02b0c89fa4
Fix usage of validation
2022-06-08 00:10:13 +02:00
Kim Kulling
4fb5cf4ba6
Fix possible nullptr exception
...
- closes https://github.com/assimp/assimp/issues/4418
2022-06-07 23:33:56 +02:00
Kim Kulling
34cb936844
Merge pull request #4546 from matthewclendening/fix_FBXConverter_double_precision
...
Fixed FBXConverter build error when using double precision
2022-06-07 22:30:33 +02:00
Kim Kulling
b9fdf6d3ca
Merge branch 'master' into fix_FBXConverter_double_precision
2022-06-07 22:08:56 +02:00
Kim Kulling
bc2786d830
Merge pull request #4564 from ethaninfinity/master
...
Pragma warnings cause build fail with MinGW
2022-06-07 22:08:03 +02:00
Kim Kulling
e7daa5759b
Merge branch 'master' into master
2022-06-07 22:01:00 +02:00
Kim Kulling
7a64f751ab
Merge branch 'master' into master
2022-06-07 21:29:33 +02:00
Kim Kulling
988b5c1f36
Merge pull request #4565 from assimp/kimkulling-create-security-vulnerability
...
Create SECURITY.md
2022-06-07 21:10:44 +02:00
Kim Kulling
096aee2c25
Create SECURITY.md
...
- Prepare a first contact point for security vulnerability
2022-06-07 20:58:45 +02:00
ethaninfinity
d018c3b555
Added back pragma warnings and changed to be MSVC-specific
2022-06-07 11:42:09 -04:00
ethaninfinity
c5b6b26b8b
Revert "Removed pragma warnings"
...
This reverts commit 4961241c09
.
2022-06-07 11:27:12 -04:00
ethaninfinity
4961241c09
Removed pragma warnings
2022-06-06 14:53:03 -04:00
Matthew Clendening
aca02190a7
Merge branch 'master' into fix_FBXConverter_double_precision
2022-06-06 10:01:13 -04:00
Kim Kulling
49fdd12fdf
Merge pull request #4554 from Nor-s/fix_fbx
...
Fix Import a specific FBX model will freeze the app #4395
2022-06-03 13:48:35 +02:00
Kim Kulling
680ea6b0e0
Merge branch 'master' into fix_fbx
2022-06-03 11:21:41 +02:00
Kim Kulling
39a4627519
Merge branch 'master' into kimkulling/create_skeleton_data_issue_4015
2022-06-02 21:47:29 +02:00
Kim Kulling
530ae2b192
Merge pull request #4555 from Underdisc/issue4516
...
Remove dllexport tags from static library builds.
2022-06-02 20:01:51 +02:00
Kim Kulling
638fda66da
Merge branch 'master' into issue4516
2022-06-01 20:47:13 +02:00
nsg
96d2052ed0
Merge branch 'master' into fix_fbx
2022-06-02 02:31:32 +09:00
Kim Kulling
7fcd961a20
Merge pull request #4549 from Gargaj/msvcfix
...
fix msvc warnings-as-errors
2022-06-01 17:39:01 +02:00
Kim Kulling
03532eaec3
Merge branch 'master' into msvcfix
2022-06-01 17:11:06 +02:00
Underdisc
17289985a4
Update comment
2022-06-01 12:45:40 +02:00
Underdisc
02e0d1d05c
Remove dllexport tags from static library builds.
2022-06-01 12:26:04 +02:00
nsg
681eb3e91e
Fix Import a specific FBX model
2022-06-01 17:41:27 +09:00
Kim Kulling
2e944686f8
Merge pull request #4478 from assimp/kimkulling/link_stb_image_statically_issue_4467
...
Link static linkage for std_image.
2022-06-01 00:01:00 +02:00
Kim Kulling
b7a70ac707
Add compiler switgxh for using static linkage for std_image
2022-05-31 23:24:31 +02:00
Kim Kulling
43c767dd62
Merge branch 'master' into msvcfix
2022-05-31 22:06:57 +02:00
Kim Kulling
05867f4752
Merge branch 'kimkulling/link_stb_image_statically_issue_4467' of https://github.com/assimp/assimp into kimkulling/link_stb_image_statically_issue_4467
2022-05-31 20:08:39 +02:00
Kim Kulling
de4fe01c94
Fix clang build
2022-05-31 20:08:26 +02:00
Kim Kulling
e28becbaf5
Update Assimp.cpp
2022-05-31 19:17:08 +02:00
Kim Kulling
e5cd85ac0c
Update M3DWrapper.h
2022-05-31 19:16:46 +02:00
Kim Kulling
4b25eb6c4b
Update Assimp.cpp
2022-05-31 19:09:22 +02:00
Kim Kulling
c0e141a6a9
Update StbCommon.h
2022-05-31 19:08:46 +02:00
Kim Kulling
b00923ebcd
Update Assimp.cpp
2022-05-31 19:08:29 +02:00
Kim Kulling
4e22635406
Update PbrtExporter.cpp
2022-05-31 18:31:19 +02:00
Kim Kulling
472e15c405
Merge branch 'master' into kimkulling/link_stb_image_statically_issue_4467
2022-05-31 17:47:43 +02:00
Kim Kulling
4b923f0603
Merge pull request #4537 from assimp/kimkulling/fix_compiler_warning
...
Cleanups
2022-05-31 17:47:21 +02:00
Kim Kulling
234e55fbb1
Use size_t
2022-05-31 07:29:54 +02:00
Gargaj
f612865f22
fix msvc warnings-as-errors
2022-05-29 01:35:48 +02:00
Matthew Clendening
26233f1b77
Fixed FBXConverter build error (warning as error) when ASSIMP_DOUBLE_PRECISION is defined
2022-05-26 15:06:23 -04:00
Piroska Gabor
ddc63119b5
Using hex instead of decimal
2022-05-26 10:11:30 +02:00
hgdagon
efbcdccac9
Fix GNUC check on Windows (2nd attempt)
2022-05-25 09:18:42 -07:00
hgdagon
affa85a36b
Fix GNUC check on Windows
2022-05-25 07:59:01 -07:00
Piroska Gabor
7ce447294f
I ran into an error while processing colored binary stl. Just a type but
...
better be fixed.
2022-05-24 19:47:24 +02:00
Luca Della Vedova
6b0a7a21a4
Store SID in SID field
...
Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
2022-05-23 14:24:56 +08:00
Kim Kulling
ed3e218550
Bugfix: fix not initialized member attributes
2022-05-21 19:08:43 +02:00
Kim Kulling
e0696486b2
Update gtest
2022-05-21 11:09:46 +02:00
Kim Kulling
e5a2b00719
Fix comparison signed unsigned warning.
2022-05-21 09:47:54 +02:00
tanolino
002d6dc016
Inifinite loop on bad import files
...
I had an import file that caused an infinite loop. I don't exactly know how this algorithm works here but maybe we should change it more.
Probably calculate the amount of steps and chop linear.
2022-05-18 15:22:11 +02:00
Kim Kulling
4d451fe437
Merge pull request #4532 from assimp/kimkulling/fix_undefined_behaviour_in_superfasthast_issue4531
...
Add unittest to reproduce undefined behaviour
2022-05-17 22:08:54 +02:00
Kim Kulling
c623a363a6
Add unittest to reproduce undefined behaviour: left shift on negative value
2022-05-17 20:48:35 +02:00
Kim Kulling
c8dafe0d28
Merge pull request #4527 from motazmuhammad/master
...
Accelerate the Merge vertex post processing step
2022-05-14 11:54:06 +02:00
Kim Kulling
58af6ba9db
Fix compier warning
2022-05-14 09:59:07 +02:00
Kim Kulling
deb1698cbe
Fixed formattings.
2022-05-14 09:56:38 +02:00
motazmuhammad
78dbef8711
Merge branch 'master' into master
2022-05-13 20:15:55 +01:00
motazmuhammad
36d730fc4e
add more comments
2022-05-13 20:10:19 +01:00
motazmuhammad
5d8b1649a4
Revert "use unordered_set to accelerate the vertix merging"
...
This reverts commit 0ffb91fbf1
.
2022-05-13 19:59:16 +01:00
Kim Kulling
1b3e9e4e01
Add testmodel
2022-05-13 19:44:14 +02:00
Kim Kulling
e284fe67b8
Adapt file for skeleton unittest
2022-05-13 19:43:46 +02:00
motazmuhammad
0ffb91fbf1
use unordered_set to accelerate the vertix merging
2022-05-13 18:14:49 +01:00
Kim Kulling
f44a94e118
Merge pull request #4510 from hgdagon/assimp_resource
...
[Feedback needed]Resource script updates
2022-05-12 11:30:39 +02:00
Kim Kulling
9e4fc9a40c
Merge branch 'master' into assimp_resource
2022-05-12 10:38:03 +02:00
Kim Kulling
16b7b35b04
Merge pull request #4484 from RedSkittleFox/MMD_Fixes
...
MMD (pmx) fixes
2022-05-12 10:36:40 +02:00
Kim Kulling
0f780fe141
Merge branch 'master' into MMD_Fixes
2022-05-12 10:00:00 +02:00
Kim Kulling
eeb524a76b
Merge pull request #4525 from Skylion007/skylion007/assimp-perf-clang-tidy
...
Clang-Tidy performance fixes (make values const-ref where needed).
2022-05-12 09:56:19 +02:00
Aaron Gokaslan
787fcc160a
Clang-Tidy performance fixes
2022-05-11 14:03:45 -04:00
hgdagon
cd9f417b84
Merge branch 'master' into assimp_resource
2022-05-10 23:19:36 +04:00
Kim Kulling
ff43768d24
Merge pull request #4524 from assimp/kimkulling/update-readme
...
Add badge to show open issue in percentage
2022-05-10 10:00:01 +02:00
Kim Kulling
31c9a8b0ed
Add badge to show open issue in percentage
2022-05-10 09:15:57 +02:00
Kim Kulling
6c943471f9
Merge pull request #4511 from hgdagon/assimp_viewer
...
[Fedback needed]Minor updates to ASSIMP Viewer
2022-05-09 21:33:33 +02:00
hgdagon
7338833f3b
Merge branch 'master' into assimp_viewer
2022-05-07 18:04:18 +04:00
hgdagon
85d47dc359
Merge branch 'master' into assimp_resource
2022-05-07 18:03:44 +04:00
Kim Kulling
25118d230e
Merge pull request #4509 from hgdagon/assimp_warnings_as_errors
...
Add an option to treat warnings as errors
2022-05-06 19:41:06 +02:00
Kim Kulling
39f5b723f3
Merge branch 'master' into assimp_warnings_as_errors
2022-05-06 19:28:17 +02:00
Kim Kulling
1f68f66162
Merge pull request #4514 from ALittleStardust/master
...
Update pugixml dependency to v1.12.1
2022-05-06 13:43:58 +02:00
ALittleStardust
7bda8b7a77
Updated pugixml to version 1.12.1
2022-05-06 13:39:05 +07:00
hgdagon
f86700f6f4
Merge branch 'master' into assimp_resource
2022-05-04 02:12:08 +04:00
hgdagon
1c2caec2bd
Reverted copyright text back to static text
...
Windres handles it just fine, with the intended result, but RC doesn't seem to like it.
2022-05-03 14:45:24 -07:00
hgdagon
26ab3ce480
Update assimp_view.rc
...
Removed dead link and updated copyright string in the About dialog.
2022-05-03 14:16:51 -07:00
hgdagon
e59326a738
Merge branch 'master' into assimp_viewer
2022-05-04 00:44:53 +04:00
hgdagon
936cc791f2
Move `ASSIMP_WARNINGS_AS_ERRORS` check
2022-05-03 13:01:20 -07:00
hgdagon
e1f0f50010
Update CMakeLists.txt
2022-05-03 12:57:45 -07:00
hgdagon
18bfbaeee1
Actually set `ASSIMP_WARNINGS_AS_ERRORS` to ON by default
...
Whoops....
2022-05-03 12:31:09 -07:00
hgdagon
e97e7574ae
Merge branch 'master' into assimp_warnings_as_errors
2022-05-03 23:24:52 +04:00
hgdagon
4faae3d0e9
Updated build options in Build.md
2022-05-03 12:24:34 -07:00
hgdagon
209c302f56
Merged `ASSIMP_WARNINGS_AS_ERRORS` and `ASSIMP_WARNINGS_MAX`
...
And set it ON by default.
2022-05-03 12:23:33 -07:00
Kim Kulling
abfb26ab6f
Merge pull request #4508 from hgdagon/master
...
Fixed library names for MinGW/MSYS2
2022-05-03 17:48:22 +02:00
Kim Kulling
3dd2dbd916
Merge branch 'master' into master
2022-05-03 17:19:06 +02:00
Kim Kulling
f4b1a23010
Merge branch 'master' into assimp_viewer
2022-05-03 17:18:05 +02:00
Kim Kulling
bfb46ca5ef
Fix protocol type.
2022-05-03 17:16:25 +02:00
Kim Kulling
e8abb0fc1c
Merge pull request #4512 from umlaeute/aiTextureTypeToString
...
Rename TextureTypeToString() to aiTextureTypeToString()
2022-05-02 10:14:41 +02:00
IOhannes m zmölnig
1d3d5c4bb6
Rename TextureTypeToString() to aiTextureTypeToString()
...
Closes: https://github.com/assimp/assimp/issues/4493
2022-05-01 13:27:42 +02:00
Kim Kulling
d5c798f325
Fix leak
2022-04-30 21:02:48 +02:00
hgdagon
bf32c4c408
Fixed `ASSIMP_WARNINGS_MAX` reference
2022-04-30 08:40:48 -07:00
U-DESKTOP-0R560PH\George
a7e2b3ad30
Fixed library names for MinGW/MSYS2
2022-04-30 08:14:16 -07:00
U-DESKTOP-0R560PH\George
63183a048c
Minor updates to ASSIMP Viewer
2022-04-30 08:10:47 -07:00
U-DESKTOP-0R560PH\George
694dc8a0c3
Add an option to treat warnings as errors
2022-04-30 08:08:34 -07:00
U-DESKTOP-0R560PH\George
94ebe71969
Resource script updates
2022-04-30 08:01:15 -07:00
Kim Kulling
64a6968254
Add skeleton generation to aiScene
2022-04-28 21:43:02 +02:00
Kim Kulling
0afb594f40
Generate container for skeleton during FBX-Import
2022-04-28 21:19:10 +02:00
Kim Kulling
6cdd1d3cc6
Generate container for skeleton during FBX-Import
2022-04-28 21:12:26 +02:00
Kim Kulling
461370946c
Merge pull request #4506 from assimp/kimkulling/remove_deprecated_readme_issue4505
...
Delete README
2022-04-28 10:41:37 +02:00
Kim Kulling
1a47f52eb8
Merge branch 'master' into kimkulling/remove_deprecated_readme_issue4505
2022-04-28 10:26:27 +02:00
Kim Kulling
92bdb993e9
Merge pull request #4507 from assimp/kimkulling/disable_ifc_curve_floating_assertion_issue4450
...
Disable assertion tests floating point against inf for Intel oneAPI
2022-04-28 10:26:13 +02:00
Kim Kulling
1ac9173e8c
Disable assertion tests floating point against inf for Intel oneAPI
...
- closes https://github.com/assimp/assimp/issues/4450
2022-04-28 10:08:01 +02:00
Kim Kulling
0b3232ce10
Delete README
...
- closes https://github.com/assimp/assimp/issues/4505
2022-04-28 09:22:02 +02:00
Kim Kulling
66cfe0cdf4
Merge pull request #4502 from assimp/kimkulling/out_of_range_access_error_issue4495
...
Fix out-of-range access in ASE-Parser
2022-04-27 20:33:06 +02:00
Kim Kulling
174b2fcf59
Fix invalid use of material reference.
2022-04-27 20:21:30 +02:00
Kim Kulling
37ec378b60
Fixx out-of-range access in ASE-Parser
...
- closes https://github.com/assimp/assimp/issues/4495
2022-04-27 19:52:23 +02:00
Kim Kulling
458a0314aa
Merge pull request #4501 from assimp/kimkulling-patch-1
...
Document fuzz folder
2022-04-27 15:34:36 +02:00
Kim Kulling
6c2f1378e3
Document fuzz folder
...
- closes https://github.com/assimp/assimp/issues/4497
2022-04-27 15:09:30 +02:00
Kim Kulling
d3a8306f59
Merge pull request #4481 from hgdagon/master
...
Some Windows/MSYS2-specific fixes
2022-04-27 10:31:27 +02:00
Kim Kulling
cce62fded1
Merge branch 'master' into master
2022-04-27 08:45:16 +02:00
Kim Kulling
88a9598ded
Merge pull request #4490 from Mykhailo418/master
...
FbxConverter: update bone mOffsetMatrix
2022-04-25 21:35:34 +02:00
Kim Kulling
d14bff5a9f
Merge branch 'master' into master
2022-04-24 18:17:33 +02:00
Kim Kulling
f3c9c7b413
Merge branch 'master' into SmallAllocationFixInFBXLoader
2022-04-22 08:37:58 +02:00
Florian Born
a415f33fb5
merge failure, parts in this file were missing
2022-04-21 16:09:28 +02:00
Florian Born
7f0509ae87
Stack allocator is now inline
2022-04-21 11:33:04 +02:00
Kim Kulling
02f070667a
Merge pull request #4483 from lgmcode/master
...
Fix draco building error when import assimp with cmake add_subdirectory #3663
2022-04-20 23:22:05 +02:00
Kim Kulling
d6aa3db4ef
Merge branch 'master' into master
2022-04-20 21:59:17 +02:00
Kim Kulling
41fbc5e715
Merge pull request #4488 from HadesD/patch-1
...
Fix ogre xml serializer
2022-04-20 21:58:49 +02:00
Florian Born
0355ae967f
compile fix on other platforms
2022-04-20 17:57:03 +02:00
Florian Born
320775b939
Compile fix
2022-04-20 16:39:36 +02:00
Florian Born
d3646c3118
Proper destruction of individual objects
2022-04-20 16:11:09 +02:00
Florian Born
2b3c49cb93
All allocation changes
2022-04-20 12:33:39 +02:00
Florian Born
1d6ed840fb
Replace single allocations in fbx loader by block allocation
2022-04-20 12:14:35 +02:00
Kim Kulling
37be87b0bd
Some minor findings
2022-04-19 23:37:16 +02:00
Kim Kulling
7f913c180b
Merge branch 'master' into master
2022-04-19 15:23:09 +02:00
Mykhailo418
8a1dc87b4c
remove absolute_transform in FBXConverter
2022-04-18 18:10:59 +03:00
Mykhailo418
e3def37f42
assing absolute_transform to matrix
2022-04-18 17:26:37 +03:00
Mykhailo418
863e3e0ccb
FbxConverter, bone mOffsetMatrix update
2022-04-18 16:02:17 +03:00
Ichiro
9ab6ebd363
Fix foreach
2022-04-18 04:11:06 +09:00
Ichiro
128242e371
Fix ogre xml serializer
2022-04-18 01:28:03 +09:00
RedSkittleFox
feec92022f
Merge branch 'master' into MMD_Fixes
2022-04-13 21:07:58 +02:00
RedSkittleFox
5ab1be8d04
Fixed deprecated class usage; removed unsupported C++17 feature
2022-04-13 11:38:57 +02:00
Kim Kulling
b699d3a26a
Merge pull request #4440 from sacereda/obj-pbr-explicit
...
Avoid setting PBR properties when they are not found on mtl file
2022-04-13 10:11:53 +02:00
RedSkittleFox
f26dc74f21
Fixed MMD Importer not loading files from buffer and enabled unit test
2022-04-13 02:51:12 +02:00
RedSkittleFox
b38c25fe09
Reuploaded (fixed) mmd model
2022-04-13 02:50:31 +02:00
Kim Kulling
aa814a522d
Merge branch 'master' into obj-pbr-explicit
2022-04-12 11:12:58 +02:00
Kim Kulling
dc8ba61095
Merge pull request #4463 from jakrams/user/jakras/bitangent-fuzzer-fix
...
Prevent nullptr access to normals-array in bitangent computation
2022-04-12 11:10:47 +02:00
Kim Kulling
ae9f5b6fc5
Merge branch 'master' into user/jakras/bitangent-fuzzer-fix
2022-04-12 10:41:43 +02:00
Kim Kulling
26e471ad62
Merge pull request #4454 from mpcarlos87/Android-Script-Update
...
Updated Android build script
2022-04-12 10:41:13 +02:00
Guangmo Lin
778ac976b2
Fix draco building error when import assimp with cmake add_subdirectory #3663
2022-04-11 15:08:20 +08:00
Kim Kulling
6943e59886
Merge branch 'master' into obj-pbr-explicit
2022-04-08 14:36:57 +02:00
hgdagon
518d50d2e6
Fixes for Windows/MSYS2
2022-04-07 03:07:57 -07:00
Kim Kulling
e5747dad9b
First concepts
2022-04-05 20:07:22 +02:00
Kim Kulling
5c438963c0
Disable correct compiler-warning: unused-function.
2022-04-05 19:59:36 +02:00
Kim Kulling
97c7ab3c05
Move stb_image header into its own header file.
2022-04-05 19:53:41 +02:00
Kim Kulling
fa5a8476ee
Fix gcc warning: unused function
2022-04-05 19:04:29 +02:00
Kim Kulling
b8658cefe0
Link std_image statically.
2022-04-05 18:48:45 +02:00
Carlos Martinez Perez
2bfb78f91d
Merge branch 'master' into Android-Script-Update
2022-04-03 12:25:04 +02:00
Kim Kulling
75ab2beb06
Merge pull request #4466 from ifiddynine/patch-3
...
Detect Roughness factor exported by Blender
2022-04-02 21:54:06 +02:00
Kim Kulling
88dadd6c40
Merge branch 'master' into patch-3
2022-04-02 11:22:33 +02:00
Kim Kulling
8109689dc2
Merge branch 'master' into Android-Script-Update
2022-04-01 14:57:47 +02:00
Kim Kulling
42adc82354
Merge pull request #4473 from xiaohunqupo/master
...
Fix compile error: When enable macro ASSIMP_DOUBLE_PRECISION
2022-03-31 18:35:07 +02:00
xiaohunqupo
a050dee096
Fix compile error:When enable macro ASSIMP_DOUBLE_PRECISION
2022-03-31 16:08:39 +08:00
xiaohunqupo
de6e90a657
Fix commit error
2022-03-31 15:36:57 +08:00
xiaohunqupo
2152aae2a3
Fix compile error due to namespace conflicts in VC140.
2022-03-31 15:34:49 +08:00
xiaohunqupo
b08c04b87a
Fix compile errro in VC140
2022-03-31 15:08:12 +08:00
xiaohunqupo
cc515746f7
Fix v140 compile errror
2022-03-31 14:58:31 +08:00
Danny许
8e075ce713
Update ObjFileParser.cpp
2022-03-31 14:53:33 +08:00
Danny许
18c4ebaa13
Fix compile in VC140
2022-03-31 14:28:35 +08:00
Danny许
f985fe12cc
Fix compile error
...
When enable macro ASSIMP_DOUBLE_PRECISION
2022-03-31 11:20:18 +08:00
Danny许
422a45694a
Merge pull request #4 from assimp/master
...
Merge
2022-03-31 11:18:37 +08:00
Filip Lundgren
4175198d04
Detect Roughness factor exported by Blender
...
Matches the logic used by Blender's own FBX exporter / importer.
2022-03-26 22:33:10 +01:00
Carlos Martinez Perez
257927d7cf
Merge branch 'master' into Android-Script-Update
2022-03-24 18:59:16 +01:00
Kim Kulling
ba6c67c328
Merge pull request #4464 from assimp/kimkulling/revert_static_runtime_Selection_for_all
...
Use static runtime only on option is selected
2022-03-24 08:01:49 +01:00
Kim Kulling
0a56065962
Use static runtime only on option is selected
2022-03-24 00:41:07 +01:00
Jan Krassnigg
537c46a42a
Prevent nullptr access to normals-array in bitangent computation
2022-03-23 15:45:09 +01:00
Carlos Martinez Perez
90a24440db
- Adapted bat file to new NDK and toolchain
...
- Able to build x86, x86_64, armv8, armv7 for android
- Automatically detects latest ndk on your system
2022-03-18 17:01:45 +01:00
Promit Roy
5ec7e57b99
Merge branch 'assimp:master' into master
2022-03-17 15:00:09 -04:00
Promit Roy
68d33a6e13
Added support for more bone weights in GLTF2
...
The GLTF2 importer doesn't actually read beyond the first four bone weights (first attribute). This patch expands the parser to store as many bone weights as are available in the file.
2022-03-17 14:55:26 -04:00
Kim Kulling
19f2a624a9
Merge pull request #4451 from Promit/promit/gltf-attrib-bug-fix
...
GLTF2 attribute name/parse bug fix
2022-03-17 11:35:44 +01:00
Promit Roy
765b38cf04
Update glTF2Asset.inl
...
Fixing mistakes in attribute names for GLTF. This causes attribute index to not be parsed out correctly (e.g. JOINTS_1) and fails the scene load.
2022-03-16 16:49:45 -04:00
Kim Kulling
a916a0eda5
Merge pull request #4448 from assimp/kimkulling/MDL-fix_stackoverflow-issue4447
...
Fix stack-overflow in MDLLoader
2022-03-16 14:14:46 +01:00
Kim Kulling
c2b05acaa6
Fix stack-overflow in MDLLoader
...
- Use correct len to copy filename.
- Closes https://github.com/assimp/assimp/issues/4447
2022-03-16 13:59:21 +01:00
Kim Kulling
a828114a1d
Merge pull request #4446 from assimp/kimkulling/mdlimporter_fix_nullptr_dereferencing
...
Fix nullptr dereferencing
2022-03-16 10:23:29 +01:00
Kim Kulling
552f3a308d
Fix nullptr dereferencing
...
- Check if we have any texture coordinates before calculating them
- closes https://github.com/assimp/assimp/issues/4445
2022-03-16 10:08:20 +01:00
Kim Kulling
784d9615f5
Merge pull request #4444 from EYHN/windows-crt
...
Add USE_STATIC_CRT option
2022-03-15 21:55:21 +01:00
Kim Kulling
6484dd6825
Merge branch 'master' into windows-crt
2022-03-15 21:29:21 +01:00
Kim Kulling
d594e6eea4
Merge branch 'master' into obj-pbr-explicit
2022-03-15 14:30:24 +01:00
Kim Kulling
bcee205542
Merge pull request #4437 from jaefunk/issue_4349
...
add ifndef guard for resolve to fails to compile
2022-03-15 14:28:43 +01:00
Kim Kulling
0904490150
Merge branch 'master' into issue_4349
2022-03-15 14:11:57 +01:00
Kim Kulling
7919461951
Merge pull request #4441 from assimp/kimkulling/fix_doxygen_version
...
Update version in doxy-config
2022-03-15 14:11:38 +01:00
Kim Kulling
e4fb0e0960
Merge branch 'master' into kimkulling/fix_doxygen_version
2022-03-15 13:33:54 +01:00
Kim Kulling
d87111983a
Merge pull request #4431 from TerenceRussell/master
...
Added missing ObjMaterial.h to CMakeLists
2022-03-15 13:33:13 +01:00
Kim Kulling
b1dc8cfe56
Merge branch 'master' into master
2022-03-15 11:58:45 +01:00
Kim Kulling
7296ffc3f5
Merge pull request #4426 from sacereda/info-material-properties
...
Add properties information on assimp info command line
2022-03-15 11:57:58 +01:00
Kim Kulling
b567497a17
Merge branch 'master' into info-material-properties
2022-03-15 10:57:14 +01:00
Kim Kulling
e1dae1402e
Merge pull request #4425 from sacereda/metallic-roughness-split
...
glTF2: Metallic roughness split
2022-03-15 10:56:43 +01:00
Kim Kulling
68f3386c7b
Merge branch 'master' into metallic-roughness-split
2022-03-15 08:38:38 +01:00
Kim Kulling
9e0357a8b6
Merge pull request #4423 from youkeyao/parse_obj_anisotropy
...
Fix getting anisotropy in obj
2022-03-15 08:38:13 +01:00
Kim Kulling
72888c49f6
Merge branch 'master' into parse_obj_anisotropy
2022-03-15 08:13:35 +01:00
eyhn
cd7df53a72
Add USE_STATIC_CRT option
2022-03-15 14:50:01 +08:00
jaefunk
4457d9300a
Merge branch 'master' into issue_4349
2022-03-14 15:41:20 +09:00
Kim Kulling
0ef830d2b1
Update version in doxy-config
2022-03-12 16:57:27 +01:00
Sergio Acereda
729ab8ae33
Trying to fix reorder error
2022-03-12 08:15:11 +01:00
Sergio Acereda
26bb601d8f
Fix includes
2022-03-12 08:03:27 +01:00
Sergio Acereda
51e248909f
Avoid setting metallic/roughness/sheen/clearcoat properties when they are not found on mtl file.
2022-03-11 22:29:59 +01:00
jaefunk
e02d51ec24
add ifndef guard for resolve to fails to compile
2022-03-11 10:51:13 +09:00
Kim Kulling
a305d14b8f
Merge pull request #4421 from RichardTea/update_ai_texture_type_max
...
Update AI_TEXTURE_TYPE_MAX
2022-03-10 13:54:55 +01:00
Kim Kulling
5e69517742
Merge branch 'master' into update_ai_texture_type_max
2022-03-10 11:37:46 +01:00
Kim Kulling
1b3ae63527
Merge pull request #4434 from karjonas/always_true
...
Fix 'i >= 0' always true bug
2022-03-10 11:37:03 +01:00
Kim Kulling
47f004517f
Add missing cast.
2022-03-10 10:33:29 +01:00
Jonas Karlsson
c14eccefaf
Fix 'i >= 0' always true bug
...
If 'disk_filename' does not contain a dot (.) then 'i' would overflow.
Making 'i' an int makes sure the for loop works as intended.
2022-03-09 23:05:47 +01:00
Terence Russell
efe92e9ec1
Merge branch 'assimp:master' into master
2022-03-09 10:15:41 -07:00
Kim Kulling
1bf5dd2731
Merge pull request #4432 from assimp/kimkulling/init_fbx_texture_members_issue4429
...
Fix missing members and do some small refactorings.
2022-03-09 11:35:01 +01:00
kimkulling
26598dc6bd
Forget to save file.
2022-03-09 11:00:05 +01:00
kimkulling
76e10b96fc
Fix missing members and do some small refactorings.
2022-03-09 10:51:37 +01:00
Terence Russell
b35879989c
Added missing ObjMaterial.h to CMakeLists
2022-03-08 20:00:22 -07:00
Kim Kulling
7aa87a9765
Merge branch 'master' into kimkulling/create_skeleton_data_issue_4015
2022-03-08 19:10:53 +01:00
Kim Kulling
40d896ccc1
Merge pull request #4403 from JaroslavPribyl/fix/obj_with_bspline_crash
...
Fix parsing OBJ with free-form curve/surface body statements
2022-03-07 21:39:38 +01:00
Kim Kulling
ba379c20e1
Merge branch 'master' into fix/obj_with_bspline_crash
2022-03-06 17:39:57 +01:00
Kim Kulling
92b5c284ce
Merge pull request #4203 from RichardTea/deprecated_gltfpbr_macros
...
Reinstate a deprecated gltfpbr macro: AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS
2022-03-06 17:39:35 +01:00
Kim Kulling
9ca9254445
Merge branch 'master' into deprecated_gltfpbr_macros
2022-03-06 11:15:49 +01:00
Kim Kulling
7eb5fd0e4e
Merge pull request #4427 from assimp/smartday-master
...
Smartday master
2022-03-05 23:00:21 +01:00
Kim Kulling
80a8807c47
Fix compiler warnings
2022-03-05 20:37:34 +01:00
Kim Kulling
d4527d4e87
Merge branch 'master' into master
2022-03-05 14:00:32 +01:00
Sergio Acereda
a2543e7151
Add properties information on assimp info command line
2022-03-04 17:09:29 +01:00
Sergio Acereda
a1e03e3481
clang-format
2022-03-04 14:31:06 +01:00
Sergio Acereda
cfe84b9260
Use generic METALNESS and DIFFUSE_ROUGHNESS texture types
2022-03-03 16:18:25 +01:00
Sergio Acereda
52008ec989
Apply clang-format
2022-03-03 15:42:23 +01:00
youkeyao
9b227fc262
Fix getting anisotropy in obj
2022-03-03 01:01:34 +08:00
RichardTea
8a6a1fc2df
Update AI_TEXTURE_TYPE_MAX
...
Must be equal to the largest aiTextureType_XXX enum
2022-03-01 12:12:07 +00:00
RichardTea
d704824be3
Merge branch 'master' into deprecated_gltfpbr_macros
2022-03-01 10:01:43 +00:00
Kim Kulling
bbcefbd034
Merge pull request #4417 from rbsheth/rbsheth_fix_hunter
...
Update version of Hunter to v0.24.0 that supports VS 2022
2022-02-28 23:48:19 +01:00
Jaroslav Pribyl
62930076af
Merge branch 'master' into fix/obj_with_bspline_crash
2022-02-26 04:03:59 +01:00
Rahul Sheth
e368a69824
Merge branch 'master' into rbsheth_fix_hunter
2022-02-25 14:58:07 -06:00
Kim Kulling
3957fbba8b
Merge pull request #4416 from SolaToucher/master
...
Optimize the problem of excessive memory allocation in FBX import
2022-02-25 21:03:47 +01:00
Rahul Sheth
8e59287b94
Update version of Hunter to v0.24.0 that supports VS 2022
2022-02-25 13:52:18 -06:00
sola
c73ff82fc4
FBXConvert::ConvertMeshMultiMaterial: allocate memory using variable count_vertices
2022-02-25 19:58:44 +08:00
Kim Kulling
04858c5d89
Merge pull request #4409 from TerenceRussell/master
...
Expose the original OBJ "illum" value
2022-02-25 00:06:12 +01:00
Kim Kulling
94178df61b
Merge branch 'master' into master
2022-02-24 19:31:31 +01:00
Kim Kulling
1b2f705ee4
Merge pull request #4415 from assimp/kimkulling/fix_negative_offset_in_hast_access-issue4414
...
Fix possible negative array access
2022-02-24 17:20:03 +01:00
Kim Kulling
0dc24ab3a7
Fix declaration of offset
2022-02-24 17:04:39 +01:00
Kim Kulling
cf96639119
Fix possible negative array access
...
- Return when the calculated offset gets negative
- closes https://github.com/assimp/assimp/issues/4414
2022-02-24 16:49:35 +01:00
Kim Kulling
72da1e6d7b
Merge branch 'master' into master
2022-02-23 21:20:39 +01:00
Kim Kulling
e3001f1eb7
Merge pull request #4408 from assimp/kimkulling/fix_ordering_of_gltf2_issue4407
...
Fix ordering of member initialization
2022-02-23 21:19:33 +01:00
Kim Kulling
6f31254ae1
Ensure dictionary for LazyDics is created before adding content to it
2022-02-23 20:57:15 +01:00
Terence Russell
3a09d19374
Merge branch 'master' into master
2022-02-22 18:43:11 -07:00
Terence Russell
4ddacdb5df
Expose the original OBJ illum model as a material property.
2022-02-22 17:55:41 -07:00
Kim Kulling
466b34cf53
Merge branch 'master' into kimkulling/fix_ordering_of_gltf2_issue4407
2022-02-22 21:09:11 +01:00
Kim Kulling
aa04ee89f1
Fix init order to fix build
2022-02-22 21:07:42 +01:00
Kim Kulling
a6808b868c
Small code cleanup
2022-02-22 21:07:23 +01:00
Jaroslav Přibyl
480d6fee2a
cleanup
2022-02-22 01:46:47 +01:00
Jaroslav Přibyl
62c9347985
fixed obj parsing with cstype
2022-02-22 01:32:41 +01:00
Kim Kulling
ba785910d1
Merge pull request #4402 from assimp/kimkulling/warn_when_viewer_shall_be_build_on_non_win32
...
Show warning when assimp_viewer cannot be build on target platform
2022-02-21 15:39:11 +01:00
Kim Kulling
caaeef2b56
Update CMakeLists.txt
...
- Show a cmake-warning if assimp_view shall be build for linux / mac
2022-02-21 15:17:23 +01:00
Kim Kulling
a34688230d
Merge pull request #4393 from TerenceRussell/master
...
Added support for "map_Bump -bm"
2022-02-20 20:14:21 +01:00
Kim Kulling
52b106bf7e
Merge branch 'master' into master
2022-02-20 19:04:32 +01:00
Kim Kulling
eed5570c39
Merge pull request #4399 from assimp/kimkulling/fix_typo_in_cmake
...
Update CMakeLists.txt
2022-02-20 18:45:06 +01:00
Kim Kulling
3e7294feeb
Merge branch 'master' into kimkulling/fix_typo_in_cmake
2022-02-20 15:33:54 +01:00
Kim Kulling
2c33ed1087
Merge pull request #4397 from youkeyao/issue_3191
...
update the calculation and orthogonalization for bitangent
2022-02-20 15:32:41 +01:00
Kim Kulling
b625961197
Merge branch 'master' into issue_3191
2022-02-20 15:14:46 +01:00
Kim Kulling
03f44cd983
Merge branch 'master' into kimkulling/fix_typo_in_cmake
2022-02-20 14:17:27 +01:00
Kim Kulling
5c53726c8e
Merge pull request #4394 from BA7LYA/master
...
udpate build script to fit "Visual Studio 16 2019" Generator
2022-02-20 14:07:49 +01:00
Kim Kulling
96522bc114
Update CMakeLists.txt
2022-02-20 14:06:11 +01:00
Kim Kulling
b825740df7
Merge branch 'master' into master
2022-02-20 12:53:26 +01:00
Kim Kulling
f952100dbb
Merge pull request #4398 from assimp/kimkulling-patch-1
...
Fix stat for 32-biut linuxes
2022-02-20 12:19:06 +01:00
Kim Kulling
14874d26f4
Fix stat for 32-biut linuxes
...
- Reenable fix to ensure that stat works correctly on 32-bit linuxes again
- stat will return 32-bit inodes when checking a file. So when this call will be used on a 64-bit linux this will cause errors like:
Error writing to foo: Value too large for defined data type
File I/O error: foo
- closes https://github.com/assimp/assimp/issues/4390
2022-02-20 11:53:26 +01:00
youkeyao
ad766cb738
update the calculation and orthogonalization for bitangent
2022-02-20 17:15:11 +08:00
ChenJunshuai
efc60076dc
udpate build script to fit "Visual Studio 16 2019" Generator
2022-02-18 19:01:47 +08:00
Terence Russell
17123ed4a1
Add support for bump -bm (bump/normal multiplier)
2022-02-17 22:10:46 -07:00
Kim Kulling
dff3620138
Merge pull request #4391 from jcfr/fix-assimp-target-install-rule-fully-specifying-components
...
cmake: Fix assimp target install rule fully specifying component
2022-02-17 23:13:43 +01:00
Jean-Christophe Fillion-Robin
33a48c6ca6
cmake: Fix assimp target install rule fully specifying component
...
This commit ensures generated install rules for the assimp target are
all consistently associated with components named after LIBASSIMP_COMPONENT
or LIBASSIMP-DEV_COMPONENT CMake variables.
It streamlines the packaging of specific components of assimp in client
projects leveraging the CPACK_INSTALL_CMAKE_PROJECTS variable.
Failing to do so leads to "/path/to/assimp-build/code/cmake_install.cmake"
file having install rules associated with a component called "Unspecified".
See https://cmake.org/cmake/help/v3.10/command/install.html#installing-targets
and https://cmake.org/cmake/help/v3.22/module/CPack.html#variable:CPACK_INSTALL_CMAKE_PROJECTS
2022-02-17 05:47:34 -05:00
Kim Kulling
510504a2c6
Merge pull request #4387 from assimp/kimkulling/fbx_use_ai_epsilon
...
Refactoring: add usage of ai_epsilon to fbx.
2022-02-16 22:38:34 +01:00
Kim Kulling
9bf5d01469
Fix invalid initialization of constexpr.
2022-02-16 21:22:35 +01:00
Kim Kulling
9e23d771bc
Fix invalid initialization of constexpr.
2022-02-16 21:19:17 +01:00
Kim Kulling
76a7614c4b
Adapt ai_epsilon to code
2022-02-16 20:07:27 +01:00
Kim Kulling
50d7e6fc61
Add definition for skeleton
2022-02-16 00:18:32 +01:00
Kim Kulling
067c5d9ec4
Refactoring: add usage of ai_epsilon to fbx.
2022-02-16 00:17:26 +01:00
Kim Kulling
884bb39391
Merge pull request #4381 from assimp/kimkulling/introduce_compression
...
Kimkulling/introduce compression
2022-02-15 19:09:52 +01:00
Kim Kulling
5d8e5fd130
Update XFileParser.cpp
...
Fix typo
2022-02-15 16:10:33 +01:00
Kim Kulling
7c13b16d30
Add missing flush modes supported by zlib
2022-02-14 20:51:06 +01:00
Kim Kulling
416f823866
Merge branch 'kimkulling/introduce_compression' of https://github.com/assimp/assimp into kimkulling/introduce_compression
2022-02-14 20:25:27 +01:00
Kim Kulling
c718500c55
Fix last review findings and finish windows bits
2022-02-14 20:25:18 +01:00
Kim Kulling
9a585d7b3c
Merge branch 'master' into kimkulling/introduce_compression
2022-02-13 19:58:22 +01:00
Kim Kulling
52b6c4f7c0
Fix broken importer and add some review findings2
2022-02-13 18:44:22 +01:00
Kim Kulling
3e09d462fa
Fix compression for fbx
2022-02-12 09:25:45 +01:00
Kim Kulling
97c7e084c2
Merge pull request #4380 from malytomas/tomas/fixsizet
...
fix missing include for size_t
2022-02-11 08:55:35 +01:00
Kim Kulling
23b43d1825
Fix X-Importer decompress algorithm
2022-02-08 21:43:14 +01:00
Kim Kulling
27bcddfb1a
Migrate more importers to compression class
2022-02-08 20:43:47 +01:00
Tomas Maly
acf73659d8
fix missing include for size_t
2022-02-08 00:08:46 +01:00
Kim Kulling
dcd5c1dcfd
Merge pull request #4375 from assimp/kimkulling/introduce_compression
...
Introduce compression class to encapsulate compression via zlib
2022-02-07 10:23:23 +01:00
Kim Kulling
ce61ea56a5
Merge branch 'master' into kimkulling/introduce_compression
2022-02-07 10:02:51 +01:00
Kim Kulling
ed8612ea35
Merge pull request #4376 from assimp/kimkulling-lwo-enum-validation_issue4236-1
...
LWO: validate enum value before parsing it
2022-02-07 10:02:13 +01:00
Kim Kulling
389fc11e5b
Merge branch 'master' into kimkulling-lwo-enum-validation_issue4236-1
2022-02-07 09:38:36 +01:00
Kim Kulling
a9e2864cb4
Merge pull request #4378 from assimp/kimkulling-temporary-disable-hunter
...
Update ccpp.yml
2022-02-07 09:36:16 +01:00
Kim Kulling
836d12b9af
Update ccpp.yml
...
- Temporary disable hunter for windows
- closes https://github.com/assimp/assimp/issues/4377
2022-02-07 09:23:59 +01:00
Kim Kulling
9a15ca1007
LWO: validate enum value before parsing it
...
- Check for valid enum values
- closes https://github.com/assimp/assimp/issues/4236
2022-02-07 09:08:23 +01:00
Kim Kulling
eb5a7938e0
Remove dead code
2022-02-06 21:16:04 +01:00
Kim Kulling
9335cc30ab
INtroduce compression class to encapsulate compression via zlib
2022-02-06 20:42:58 +01:00
Kim Kulling
ecfb9757d0
Merge pull request #4371 from assimp/kimkulling-remove_travis
...
Delete .travis.sh
2022-02-03 14:24:53 +01:00
Kim Kulling
d643146192
Delete .travis.yml
2022-02-03 14:03:50 +01:00
Kim Kulling
a595cdad06
Delete .travis.sh
2022-02-03 14:03:20 +01:00
Kim Kulling
ce880331df
Merge pull request #4366 from malytomas/master
...
fix compilation with clangcl on windows
2022-02-02 22:36:01 +01:00
Kim Kulling
4141260fc9
Merge branch 'master' into master
2022-02-02 21:21:01 +01:00
Kim Kulling
6c4addf158
Merge pull request #4367 from umlaeute/bugfix/bigendian
...
use fully qualified namespace in byteswap macros
2022-01-31 23:48:41 +01:00
IOhannes m zmölnig (Debian/GNU)
ed6b6cd65c
use fully qualified namespace in byteswap macros
...
Closes: https://github.com/assimp/assimp/issues/4358
2022-01-31 14:42:59 +01:00
Tomas Maly
3976f9a092
fix compilation with clangcl on windows
2022-01-30 22:04:41 +01:00
Kim Kulling
a214b0833f
Merge pull request #4359 from assimp/kimkulling-hmp_fix_override_issue4235
...
HMP: Fix override during copying position data
2022-01-27 00:09:20 +01:00
Kim Kulling
f217bd4b5f
Update HMPLoader.cpp
2022-01-26 19:42:09 +01:00
Kim Kulling
305d1f45aa
Add some constants and fix compile
2022-01-26 19:36:38 +01:00
Kim Kulling
50b00d33b5
HMP: Fix override during copying position data
...
- Fix override
- closes https://github.com/assimp/assimp/issues/4235
2022-01-26 19:22:52 +01:00
Kim Kulling
5698d41bf9
Merge pull request #4355 from assimp/kimkulling_fix_win64_warning_unreachable_code
...
ASE: Fix warning unreachable code
2022-01-24 20:43:34 +01:00
Kim Kulling
06fffb4f83
ASE: Fix warning unreachable code
2022-01-24 20:05:25 +01:00
Kim Kulling
83d4ab8563
Merge pull request #4353 from assimp/kimkulling-preparation_v5.2.0
...
Udate version to 5.2.0
2022-01-23 23:30:08 +01:00
Kim Kulling
91737f1cc9
Fix copyright: last year
2022-01-23 21:18:31 +01:00
Kim Kulling
c4a66ae988
Update utVersion.cpp
2022-01-23 21:10:19 +01:00
Kim Kulling
1d34cb2c72
Udate version to 5.2.0
2022-01-23 21:09:20 +01:00
Kim Kulling
c5634be708
Merge pull request #4338 from leonvictor/respect-cmake-output-variables
...
CMAKE: Respect top-level CMAKE_*_OUTPUT_DIRECTORY variables
2022-01-23 19:03:36 +01:00
Kim Kulling
6cc469a5ae
Merge branch 'master' into respect-cmake-output-variables
2022-01-23 18:11:47 +01:00
Kim Kulling
8b1d94d6b1
Merge branch 'master' into deprecated_gltfpbr_macros
2022-01-23 12:16:49 +01:00
Kim Kulling
d45af75a5e
Merge pull request #4344 from revu-design/bensewell-fixifcopening4343
...
IFC Reading: Fix opening reading.
2022-01-23 12:15:38 +01:00
Ben Sewell
3e6fc3a64b
Merge remote-tracking branch 'origin/master' into bensewell-fixifcopening4343
2022-01-20 09:43:45 +00:00
Kim Kulling
c142676908
Merge pull request #4346 from assimp/kimkulling-fuzzer_ase_outofbounds_issue_4232
...
ASE: Fix material parsing
2022-01-20 10:40:00 +01:00
Kim Kulling
c1968823ad
ASE: Fix material parsing
...
- Fuzzer error found when material access get's an out-of-bound access.
- Break parsing when material index gets out of range.
- closes https://github.com/assimp/assimp/issues/4232
2022-01-20 10:25:52 +01:00
Kim Kulling
985a5b9667
Merge pull request #4342 from assimp/krishty-new-file-detection
...
Krishty new file detection
2022-01-19 23:05:27 +01:00
Kim Kulling
cbc4459dda
Fix compile error: missing var
2022-01-19 22:03:11 +01:00
Kim Kulling
43763f53d6
Fix compile error: missing var
2022-01-19 22:00:53 +01:00
Kim Kulling
15b08f643a
Fix warning: unused variable
2022-01-19 21:55:24 +01:00
Kim Kulling
17d5633a5b
Add missing SImpleExtensionCheck
2022-01-19 21:42:14 +01:00
Kim Kulling
4cb76e6a18
Update UnrealLoader.cpp
2022-01-18 22:29:55 +01:00
Kim Kulling
12b01dd575
Update SMDLoader.cpp
2022-01-18 22:28:54 +01:00
Kim Kulling
7b24437f06
Update SIBImporter.cpp
2022-01-18 22:27:19 +01:00
Kim Kulling
ec63fe74ee
Update RawLoader.cpp
2022-01-18 22:26:16 +01:00
Kim Kulling
088658b359
Update Q3BSPFileImporter.cpp
2022-01-18 22:25:43 +01:00
Kim Kulling
b4dee9220d
Update Q3BSPFileImporter.cpp
2022-01-18 22:25:22 +01:00
Kim Kulling
ffc13f18ba
NFF: reenable canRead
2022-01-18 22:24:11 +01:00
Kim Kulling
331cb5ac72
Update M3DImporter.cpp
2022-01-18 22:23:01 +01:00
Kim Kulling
c3b91dd766
C4D. Fix merge conflicts
2022-01-18 22:21:58 +01:00
Kim Kulling
ea5996307a
Update B3DImporter.cpp
2022-01-18 22:20:37 +01:00
Kim Kulling
efd1d36aa9
Merge branch 'master' into krishty-new-file-detection
2022-01-18 22:17:50 +01:00
Kim Kulling
959af1ac4d
Revert change
2022-01-18 21:37:49 +01:00
Kim Kulling
7350baea93
Revert change
2022-01-18 21:36:55 +01:00
Kim Kulling
cf47411742
Revert change
2022-01-18 21:36:02 +01:00
Kim Kulling
1e80630d5d
Revert change.
2022-01-18 21:35:09 +01:00
Kim Kulling
037732c429
Revert change
2022-01-18 21:34:18 +01:00
Kim Kulling
cff213d4dd
Revert change
2022-01-18 21:33:05 +01:00
Kim Kulling
9d0006fecb
Revert change
2022-01-18 21:32:06 +01:00
Kim Kulling
5af79cac1d
Fix unittests + small refactorings
2022-01-18 21:23:43 +01:00
Kim Kulling
141c6ca270
Merge pull request #4339 from Esri/jere9309/read_collada_materials
...
Collada: Read all instance_material child nodes
2022-01-18 20:28:39 +01:00
Jeremy Sigrist
59f28e168e
Merge branch 'master' into jere9309/read_collada_materials
2022-01-18 09:55:33 -08:00
Kim Kulling
3cca102531
Merge pull request #4265 from Garux/IQM
...
add Inter-Quake Model (IQM) Importer
2022-01-17 21:43:33 +01:00
Kim Kulling
6e50b04ae0
Merge branch 'master' into IQM
2022-01-17 18:33:37 +01:00
Kim Kulling
f21ff66505
Merge pull request #4323 from tanolino/patch-1
...
Locale independent meter scale
2022-01-17 18:32:24 +01:00
Kim Kulling
f16e4fadc7
Merge branch 'master' into patch-1
2022-01-17 18:18:16 +01:00
Ben Sewell
415b0e19d9
Changes for gcc compatibility
2022-01-17 16:39:50 +00:00
Ben Sewell
65f2353105
IFC Reading: Fix opening reading.
2022-01-17 15:49:11 +00:00
Kim Kulling
cbde086bfb
Merge branch 'krishty-new-file-detection' of https://github.com/assimp/assimp into krishty-new-file-detection
2022-01-16 20:58:07 +01:00
Kim Kulling
acd70b35a0
Fix merge issues
2022-01-16 20:57:56 +01:00
Kim Kulling
6ad7505376
Merge branch 'master' into krishty-new-file-detection
2022-01-16 20:43:57 +01:00
Kim Kulling
05746acb07
Merge branch 'new-file-detection' of https://github.com/krishty/assimp into krishty-new-file-detection
2022-01-16 20:41:24 +01:00
Léon
db162939b2
Merge branch 'master' into respect-cmake-output-variables
2022-01-16 16:19:03 +01:00
Kim Kulling
41cfcc7d16
Merge pull request #4336 from kovacsv/common_base64
...
Move Base64 encode/decode functionality to the common folder
2022-01-16 14:44:54 +01:00
Kim Kulling
f8253c3e3c
Update Base64.hpp
2022-01-16 13:21:01 +01:00
Kim Kulling
7eec3f0d8f
Update copyrights.
2022-01-16 13:19:25 +01:00
Viktor Kovacs
c8ab39dd04
Merge branch 'master' into common_base64
2022-01-15 23:42:56 +01:00
Léon
fe40ddf9a9
Merge branch 'master' into respect-cmake-output-variables
2022-01-14 16:45:27 +01:00
Kim Kulling
5976d54437
Merge pull request #4204 from TThulesen/so-unloading
...
Allow dlclose of so library by avoiding unique symbols.
2022-01-13 20:32:02 +01:00
Kim Kulling
d3e24196c0
Merge branch 'master' into so-unloading
2022-01-13 20:19:23 +01:00
Jeremy Sigrist
5aac72791d
Merge branch 'master' into jere9309/read_collada_materials
2022-01-12 10:12:58 -08:00
Jeremy Sigrist
e671d087e1
Collada: Read all instance_material child nodes
2022-01-12 09:52:12 -08:00
Léon
8a7576b85c
Check for variable definition rather than empty string
2022-01-12 15:04:41 +01:00
Viktor Kovacs
c71f4bc95a
Merge branch 'master' into common_base64
2022-01-11 18:46:08 +01:00
Léon
7f2ab47b5a
Respect top-level CMAKE_*_OUTPUT_DIRECTORY variables
2022-01-11 18:36:05 +01:00
Kim Kulling
6a640a2de8
Merge pull request #4330 from danoli3/master
...
Assimp Patch Android LTS NDK 23 Fix
2022-01-11 10:30:40 +01:00
Kim Kulling
9d06bd4678
Merge branch 'master' into master
2022-01-11 10:13:22 +01:00
Kim Kulling
5dcaf445c3
Merge pull request #4337 from lopsided98/patch-1
...
Fix imported target include directory
2022-01-11 10:13:02 +01:00
tanolino
f8abb015de
Merge branch 'master' into patch-1
2022-01-11 09:55:19 +01:00
Dan Rosser
e6cc187a7e
Merge branch 'master' into master
2022-01-11 13:51:59 +11:00
Kim Kulling
d68224f2ed
Merge branch 'master' into patch-1
2022-01-10 23:45:03 +01:00
Kim Kulling
a2c2b64877
Merge pull request #4335 from assimp/update_copyrights
...
Update copyrights
2022-01-10 21:53:59 +01:00
Kim Kulling
f63b10bf45
OpenGEX: Fix usage of texture specular token
2022-01-10 21:22:44 +01:00
Viktor Kovacs
6b9732721a
Merge branch 'assimp:master' into common_base64
2022-01-10 21:15:31 +01:00
Kim Kulling
50c7301a38
Update copyrights
2022-01-10 21:13:43 +01:00
Dan Rosser
00bf74ad6d
Merge branch 'master' into master
2022-01-10 14:04:24 +11:00
Ben Wolsieffer
629c8850ec
Fix imported target include directory
...
Fix the imported target include directory when the headers are not installed in '${CMAKE_INSTALL_PREFIX}/include'.
2022-01-09 20:59:14 -05:00
Kim Kulling
8134cae998
Merge pull request #4333 from assimp/kimkulling-prepare_v5.1.6
...
Update to 5.1.6
2022-01-09 23:45:44 +01:00
Kim Kulling
30f1583dde
Update utVersion.cpp
2022-01-09 21:06:05 +01:00
Kim Kulling
1d8667bfdc
Update to 5.1.6
2022-01-09 18:06:33 +01:00
Dan Rosser
9c4255b486
Assimp Android LTS NDK 23 Fix
2022-01-09 18:19:33 +11:00
Kim Kulling
cb3e846a19
Merge pull request #4318 from vpzomtrrfrt/fix-bone-fit-check
...
Fix bone fitted check in gltf2 exporter
2022-01-08 12:59:21 +01:00
Kim Kulling
8cb5ab69b0
Merge branch 'master' into fix-bone-fit-check
2022-01-08 11:35:59 +01:00
Kim Kulling
b40d9abdb9
Merge pull request #4328 from assimp/kimkulling-x3d_fix_nullptr_exception
...
Fix nullptr-dereferencing
2022-01-08 11:35:45 +01:00
Kim Kulling
776130534b
Fix nullptr-dereferencing
...
- Fix a possible nullptr-exception.
2022-01-06 22:35:32 +01:00
Kim Kulling
6a1f720f68
Merge pull request #4324 from alpire/master
...
Fix fuzzer crashes
2022-01-06 20:43:38 +01:00
Alex Rebert
b14b34d2b8
LWSLoader: Fix out of bounds iterator access
...
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38947
Fix #4222
2022-01-05 15:43:16 -05:00
Alex Rebert
310c81aaa2
Add support for spanned archives
...
Without it, assimp would crash on some inputs by jumping to a NULL
opendisk function. This commit adds an opendisk implementation, which
required adding a filename member to ZipFile.
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38873
Fix #4229
2022-01-05 15:43:10 -05:00
Alex Rebert
34d8fba100
Fix stack overflow in ZipArchiveIOSystem::MapArchive
...
The function allocates a filename buffer of 256, and copies the filename
extracted from the zip file into it. However, a filename might be larger
than 256 characters, in which case the function would write out of bounds.
This commit skips any file whose name is larger than 256 to avoid the
overflow.
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38870
Fix #4228
2022-01-05 10:01:46 -05:00
tanolino
089fc7311a
GCC might have an issue with value type Errors
2022-01-05 10:34:27 +01:00
tanolino
04d2d13172
Locale independent meter scale
...
`XmlParser::getRealAttribute(...)` will call `strtod` (or `wcstod`) which are both locale dependent. So on a German locale system a scale of 0.01 meter will be parsed to 0. In order to avoid that I use the `fast_atoreal_move<ai_real>()` method.
2022-01-05 10:10:38 +01:00
Kim Kulling
1d815fc23e
Merge pull request #4321 from assimp/kimkulling_update_morphing_method_doc_issue4320
...
Add link to used enum for a better understandability
2022-01-04 17:46:37 +01:00
Kim Kulling
a591944c04
Add link to used enum for a better understandability for the mesh morphing method.
2022-01-04 17:32:18 +01:00
Colin Reeder
87e9dbac40
Fix bone fitted check in gltf2 exporter
2022-01-03 16:32:34 -07:00
kovacsv
125acf9ec8
Merge remote-tracking branch 'origin/master' into common_base64
2022-01-02 19:47:57 +01:00
kovacsv
bbe12240ca
Move Base64 encode/decode functionality to the common folder.
2022-01-02 19:47:43 +01:00
Kim Kulling
c2375a4ff0
Merge pull request #4272 from errissa/pbr-obj
...
Support PBR properties/maps in Obj importer
2021-12-31 10:38:50 +01:00
Kim Kulling
ab19cff328
Merge branch 'master' into pbr-obj
2021-12-31 08:33:30 +01:00
Kim Kulling
049a241855
Merge pull request #4314 from pseiderer/ps-devel-fix-namespace-001
...
RFC: BlenderScene: use explicit namespace instead of using namespace
2021-12-31 08:32:54 +01:00
Kim Kulling
a86ab45161
Merge branch 'master' into ps-devel-fix-namespace-001
2021-12-31 08:20:24 +01:00
Peter Seiderer
a099fe7cd3
BlenderScene: use explicit namespace instead of using namespace
...
Fixes (using g++ Sourcery CodeBench Lite 2014.05-29 - 4.8.3 20140320):
.../build/assimp-5.1.4/code/AssetLib/Blender/BlenderScene.cpp:101:33: error: specialization of 'template<class T> void Assimp::Blender::Structure::Convert(T&, const Assimp::Blender::FileDatabase&) const' in different namespace [-fpermissive]
const FileDatabase &db) const {
^
In file included from .../build/assimp-5.1.4/code/AssetLib/Blender/BlenderScene.h:49:0,
from .../build/assimp-5.1.4/code/AssetLib/Blender/BlenderScene.cpp:47:
.../build/assimp-5.1.4/code/AssetLib/Blender/BlenderDNA.h:266:10: error: from definition of 'template<class T> void Assimp::Blender::Structure::Convert(T&, const Assimp::Blender::FileDatabase&) const' [-fpermissive]
void Convert(T &dest, const FileDatabase &db) const;
^
.../build/assimp-5.1.4/code/AssetLib/Blender/BlenderScene.cpp:121:33: error: specialization of 'template<class T> void Assimp::Blender::Structure::Convert(T&, const Assimp::Blender::FileDatabase&) const' in different namespace [-fpermissive]
const FileDatabase &db) const {
^
In file included from .../build/assimp-5.1.4/code/AssetLib/Blender/BlenderScene.h:49:0,
from .../build/assimp-5.1.4/code/AssetLib/Blender/BlenderScene.cpp:47:
.../build/assimp-5.1.4/code/AssetLib/Blender/BlenderDNA.h:266:10: error: from definition of 'template<class T> void Assimp::Blender::Structure::Convert(T&, const Assimp::Blender::FileDatabase&) const' [-fpermissive]
void Convert(T &dest, const FileDatabase &db) const;
^
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2021-12-30 18:01:54 +01:00
Kim Kulling
85dd84cc78
Merge pull request #4259 from VyacheslavVanin/fix-fbx-metalness-import
...
fix fbx import metalness
2021-12-29 20:35:46 +01:00
Kim Kulling
0a5bd792de
Merge branch 'master' into fix-fbx-metalness-import
2021-12-29 19:08:16 +01:00
Kim Kulling
c882731688
Merge pull request #4311 from SirLynix/fix-mingw
...
CMake: Replace CMAKE_COMPILER_IS_MINGW by MINGW
2021-12-29 17:31:12 +01:00
Jérôme Leclercq
81fc50f612
CMake: Replace CMAKE_COMPILER_IS_MINGW by MINGW
...
See https://discourse.cmake.org/t/cmake-compiler-is-mingw-removed/4539 and https://cmake.org/cmake/help/latest/variable/MINGW.html
2021-12-28 15:58:37 +01:00
Vyacheslav Vanin
2da06dd41a
Merge branch 'master' into fix-fbx-metalness-import
2021-12-26 17:31:33 +03:00
Kim Kulling
54a8da1d55
Merge pull request #4293 from assimp/add_colsole_progresshandler_issue_963
...
Add console progresshandler
2021-12-26 11:38:24 +01:00
Kim Kulling
d44641398f
Add console progresshandler
2021-12-26 11:16:02 +01:00
Garux
d11d2fc60d
fix Inter-Quake Model (IQM) Importer MSVC warnings
2021-12-24 18:36:25 +03:00
Kim Kulling
4d7e817bd8
Merge pull request #4284 from assimp/kimkulling-skip_empty_embedded_textures_issue4238
...
MDL: Do not try to copy empty embedded texture
2021-12-23 13:03:43 +01:00
Kim Kulling
db2500c393
MDL: Do not try to copy empty embedded texture
...
- When an embedded texture is empty, skip it instead of trying to copy it. This must fail.
- closes https://github.com/assimp/assimp/issues/4238
- Found from the Google fuzzer.
2021-12-23 12:28:43 +01:00
Kim Kulling
64af16c427
Merge pull request #4283 from assimp/kimkulling-avoid_invalid_string_access_issue4222
...
LWS-Import: Avoid access to empty string token
2021-12-22 21:28:42 +01:00
Kim Kulling
635153b3a4
LWS-Import: Avoid access to empty string token
...
- Fix invalid access to string pointer when string token is empty
- closes https://github.com/assimp/assimp/issues/4222
2021-12-22 21:08:28 +01:00
Kim Kulling
7ec52e9e02
Merge pull request #4282 from assimp/kimkulling-fix_heap_overflow_during_utf8_issue4230
...
Make sure no overflow can happen
2021-12-22 20:56:39 +01:00
Kim Kulling
2c66d4d3a2
Optimize the check
2021-12-22 20:43:44 +01:00
Kim Kulling
215f4e1f4d
Fix typo
2021-12-22 20:02:29 +01:00
Kim Kulling
2eb86d75b8
Make sure no overflow can happen
...
- During UTF32 LE with BOM make sure that the byteswap operation will have enough space when iterating through the text buffer, which shall get encoded.
- closes https://github.com/assimp/assimp/issues/4230
2021-12-22 19:45:19 +01:00
Rene Sepulveda
19371af6e6
Support PBR properties/maps in Obj importer
2021-12-20 13:43:46 -05:00
Kim Kulling
cab7b330ee
Merge branch 'master' into so-unloading
2021-12-20 17:58:18 +01:00
Kim Kulling
80b0b897ed
Merge pull request #4266 from assimp/kimkulling-patch-1
...
Update version to 5.1.4
2021-12-18 21:42:19 +01:00
Kim Kulling
572e31ddcb
Update version to 5.1.4
2021-12-18 21:30:04 +01:00
Kim Kulling
9dfd401624
Merge pull request #4263 from RivIs-sssa01/fix_X3DImporter.cpp_closingBraces
...
Fix compile error when ASSIMP_BUILD_NO_X3D_IMPORTER is define.
2021-12-18 21:28:32 +01:00
Kim Kulling
5a46597e47
Merge branch 'master' into fix_X3DImporter.cpp_closingBraces
2021-12-18 21:17:23 +01:00
Kim Kulling
01f68dd916
Merge pull request #4264 from Garux/IMAGE1.bmp_jpg
...
fix test/models/3DS/IMAGE1.bmp: is jpg
2021-12-18 21:16:59 +01:00
Garux
46f618a6ef
add Inter-Quake Model (IQM) Importer
2021-12-18 15:34:58 +03:00
Garux
7fc4603579
fix test/models/3DS/IMAGE1.bmp: is jpg
2021-12-18 14:32:46 +03:00
sssaoi
d7bf8d6e07
Fix compile error when ASSIMP_BUILD_NO_X3D_IMPORTER is define.
2021-12-18 14:50:22 +09:00
Vyacheslav Vanin
53968550e4
Merge branch 'master' into fix-fbx-metalness-import
2021-12-17 12:08:55 +03:00
Kim Kulling
6693e7e08c
Merge pull request #4256 from rumgot/cmake_no_known_features_error_fix
...
Fixed cmake error: No known features for C compiler when using the assimp library from another project
2021-12-16 21:35:52 +01:00
Kim Kulling
3e97329fa1
Merge branch 'master' into cmake_no_known_features_error_fix
2021-12-16 20:27:58 +01:00
Kim Kulling
c72e3905c2
Merge pull request #4261 from assimp/kimkulling-enable_language_support_issue4257-2
...
Enable C++11 and C99
2021-12-16 20:27:17 +01:00
Kim Kulling
2ffa0c59eb
Switch to C++11 until gtest gets an update.
2021-12-16 19:54:40 +01:00
Kim Kulling
af42d53c92
Enable C++17 and C99
...
- closes https://github.com/assimp/assimp/issues/4257
2021-12-16 19:41:15 +01:00
Kim Kulling
c4d858cf4d
Merge pull request #4260 from assimp/kimkulling-patch-1
...
Fix a typo in the Visual-Studio Dll-Versions
2021-12-16 15:39:01 +01:00
Kim Kulling
7a29147095
Fix a typo
2021-12-16 14:55:23 +01:00
Kim Kulling
efdaf603b0
Merge branch 'master' into so-unloading
2021-12-16 14:52:58 +01:00
Kim Kulling
46b28a442b
Merge pull request #4226 from umlaeute/bugfix/import-crashes
...
Bugfix/import crashes
2021-12-16 14:51:34 +01:00
Vyacheslav.Vanin
1afe7e6255
fix fbx import metalness
...
Can't import metalness textures in fbx importer
2021-12-16 12:09:06 +03:00
Kim Kulling
26dc168449
Merge branch 'master' into bugfix/import-crashes
2021-12-15 07:54:48 +01:00
rumgot
92aef9236f
Fixed cmake error: No known features for C compiler when using the assimp library from another project.
2021-12-14 23:54:36 +03:00
Kim Kulling
8322e393c5
Merge pull request #4244 from kovacsv/copyscene_fix
...
Bug: Export crashes when any of the meshes contains texture coordinate names #4243
2021-12-14 00:14:42 +01:00
Kim Kulling
003942aafe
Merge branch 'master' into copyscene_fix
2021-12-13 21:19:08 +01:00
Kim Kulling
0491eb3591
Merge pull request #4253 from assimp/kimkulling_fix_double_prec_build_issue4248
...
Use correct XmlParser-methods and add some missing casts
2021-12-13 21:17:15 +01:00
Viktor Kovacs
d619f7015a
Merge branch 'master' into copyscene_fix
2021-12-13 20:08:45 +01:00
Kim Kulling
65bc801734
Some fixes for possible divisions by zero
2021-12-13 18:48:58 +01:00
Kim Kulling
e4f38810ca
Add missing static casts
2021-12-13 18:12:19 +01:00
Kim Kulling
cb657e4c13
Use correct XmlParser-methods and add some missing casts
2021-12-13 18:06:23 +01:00
Kim Kulling
052594568a
Merge pull request #4247 from inhosens/master
...
Revert "FBXConverter : Fix timescales of FBX animations"
2021-12-12 21:42:14 +01:00
Kim Kulling
54e60b031e
Merge branch 'master' into master
2021-12-12 21:12:37 +01:00
Viktor Kovacs
4959924dab
Merge branch 'master' into copyscene_fix
2021-12-10 20:10:25 +01:00
Kim Kulling
819d9f7257
Merge pull request #4250 from assimp/kimkulling-fix_division_by_zero_issue4235-1
...
Update HMPLoader.cpp
2021-12-10 15:03:01 +01:00
Kim Kulling
33c6762272
Update HMPLoader.cpp
...
- Fix possible division by zero
- closes https://github.com/assimp/assimp/issues/4235
2021-12-10 14:32:45 +01:00
Kim Kulling
6bb856335f
Merge pull request #4249 from assimp/kimkulling-fix_nullptr_dereferencing_issue4237
...
Fix nullptr dereferencing from std::shared_ptr
2021-12-10 11:02:32 +01:00
Kim Kulling
68682d75b5
Fix nullptr dereferencing from std::shared_ptr
...
- Finding from fuzzer
- closes https://github.com/assimp/assimp/issues/4237
2021-12-10 08:39:21 +01:00
Inho Lee
c2297e9199
Revert "FBXConverter : Fix timescales of FBX animations"
...
The previous patch was made by misunderstanding about mTime.
It is not real time value, but time ticks.
This reverts commit b8bf1eac04
.
2021-12-09 10:57:39 +01:00
Viktor Kovacs
d2c8cb755e
Merge branch 'master' into copyscene_fix
2021-12-08 14:29:31 +01:00
Kim Kulling
ea2e442046
Merge pull request #4245 from assimp/kimkulling-fix-division-by-zero-issue4240
...
Fix division by zero in PointInTriangle2D
2021-12-07 21:37:50 +01:00
Kim Kulling
e51feac2c5
Update PolyTools.h
2021-12-07 21:19:01 +01:00
Kim Kulling
1e4861f86e
Fix division by zero in PointInTriangle2D
...
- closes https://github.com/assimp/assimp/issues/4240
2021-12-07 20:45:21 +01:00
kovacsv
2be6bac4b0
Bug: Export crashes when any of the meshes contains texture coordinate names #4243
2021-12-07 20:42:43 +01:00
IOhannes m zmölnig
9a7ee0ac14
Throw a DeadlyImportError rather than an assertion if all materials are redundant and thus removed
...
Closes: https://github.com/assimp/assimp/issues/4224
Closes: https://github.com/assimp/assimp/issues/4225
2021-12-07 12:35:15 +01:00
IOhannes m zmölnig
6e090c88b8
fix index variable for surfaces
...
Closes: https://github.com/assimp/assimp/issues/4209
2021-12-07 12:13:31 +01:00
RichardTea
75e7d0f6ef
Merge branch 'master' into deprecated_gltfpbr_macros
2021-12-07 09:01:50 +00:00
Kim Kulling
70f5cca9c3
Merge pull request #4219 from assimp/kimkulling-v5.1.3
...
Update CMakeLists.txt
2021-12-04 21:01:52 +01:00
Kim Kulling
5b4829155c
Merge branch 'master' into so-unloading
2021-12-04 20:28:12 +01:00
Kim Kulling
983b20cda6
Update CMakeLists.txt
...
- tag v5.1.3
2021-12-04 20:26:29 +01:00
Kim Kulling
16149348ed
Merge pull request #4217 from umlaeute/bugfix/x3d-extension-check
...
Fix file-extension check for X3D-files
2021-12-01 16:07:12 +01:00
IOhannes m zmölnig
0e2ac2a91c
X3D: simplistic attempt to avoid crashes due to nullptr access
...
Related: https://github.com/assimp/assimp/issues/4201
while the crashes go away, i'm not sure whether this is the correct fix.
also, afaict the X3D importer produces wrong results anyhow
2021-12-01 12:21:29 +01:00
IOhannes m zmölnig
c8cdf3009e
X3D: replace 'here' debugging printout by an assertion.
...
if mNodeElementCur is NULL, we get a crash anyhow...
2021-12-01 12:19:19 +01:00
IOhannes m zmölnig
23d7811276
X3D: consistent initialization with nullptr
2021-12-01 11:35:06 +01:00
IOhannes m zmölnig
836963428e
Fix file-extension check for X3D-files
...
using the pre-existing and well-tested GetExtension() (which happens
to also normalize the extension), rather than attempting our own
buggy one...
Closes: https://github.com/assimp/assimp/issues/4177
2021-12-01 11:17:42 +01:00
Kim Kulling
8c9a148776
Merge pull request #4216 from inhosens/master
...
Interpolate euler rotations for quaternion animations
2021-12-01 00:24:15 +01:00
Kim Kulling
834ec20008
Merge branch 'master' into master
2021-11-30 23:44:42 +01:00
Kim Kulling
cc05b4c8f1
Merge pull request #4211 from ms-maxvollmer/ms-maxvollmer/crashfixes2
...
Added checks for out of bounds data access/writing
2021-11-30 23:44:00 +01:00
Kim Kulling
d6f3f292f2
Merge branch 'master' into ms-maxvollmer/crashfixes2
2021-11-30 23:17:59 +01:00
Inho Lee
4a37aa2ef8
Interpolate euler rotations for quaternion animations
...
FBX uses euler rotation but assimp library's base type is
quaternion. When assimp convert FBX some animation information
can be lost.
This patch interpolates euler-angle rotations and insert
additional keyframes for the FBX format.
2021-11-30 12:49:59 +01:00
Kim Kulling
745f5e7e65
Merge pull request #4193 from PencilAmazing/BlenderCollections
...
Update blender importer to work with Blender 2.8+ files
2021-11-28 23:51:06 +01:00
Pencil Amazing
095bd67e10
Fix memory leaks in CollectionObject by making ob a weak pointer and removing prev pointer.
...
Something was cyclic in CollectionObject and we don't traverse backwards anyways
2021-11-26 22:09:06 -04:00
Pencil Amazing
e831ecf3c2
Add a separate test case for Blender 276 and update Box.blend to be 293
2021-11-26 22:09:06 -04:00
Pencil Amazing
44fa1ec6a7
Make Blender importer aware of collections, and use them when available. Also add the default startup file for Blender 2.93
2021-11-26 22:09:06 -04:00
Kim Kulling
70c1aec7c7
Merge pull request #4212 from assimp/kimkulling-remove_deprecated_data
...
Delete test/models/3DS/UVTransformTest directory
2021-11-26 19:34:02 +01:00
Kim Kulling
34daf87428
Delete test/models/3DS/UVTransformTest directory
...
- Remove deprecated data
2021-11-26 19:17:42 +01:00
Max Vollmer (Microsoft Havok)
5e1188c44e
Check that positions exist before accessing them
2021-11-26 13:01:38 +00:00
Max Vollmer (Microsoft Havok)
0015823bef
Reject files with an invalid byteLength value
2021-11-26 13:01:15 +00:00
Max Vollmer (Microsoft Havok)
38382715f7
Ensure we don't access the vector with an out of bounds index
2021-11-26 13:01:00 +00:00
Kim Kulling
da8772c57b
Merge pull request #4207 from jakrams/msft-jakras-fix-corrupted-accessor
...
Prevent out-of-range memory writes by sparse accessors
2021-11-26 09:02:17 +01:00
Jan Krassnigg
1a5d66714f
Prevent out-of-range memory writes by sparse accessors
...
This turned up during fuzz testing. Corrupted data would make assimp write to random memory locations, leading to subsequent crashes.
2021-11-25 11:20:26 +01:00
Kim Kulling
690e558b88
Update IOSystem.cpp
2021-11-25 09:32:52 +01:00
Thomas Nicky Thulesen
8b78a63b50
Allow dlclose of so library by avoiding unique symbols.
2021-11-23 20:39:48 +01:00
RichardTea
d18709b899
Small float values should be true
2021-11-23 14:15:32 +00:00
RichardTea
5143044cc8
redefine AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS
...
This key is deprecated but is used by Qt5 & Qt 6.2.1 QtQuick3D
2021-11-23 13:55:27 +00:00
RichardTea
2fdf52488f
float and integer material property bool conversion
...
All reading float and integer material property values as bool
Zero => False
Non-Zero => True
2021-11-23 13:53:58 +00:00
RichardTea
42766af702
Merge branch 'master' into deprecated_gltfpbr_macros
2021-11-23 12:03:23 +00:00
Kim Kulling
889e559696
Merge pull request #4195 from ruyo/fix-gltf2-sparse-indicesType
...
Fixed an incorrect indeiciesType in the glTF2 sparse accessor.
2021-11-22 22:43:43 +01:00
Kim Kulling
b22098c234
Merge branch 'master' into fix-gltf2-sparse-indicesType
2021-11-22 22:02:05 +01:00
Kim Kulling
85ea57dcdb
Merge pull request #4196 from Rodousse/fix_mingw_compile_flags
...
Use adviced c++ flag to supress warning on mingw
2021-11-22 22:01:05 +01:00
Robin Dousse
6819b84b8b
Use adviced c++ flag to supress warning on mingw
2021-11-22 09:27:14 +01:00
ruyo
60bfde78eb
Fixed an incorrect indeiciesType in the glTF2 sparse accessor.
2021-11-21 23:23:22 +09:00
Kim Kulling
bf1f142a72
Fix warnings
2021-11-20 18:40:38 +01:00
Kim Kulling
aeba7a43a0
Merge pull request #4185 from rhabacker/win_dll_so_version
...
On Windows/mingw in shared build mode append '-SOVERSION' to DLL base file name
2021-11-20 16:53:21 +01:00
Kim Kulling
9ebd74bd26
Merge branch 'master' into win_dll_so_version
2021-11-20 14:16:32 +01:00
Kim Kulling
9267f4c5b8
Merge pull request #4184 from RichardTea/deprecated_gltfpbr_macros
...
Redefine deprecated glTF-specific PBR material macros
2021-11-20 14:01:57 +01:00
Kim Kulling
0d857bcf9f
Merge branch 'master' into deprecated_gltfpbr_macros
2021-11-20 12:35:56 +01:00
Ralf Habacker
2ceb18746b
Append '-SOVERSION' to DLL base file name for mingw builds to match common style
2021-11-18 08:17:31 +01:00
Kim Kulling
3db1592f7e
Merge pull request #4187 from RichardTea/collada_value_not_attrib_4179
...
Collada: Read value, not attribute
2021-11-17 19:16:10 +01:00
RichardTea
74b3be194d
Read the Value, not the Attribute
...
Correct some mistakes made when moving to pugixml from IrrXML
Fixes #4179
2021-11-17 17:10:10 +00:00
RichardTea
bab8b8dbab
apply clangformat
2021-11-17 17:08:19 +00:00
RichardTea
33845cd019
Only issue compile warning on gcc and msvc
...
I'm not sure on the proper syntax for clang and mingw
2021-11-17 15:44:16 +00:00
Kim Kulling
b1c83f437f
Merge pull request #4173 from jdumas/jdumas/ziplib
...
Do not build ziplib when 3MF exporter is disabled.
2021-11-17 14:09:07 +01:00
Kim Kulling
ce3101ea4e
Merge branch 'master' into jdumas/ziplib
2021-11-17 13:46:16 +01:00
RichardTea
c24f99cd0e
Redefine deprecated glTF-specific PBR material macros
...
Intended to support Qt5 QtQuick3D until it is ported to generic PBR
macros.
2021-11-16 11:42:59 +00:00
Kim Kulling
c174575cf8
Merge pull request #4181 from assimp/kimkulling-prepare_installer
...
Update script_x64.iss
2021-11-15 11:05:34 +01:00
Kim Kulling
1ee8c1b51f
Update script_x86.iss
...
- Update version for 5.1.0 in x86 installer script
2021-11-15 08:41:23 +01:00
Kim Kulling
595799b1bc
Update script_x64.iss
...
- Update to 5.1.0
2021-11-15 08:39:31 +01:00
Kim Kulling
a5a091c138
Merge pull request #4180 from assimp/kimkulling-remove_irrxml_notes
...
Delete irrXML_note.txt
2021-11-15 08:37:49 +01:00
Kim Kulling
e8732341f4
Delete irrXML_note.txt
...
- Remove deprecated notes from irrxml
2021-11-15 08:23:56 +01:00
Jérémie Dumas
b0d564467e
Merge branch 'master' into jdumas/ziplib
2021-11-14 08:25:59 -08:00
Jérémie Dumas
78d72bff59
Fix 3MF presence test.
2021-11-14 08:24:27 -08:00
Kim Kulling
05115b07b4
Merge pull request #4174 from ifree/master
...
glTF2 skinning related fixes
2021-11-13 09:30:32 +01:00
Kim Kulling
b1c336799c
Merge branch 'master' into master
2021-11-13 09:16:27 +01:00
Kim Kulling
c3ac5569c5
Merge branch 'master' into jdumas/ziplib
2021-11-13 08:46:46 +01:00
Kim Kulling
4fa3648132
Merge pull request #4172 from assimp/kimkulling-diable_m3m_issue-4126
...
Disable m3d for 5.1
2021-11-13 08:45:51 +01:00
Kim Kulling
f48731622b
Disable m3d tesat
2021-11-13 08:30:29 +01:00
Kim Kulling
fc0617280e
Disable m3d-export
2021-11-13 08:16:34 +01:00
freizhang
b9937994ca
Fix glTF2 skinning bone weight exporting issue
2021-11-13 12:07:29 +08:00
freizhang
6e6807ee6c
Verbose processor bone weight count fix
2021-11-13 11:56:15 +08:00
freizhang
1407491a67
glTF2 exporter buffer overrun issue fix.
2021-11-13 11:52:49 +08:00
Jérémie Dumas
57d22e4dbf
Merge branch 'master' into jdumas/ziplib
2021-11-12 10:13:21 -08:00
Kim Kulling
159fadebbf
Update M3DExporter.cpp
2021-11-12 17:53:46 +01:00
Kim Kulling
0beacc3854
Merge branch 'master' into kimkulling-diable_m3m_issue-4126
2021-11-12 16:02:51 +01:00
Kim Kulling
f03dcc27c0
Update M3DExporter.h
2021-11-12 15:39:21 +01:00
Kim Kulling
fe73213420
Merge pull request #4111 from MalcolmTyrrell/MalcolmTyrrell/jsonSchemaSupport
...
Allow the gltf2 Importer to optionally use glTF 2.0 JSON schemas for initial validation
2021-11-12 13:12:31 +01:00
Kim Kulling
e2ccd17494
Fix typo
2021-11-12 11:20:22 +01:00
Kim Kulling
157e032bde
Fix small findings
...
- Merge anonymous functions into one block.
- Some reformattings
2021-11-12 11:08:19 +01:00
Kim Kulling
37c81e7a28
Merge branch 'master' into MalcolmTyrrell/jsonSchemaSupport
2021-11-12 10:37:19 +01:00
Kim Kulling
2e5e176bf3
Merge pull request #4147 from alpire/master
...
Fix out-of-bounds read in RemoveLineComments
2021-11-12 10:36:44 +01:00
Kim Kulling
c22524351a
Merge branch 'master' into master
2021-11-12 09:56:56 +01:00
Kim Kulling
97b8e41997
Fix formatting
2021-11-12 09:56:45 +01:00
Kim Kulling
a7a6b96ca8
Merge pull request #4150 from kovacsv/readme_add_assimpjs
...
Add assimpjs link to the ports in the readme file
2021-11-12 09:31:39 +01:00
Kim Kulling
6f853be88c
Merge branch 'master' into readme_add_assimpjs
2021-11-12 09:18:22 +01:00
Kim Kulling
b43a84a496
Merge pull request #4159 from RichardTea/3ds_export_4157
...
3DS Export: Add support for aiShadingMode_PBR_BRDF
2021-11-12 09:17:49 +01:00
Kim Kulling
ece61c6c68
Update M3DWrapper.cpp
2021-11-12 09:17:32 +01:00
Kim Kulling
608bccd9cf
Update M3DWrapper.h
2021-11-12 09:13:48 +01:00
Kim Kulling
13731b37c4
Merge branch 'master' into 3ds_export_4157
2021-11-12 07:06:52 +01:00
Kim Kulling
4abf37ace6
Update CMakeLists.txt
2021-11-11 23:22:06 +01:00
Kim Kulling
4854978108
Disable m3d for 5.1
...
- closes https://github.com/assimp/assimp/issues/4126
2021-11-11 22:15:56 +01:00
Kim Kulling
1f8edd5959
Merge pull request #4160 from RichardTea/fix_gltf_warning_4126
...
Check and limit maximum size of glTF
2021-11-11 21:30:07 +01:00
Kim Kulling
43b0ef181a
Merge branch 'master' into fix_gltf_warning_4126
2021-11-11 20:30:07 +01:00
Kim Kulling
add7f1355e
Merge pull request #4163 from RichardTea/fix_aiMesh_abi_4162
...
Better aiMesh ABI compatibility with 5.0.1, make smaller
2021-11-11 20:27:40 +01:00
Kim Kulling
7120504c46
Merge branch 'master' into fix_aiMesh_abi_4162
2021-11-11 20:02:46 +01:00
Kim Kulling
8a1563d61a
Merge pull request #4170 from assimp/Artenuvielle-x3d_pugi_migration_artenuvielle
...
Artenuvielle x3d pugi migration artenuvielle
2021-11-11 19:19:33 +01:00
Kim Kulling
eafb79e7dc
Merge branch 'Artenuvielle-x3d_pugi_migration_artenuvielle' of https://github.com/assimp/assimp into Artenuvielle-x3d_pugi_migration_artenuvielle
2021-11-11 19:06:33 +01:00
Kim Kulling
952f0a53c9
Try to fix a leak
2021-11-11 19:06:25 +01:00
Viktor Kovacs
b6994c5e1f
Merge branch 'master' into readme_add_assimpjs
2021-11-11 07:38:42 +01:00
Kim Kulling
9f28ef4c25
Merge branch 'master' into Artenuvielle-x3d_pugi_migration_artenuvielle
2021-11-10 20:43:39 +01:00
Kim Kulling
a31c979abc
Use helloworld as X3D-Testcase
2021-11-10 20:40:05 +01:00
Kim Kulling
8ed18621db
Fixes
2021-11-10 20:37:27 +01:00
Kim Kulling
fe511fddc4
Merge pull request #4165 from irajsb/master
...
Added UE4 plugin
2021-11-10 11:06:22 +01:00
Kim Kulling
39664d608d
Merge branch 'master' into master
2021-11-10 10:51:18 +01:00
Kim Kulling
baf3f00644
Merge branch 'master' into master
2021-11-10 10:37:49 +01:00
Kim Kulling
d4755648b4
Merge pull request #4167 from assimp/kimkulling-fix_uninitialized_attribs_issue-4158
...
Update anim.h
2021-11-10 09:34:52 +01:00
Kim Kulling
5fd2a5559c
Update mesh.h
...
- Add initialization for armature attributes.
- closes https://github.com/assimp/assimp/issues/4158
2021-11-10 09:19:29 +01:00
Kim Kulling
c01d33a77a
Update anim.h
...
- Add missing whitespaces
2021-11-10 09:12:35 +01:00
Kim Kulling
83950845ee
Merge pull request #4166 from assimp/kimkulling-fix_version_issue-4161
...
Change version to 5.1.0
2021-11-10 09:08:23 +01:00
Kim Kulling
8a613a8655
Fix unittest
2021-11-09 23:27:58 +01:00
Kim Kulling
e206d699da
Change version to 5.1.0
...
- Change version for Version 5.1.0-RC1 to 5.1.0
- closes https://github.com/assimp/assimp/issues/4161
2021-11-09 23:26:20 +01:00
iraj mohtasham
7ddd9b2484
Added UE4 plugin
2021-11-10 00:04:12 +03:30
Kim Kulling
50ba15191b
Merge pull request #4164 from Skylion007/update-performance-fixes
...
Remove optimization fence preventing automatic move
2021-11-09 20:09:31 +01:00
Aaron Gokaslan
b8a10e62f9
Remove optimization fence
2021-11-09 13:08:13 -05:00
RichardTea
86a25b62e4
Better aiMesh ABI compatibility with 5.0.1, make smaller
...
Move new mTextureCoordsNames member to end of struct
Convert to pointer-to-array, saving ~8KB per aiMesh in almost all cases
Add C++ accessor functions for simpler usage
2021-11-09 13:03:06 +00:00
Kim Kulling
30143e9626
Merge branch 'master' into MalcolmTyrrell/jsonSchemaSupport
2021-11-09 10:53:58 +01:00
RichardTea
aaae3e3a10
size_t is 32bit on some platforms
...
Also assert if size_t is smaller than uint32_t (probably not necessary)
Note: 32bit builds will crash OOM if a really large model is loaded, as cannot allocate that much in total, let alone contiguously.
2021-11-08 15:05:20 +00:00
RichardTea
9433fc526a
Apply clangformat
2021-11-08 14:42:21 +00:00
RichardTea
69cafe64b4
Cap glTFv1 & 2 json size to ~4GB
...
Ensures size_t cannot overflow
Limits the maximum contiguous memory allocation to something plausible.
2021-11-08 14:41:13 +00:00
RichardTea
ee19ce6021
3DS Export: Add support for aiShadingMode_PBR_BRDF
...
Export as Phong.
If no Diffuse texture, export the PBR base color instead,
2021-11-08 11:06:15 +00:00
Jeremie Dumas
cedf1819c3
Do not build ziplib when 3MF exporter is disabled.
2021-11-04 01:14:24 -07:00
Kim Kulling
2b4b3e820b
Merge pull request #4154 from assimp/kimkulling-fuzzer-issue-4153
...
Update D3MFOpcPackage.cpp
2021-11-02 10:51:58 +01:00
Kim Kulling
5a3401b69f
Update D3MFOpcPackage.cpp
...
- Log an error in case of a nullptr-exception in reading out the 3MF-Archive
- closes https://github.com/assimp/assimp/issues/4153
2021-11-02 10:38:38 +01:00
kovacsv
3b2a9d1543
Add assimpjs link.
2021-11-01 08:09:16 +01:00
Alex Rebert
145f972d76
Fix out-of-bounds read in RemoveLineComments
...
Follow up to 6f07e89fdf
, which was not sufficient to fix the bug.
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24553
2021-10-30 13:43:41 -04:00
Kim Kulling
3664fe20c0
Merge pull request #4146 from alpire/master
...
Fix fuzzer crashes
2021-10-29 20:20:04 +02:00
Kim Kulling
322de54323
Merge branch 'master' into master
2021-10-29 19:35:27 +02:00
Kim Kulling
7f4839a26c
Merge pull request #4145 from Daniel-Genkin/master
...
Fixed building of Android port
2021-10-29 19:21:27 +02:00
Alex Rebert
e900617796
Fix out-of-bounds read in FileSystemFilter::Cleanup
...
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33238
2021-10-29 09:17:40 -04:00
Daniel-Genkin
f28500dd0f
Fixed building of Android port
2021-10-29 09:03:55 -04:00
Alex Rebert
6f07e89fdf
Fix out-of-bounds read in RemoveLineComments
...
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24553
2021-10-28 23:50:16 -04:00
Alex Rebert
1909b3e8d2
Fix overflow in IOStreamBuffer
...
`getNextLine` & `getNextDataLine` now double the buffer size each time
it is needed to avoid writing out of bounds.
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24465
2021-10-28 23:33:07 -04:00
Alex Rebert
6a3ac623b9
Fix out-of-bounds reads in OpenDDLParser
...
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31795
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24463
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36594
2021-10-28 23:13:29 -04:00
Alex Rebert
107371657b
Fix out-of-bounds read in ReadFirstSkin
...
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25401
2021-10-28 23:12:54 -04:00
Alex Rebert
1fe9d405f5
Fix out-of-bounds read in MDLImporter
...
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24502
2021-10-28 22:38:40 -04:00
Alex Rebert
932dfe0562
Fix overflowing allocations in MDLMaterialLoader
...
Some allocations might underallocate due to integer overflows. This
commit ensures that we are throwing an exception if the allocation size
does not fit in an unsigned int.
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25341
2021-10-28 22:27:19 -04:00
Alex Rebert
30f17aa206
Fix heap out-of-bounds write in _m3d_safestr
...
While there is a 256 character limit when computing the length of the
newly allocated strength, that limit was missing when copying the
string. This commit adds a new length check in the copy loop, preventing
it from writhing out of bounds.
Fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34416
2021-10-28 21:32:38 -04:00
Kim Kulling
d273a784d0
Merge pull request #4142 from Daniel-Genkin/master
...
Added another constructor to avoid requiring a full ANativeActivity
2021-10-28 22:16:07 +02:00
Kim Kulling
5333e41607
Update AndroidJNIIOSystem.h
2021-10-28 17:52:01 +02:00
Kim Kulling
e5cd5733e1
Update AndroidJNIIOSystem.cpp
2021-10-28 17:50:25 +02:00
Daniel-Genkin
6e5600a9a5
Added another constructor to avoid requiring a full ANativeActivity
2021-10-28 10:26:14 -04:00
Kim Kulling
8c0b869998
Merge branch 'master' into MalcolmTyrrell/jsonSchemaSupport
2021-10-28 13:38:41 +02:00
Kim Kulling
817fbed8c2
Merge pull request #4130 from MalcolmTyrrell/MalcolmTyrrell/spatialSortImprovements
...
SpatialSort improvements
2021-10-27 17:46:25 +02:00
Kim Kulling
5af71feef2
Merge branch 'master' into MalcolmTyrrell/spatialSortImprovements
2021-10-27 17:20:47 +02:00
Kim Kulling
0e38cec58c
Merge pull request #4140 from assimp/kimkulling-patch-cleanup
...
Remove dead code.
2021-10-27 00:03:13 +02:00
Kim Kulling
e01b488075
Remove dead code.
2021-10-26 22:06:10 +02:00
Malcolm Tyrrell
2239442c64
Merge branch 'master' into MalcolmTyrrell/spatialSortImprovements
2021-10-21 08:55:11 +01:00
Malcolm Tyrrell
db0127859a
CalculateDistance method
2021-10-21 08:39:44 +01:00
Kim Kulling
791cb195be
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-10-20 21:14:43 +02:00
Kim Kulling
f81d7c0b3e
Merge pull request #4112 from diharaw/master
...
[GLTF2] Add read and write support for KHR_materials_volume and KHR_materials_ior extensions.
2021-10-20 21:14:11 +02:00
Kim Kulling
f3baab1153
Merge branch 'master' into master
2021-10-20 20:51:43 +02:00
Malcolm Tyrrell
4ba99c1bb0
Comments
2021-10-20 16:15:00 +01:00
Malcolm Tyrrell
c644f9d719
Subtract the centroid
2021-10-20 15:08:08 +01:00
Malcolm Tyrrell
4d10f5d133
Move distance initialization to Finalize.
2021-10-20 12:47:44 +01:00
Malcolm Tyrrell
5b13b97f27
Ensure the usage pattern of SpatialSort.
2021-10-19 14:22:28 +01:00
Kim Kulling
a83db61289
Merge pull request #4110 from marcappelsmeier/master
...
Fix a warning about deprecated array comparison
2021-10-19 14:23:45 +02:00
Kim Kulling
cff5035b5f
Merge branch 'master' into master
2021-10-19 09:31:19 +02:00
Kim Kulling
e157d7550b
Merge pull request #4109 from umlaeute/debian-fixes
...
Spelling fixes
2021-10-19 09:30:42 +02:00
Kim Kulling
36c937cc19
Merge branch 'master' into debian-fixes
2021-10-18 09:07:47 +02:00
Kim Kulling
6689438696
Merge pull request #4124 from assimp/kimkulling-remove_deprecated_irrxml
...
Delete fast_atof.h
2021-10-18 00:11:44 +02:00
Kim Kulling
e7b9118b96
Delete fast_atof.h
2021-10-17 21:04:18 +02:00
Kim Kulling
11cb1a170f
Merge pull request #4123 from assimp/fix_no_export_build
...
Fix no export build
2021-10-17 16:00:30 +02:00
Kim Kulling
0e3d058504
Add some exporter macros.
2021-10-17 15:10:25 +02:00
Kim Kulling
4caae783ae
Disable dump when export is not supported.
2021-10-17 15:09:44 +02:00
Kim Kulling
a82dc887fc
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-10-14 09:27:07 +02:00
Kim Kulling
f678e67974
Merge pull request #4115 from lerppana/fix-missing-include
...
Added missing include
2021-10-13 14:05:40 +02:00
Lassi Helynranta
a01a5b4e3a
Added missing include
2021-10-09 20:12:29 +03:00
IOhannes m zmölnig
1a9403e787
Fix spelling error in comment in exported Pbrt file
...
See https://github.com/assimp/assimp/pull/4109#issuecomment-934747675
for a discussion that this is really a comment in the exported file,
and thus the fix should be harmless.
2021-10-08 08:55:02 +02:00
IOhannes m zmölnig
3b8126d26a
Fix spelling mistake
2021-10-08 08:48:01 +02:00
Malcolm Tyrrell
5a1bcc6aa5
Fix build and test
2021-10-07 10:01:33 +01:00
Malcolm Tyrrell
ceddfe19d8
Add comment with link to schema repo.
2021-10-07 10:01:32 +01:00
Malcolm Tyrrell
7788c1a04e
Add a unit test for json schemas.
2021-10-07 10:01:32 +01:00
Malcolm Tyrrell
a283a255a5
Allow schema checking of glTF2 file.
2021-10-07 10:01:32 +01:00
diharaw
0fb66f8437
Replaced AI_MATKEY_IOR with AI_MATKEY_REFRACTI.
2021-10-07 09:39:08 +01:00
diharaw
b01d008bc0
Revert "Removed KHR_materials_ior support."
...
This reverts commit 0738742611
.
2021-10-07 09:36:53 +01:00
diharaw
0738742611
Removed KHR_materials_ior support.
2021-10-07 09:30:22 +01:00
Marc
ad0d945c80
Merge pull request #1 from marcappelsmeier/fixDeprecatedArrayComparision
...
Fix warning for array comparison
2021-10-05 19:25:08 +02:00
Marc
656b0b25d8
Fix warning for array comparison
...
The code previously compared two float arrays with the != operator. This is deprecated in Visual Studio 2019 and results in a warning that leads to an error when compiling with warnings as errors. Small fix to make the build work.
2021-10-05 19:24:42 +02:00
Kim Kulling
babf3b8e3d
Merge pull request #4108 from davidepi/fix-aistring-embedtextures
...
Fix aiString length not updated in the EmbedTextures postprocess task
2021-10-04 15:22:49 +02:00
Davide Pizzolotto
ae951fbef9
Fix aiString length in aiProcess_EmbedTextures
2021-10-03 00:41:09 +02:00
Kim Kulling
3e4cca4d2f
Merge pull request #4106 from assimp/kimkulling-issues-3726
...
Add support for normal maps, the classic way
2021-10-01 14:58:19 +02:00
Kim Kulling
ac6b8988df
Add support for normal maps, the classic way
...
- get compiant to tinyobjloader and other importers
- closes https://github.com/assimp/assimp/issues/3726
2021-10-01 14:24:40 +02:00
Kim Kulling
2f5a31110c
Merge pull request #3743 from Garux/Q1MDLgroup
...
Fix Q1 MDL group frame loading, e.g. Q1 progs/flame2.mdl
2021-10-01 14:03:08 +02:00
Kim Kulling
1f76b2e6b9
Merge branch 'master' into Q1MDLgroup
2021-10-01 13:36:55 +02:00
diharaw
46a7de7a0b
Moved KHR_material_volume thickness texture under aiTextureType_TRANSMISSION.
2021-09-30 08:56:16 +01:00
diharaw
addd541251
Added gltf2 KHR_materials_ior support.
2021-09-30 08:47:53 +01:00
diharaw
d3276de47d
Added gltf2 KHR_materials_volume write support.
2021-09-30 08:10:02 +01:00
diharaw
200bf8df7a
Added gltf2 KHR_materials_volume import support.
2021-09-29 17:05:17 +01:00
Kim Kulling
96e2f1cd5b
Merge pull request #4078 from krishty/const-tokens
...
more const in format detection
2021-09-24 13:53:13 +02:00
Kim Kulling
6cb6a6acdd
Merge branch 'master' into const-tokens
2021-09-24 13:37:57 +02:00
Kim Kulling
d286aadbdf
Merge pull request #4086 from assimp/kimkulling-obj_refactorings
...
Update ObjTools.h
2021-09-21 12:53:51 +02:00
Kim Kulling
95263b2e54
Update ObjTools.h
2021-09-21 11:34:58 +02:00
Kim Kulling
590307dba9
Merge pull request #4085 from assimp/kimkulling-issue_3442
...
Fix possible nullptr dereferencing in material parsing
2021-09-21 11:19:49 +02:00
Kim Kulling
fb5b5e9d40
Fix possible nullptr dereferencing in material parsing
...
* Return 0.0f for empty buffer
* closes https://github.com/assimp/assimp/issues/3442
2021-09-21 11:06:18 +02:00
Kim Kulling
4fd7330808
Merge pull request #4076 from mahiuchun/static
...
Use Safe Constants Idioms for ObjFileParser::DEFAULT_MATERIAL.
2021-09-21 09:16:25 +02:00
Hill Ma
e6543cbd85
Merge branch 'master' into static
2021-09-20 16:14:35 -07:00
Kim Kulling
d814e9067a
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-09-20 21:14:20 +02:00
Kim Kulling
95d1232922
Merge pull request #4083 from markoffline/patch-1
...
including <exception>
2021-09-20 21:13:41 +02:00
Hill Ma
79f3368c85
Merge branch 'master' into static
2021-09-17 09:06:16 -07:00
René Martin
e92177cb99
changed use and def attribute check for x3d importer to upper case
...
This is how it is specified in the standard.
2021-09-17 14:24:57 +02:00
Kim Kulling
d0f7200196
Update X3DImporter_Geometry3D.cpp
2021-09-16 21:01:44 +02:00
René Martin
65173df9d9
fixed x3d importer test
2021-09-16 13:45:56 +02:00
krishty
8c84afaff0
Merge branch 'master' into const-tokens
2021-09-15 23:31:00 +02:00
Artenuvielle
70dfdb8f9d
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-09-15 14:51:38 +02:00
René Martin
a8a6aa2bd8
fixed some compiling issues
2021-09-15 14:49:46 +02:00
Mark's Offline
1eb0d18371
Including <exception>
...
Assimp wasn't compiling on GNU/Linux
2021-09-15 05:17:16 -05:00
Kim Kulling
71a87b653c
Merge pull request #4077 from krishty/remove-useless-code
...
removed useless code
2021-09-15 10:57:46 +02:00
Kim Kulling
880a2f25bb
Merge branch 'master' into remove-useless-code
2021-09-14 23:33:34 +02:00
Kim Kulling
9553894c3b
Merge pull request #4072 from assimp/cleanup_public_header
...
Rework format + introdule missing C++11 features
2021-09-14 21:00:58 +02:00
Kim Kulling
8a975549a9
Add missing override
2021-09-14 20:49:20 +02:00
Kim Kulling
113217790b
Merge branch 'master' into cleanup_public_header
2021-09-14 20:46:22 +02:00
Kim Kulling
0fef0e1101
Move duplicate code to glFT common header.
2021-09-14 20:45:36 +02:00
Kim Kulling
8ba4d30d7c
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-09-14 08:24:44 +02:00
Kim Kulling
002cdcdd7f
Merge pull request #4081 from ingowald/master
...
fixed incorrect/misleading comment at end of scene.h
2021-09-14 08:24:08 +02:00
Ingo Wald
e9d03f3379
fixed wrong comment
2021-09-13 15:10:48 -06:00
Kim Kulling
18531e3677
Next iteration for c++11 features.
2021-09-13 22:38:20 +02:00
Artenuvielle
c7e9c6580a
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-09-12 11:45:00 +02:00
René Martin
dfb0d66437
Merge branch 'master' into x3d_pugi_migration_artenuvielle
2021-09-12 11:44:14 +02:00
René Martin
3f6a371b64
migrated x3d importer to pugixml reader
2021-09-12 11:37:33 +02:00
Krishty
5895c0c22c
more const in format detection
...
BaseImporter::SearchFileHeaderForToken() expected a pointer to a non-const token list. This was probably an oversight, as nobody would realistically expect the function to change the list. Furthermore, it prevented token lists from being compiled to read-only memory, in some cases even causing the compiler to generate thread-safe initialization.
The list is now const and all callers declare their token lists static const, thus compiling them to read-only memory.
2021-09-11 23:23:05 +02:00
Krishty
4cf4e7454f
removed useless code
...
In destructors, zeroing attributes or clearing containers is utterly useless.
2021-09-11 21:51:20 +02:00
Hill Ma
93edbe883f
Use Safe Constants Idioms for ObjFileParser::DEFAULT_MATERIAL.
...
Reference: "A static Class Member" in https://abseil.io/tips/140
2021-09-10 11:56:37 -07:00
Kim Kulling
0dabce2754
Merge branch 'master' into cleanup_public_header
2021-09-09 20:18:01 +02:00
Kim Kulling
d34cd103f4
Merge pull request #4054 from kirillsurkov/master
...
Fix MinGW build
2021-09-09 09:39:24 +02:00
Kim Kulling
bc0a2762df
Merge branch 'master' into master
2021-09-09 09:16:50 +02:00
Kim Kulling
f47479aba4
Rework format + introdule missing C++11 features
2021-09-08 23:19:10 +02:00
Kim Kulling
be0ab89afe
Merge pull request #4070 from assimp/kimkulling-patch-1
...
Add patreon
2021-09-08 08:59:27 +02:00
Kim Kulling
dfd95633a4
Add patreon
2021-09-08 08:31:33 +02:00
Kim Kulling
9834dc7fc0
Merge pull request #4012 from Spectrum76/master
...
Update .gitignore
2021-09-07 15:59:20 +02:00
Kim Kulling
2acfdbe0c5
Merge branch 'master' into master
2021-09-07 15:43:59 +02:00
René Martin
3001d88172
Merge branch 'master' into x3d_pugi_migration
2021-09-07 15:04:08 +02:00
Kim Kulling
e70b05b41a
Merge pull request #4057 from Madrich/master
...
Double Precision Issue
2021-09-07 12:49:04 +02:00
Kim Kulling
768024d5a0
Merge branch 'master' into master
2021-09-07 11:39:34 +02:00
Kim Kulling
30c6606718
Merge pull request #4056 from Dig-Doug/xgl-fix
...
XGLImporter: Compiler warning fix
2021-09-07 10:12:40 +02:00
Kim Kulling
74e8a6a366
Merge branch 'master' into xgl-fix
2021-09-07 09:03:40 +02:00
Kim Kulling
209167c41f
Merge pull request #4055 from ms-maxvollmer/ms-maxvollmer/code_improvements
...
Fixes issues our internal compliance and code quality tool found
2021-09-02 11:33:10 +02:00
Max Vollmer (Microsoft Havok)
bf8e36ae28
Fixed typo
2021-09-02 10:07:28 +01:00
Max Vollmer (Microsoft Havok)
72ea80b41f
Revert last change (gltf2::Ref type is not a pointer and has a bool() operator)
2021-09-02 10:00:56 +01:00
Kim Kulling
d710d0700f
Make nullptr test more explicit.
2021-09-02 10:10:42 +02:00
Max Vollmer (Microsoft Havok)
4c86772091
Added another nullptr safety check
2021-09-02 08:27:03 +01:00
Madrich
9b535d1c15
Fix Double Precision errors/warnings
2021-08-31 12:59:31 +02:00
Madrich
43a3c4a05e
Merge branch 'assimp:master' into master
2021-08-31 11:55:29 +02:00
Kim Kulling
155db25883
Merge branch 'master' into ms-maxvollmer/code_improvements
2021-08-31 08:55:47 +02:00
Kim Kulling
f888910a2a
Merge pull request #4053 from kovacsv/compressed_json
...
Add export property for assimp json exporter to write compressed json
2021-08-31 08:51:23 +02:00
Doug Roeper
96f0787f51
Fix the -Werror=unused-but-set-parameter warning by removing the skipFirst variable.
2021-08-30 18:15:37 -04:00
Max Vollmer (Microsoft Havok)
51f294c587
Fixes issues our internal compliance and code quality tool found:
...
* Adds nullptr checks and asserts to protect certain code paths
* Fixes wrong integer type in a printf call
* Adds const to const values
* Prevents integer overflow with explicit casts
2021-08-30 14:59:17 +01:00
Viktor Kovacs
82d8c4e849
Merge branch 'master' into compressed_json
2021-08-30 10:11:03 +02:00
Kim Kulling
5e86fead8e
Merge pull request #4029 from assimp/issue_3398
...
Add support for M3F Embedded textures
2021-08-30 08:46:33 +02:00
Kim Kulling
38c611a02c
Update ColladaLoader.cpp
2021-08-30 08:33:35 +02:00
Kim Kulling
e2c2a60c45
Remove not used attribute
2021-08-29 18:41:07 +02:00
Kim Kulling
c9d35b6edc
Remove C++14 feature.
2021-08-29 18:35:44 +02:00
Kim Kulling
ceafa95610
Remove unused header
2021-08-29 10:36:02 +02:00
kirillsurkov
5ca2cbb7ae
Fix MinGW build
2021-08-28 20:04:37 +03:00
Kim Kulling
c9b76f5255
Decrease xml-serializer complexity
2021-08-28 14:20:12 +02:00
Kim Kulling
df739f00dd
Merge branch 'master' into issue_3398
2021-08-28 13:56:50 +02:00
Kim Kulling
69051bbc2c
Add missing docu
2021-08-28 13:46:41 +02:00
Kim Kulling
a7bc858698
Fix review finding.
2021-08-28 13:36:57 +02:00
Kim Kulling
3e090b21f5
Fix setup of embedded texture loading
2021-08-28 13:33:25 +02:00
Viktor Kovacs
b9b62d106c
Merge branch 'master' into compressed_json
2021-08-27 18:18:28 +02:00
kovacsv
b39f38b73c
Add export property for assimp json exporter to write compressed json (without whitespaces).
2021-08-27 18:17:27 +02:00
Kim Kulling
6841397798
Merge pull request #4051 from assimp/kimkulling-kill_irrXml-dependency
...
Delete FindIrrXML.cmake
2021-08-27 15:07:00 +02:00
Kim Kulling
999192489c
Delete FindIrrXML.cmake
...
- Deprecated
2021-08-27 14:52:48 +02:00
Kim Kulling
afd0f65ceb
Merge pull request #4050 from assimp/kimkulling-fuzzer_issue_24553
...
Fix possible overrun
2021-08-27 14:19:32 +02:00
Kim Kulling
a45878c41a
Fix possible overrun
...
- closes https://github.com/assimp/assimp/issues/3425
2021-08-27 14:04:00 +02:00
Kim Kulling
e5bf7f7e07
Merge pull request #4049 from assimp/kimkulling-patch-fuzzer_Issue_25058
...
Handle empty keys
2021-08-27 11:01:49 +02:00
Kim Kulling
eabfc05bbb
Handle empty keys
2021-08-27 10:41:25 +02:00
Kim Kulling
6439305379
Remove dead code
2021-08-24 20:53:55 +02:00
Kim Kulling
61ba320a04
Merge branch 'master' into master
2021-08-24 20:53:04 +02:00
Kim Kulling
e7085199f2
Merge pull request #4045 from assimp/issue_4042
...
Enable Viewer only for VS-Builds
2021-08-24 19:37:18 +02:00
Kim Kulling
fe31ac295c
Merge branch 'master' into issue_4042
2021-08-24 19:24:16 +02:00
Kim Kulling
a71baaeedf
Enable Viewer only for VS-Builds
2021-08-24 19:22:15 +02:00
Kim Kulling
7cc076b27a
Merge pull request #4044 from kovacsv/m3d_crash
...
Fix M3D import crash and memory leak.
2021-08-24 15:06:50 +02:00
kovacsv
cb262dab5e
Revert test back to the exact same version.
2021-08-24 11:02:09 +02:00
kovacsv
37ba067839
Revert back test, because the new one revealed an undefined behavior error.
2021-08-24 09:09:35 +02:00
kovacsv
0590a39159
Fix M3D import crash and memory leak.
...
The same default material pointer was assigned to all the materials in the scene, so poor destructor tried to free the same pointer multiple times.
2021-08-24 07:26:20 +02:00
Kim Kulling
d2b7e9c38c
Merge pull request #4040 from assimp/build_fixes
...
Build fixes
2021-08-20 21:23:42 +02:00
Kim Kulling
f24101546b
Fix typo in path
2021-08-20 21:02:42 +02:00
Kim Kulling
1452b33cbd
Merge branch 'master' into build_fixes
2021-08-20 20:58:35 +02:00
kimmi
18f58947a4
CMake: move hunter cmake-scripts into cmake-modules
2021-08-20 20:42:02 +02:00
kimmi
38dcd3583c
Fix compiler warnings: comparison signed unsigned.
2021-08-20 20:20:47 +02:00
kimmi
c396bc78b1
closes https://github.com/assimp/assimp/issues/3951 : Use using directive to define type.
2021-08-20 19:40:04 +02:00
Kim Kulling
7fa2bfbb70
Merge pull request #4036 from yzthr/master
...
fix sample build error
2021-08-20 19:30:37 +02:00
Kim Kulling
21603c9f83
Merge branch 'master' into master
2021-08-20 19:18:54 +02:00
Kim Kulling
aa90f51849
Merge pull request #4037 from kovacsv/master
...
Mingw build fix
2021-08-19 19:48:12 +02:00
kovacsv
468aa50aed
mingw build fix
2021-08-19 13:50:26 +02:00
陶浩然
d926c5ed61
fix sample build error
2021-08-19 18:49:43 +08:00
Kim Kulling
ceced70df0
Merge pull request #4026 from Mykhailo418/master
...
Fix: incorrect reading of PBR properties in FBX
2021-08-18 10:47:20 +02:00
Kim Kulling
f3903e34a4
Merge branch 'master' into master
2021-08-18 07:32:16 +02:00
Kim Kulling
4766d75943
Merge pull request #4027 from uerobert/clang13
...
Add missing diagnostic pragmas and remove unused code
2021-08-17 17:39:02 +02:00
Kim Kulling
a486a698e8
Merge branch 'master' into clang13
2021-08-16 21:35:59 +02:00
Kim Kulling
4ce638838d
Merge pull request #4032 from ms-maxvollmer/ms-maxvollmer/crash_fixes_08_2021
...
Crash fixes
2021-08-16 21:35:12 +02:00
Kim Kulling
a850f312ac
Merge branch 'master' into ms-maxvollmer/crash_fixes_08_2021
2021-08-16 21:00:07 +02:00
Kim Kulling
c28aab2ed6
Merge pull request #4017 from mahiuchun/bound
...
Obj: make a predicate more robust.
2021-08-16 20:59:37 +02:00
Kim Kulling
27231c3f52
Merge branch 'master' into bound
2021-08-16 20:48:17 +02:00
Kim Kulling
4caba7de8a
Merge pull request #4010 from krishty/fix-logger-comments
...
fix comments
2021-08-16 20:47:31 +02:00
Max Vollmer (Microsoft Havok)
c1e830cf3b
The GLTF2 specs aren't very specific about the restrictions of the number of keyframes in sampler input and output. It seems logical that they should be the same, but there is an official sample model from Khronos where output has more keyframes. I thus assume that the GLTF2 standard allows more keyframes in output, but not in input. Fixed the check accordingly.
2021-08-13 17:46:10 +01:00
Max Vollmer (Microsoft Havok)
de2f5cf021
Crash fixes
2021-08-13 16:26:42 +01:00
Spectrum76
4d8c518ed0
Merge branch 'assimp:master' into master
2021-08-13 20:43:35 +05:30
Kim Kulling
4b1ff645e3
closes https://github.com/assimp/assimp/issues/3398 : Add support for embedded textures
2021-08-12 21:13:07 +02:00
Mykhailo Smoliakov
26defda671
Merge branch 'master' into master
2021-08-12 08:20:59 +03:00
Robert Ubiñas
b95df54225
Remove unused code
2021-08-11 19:33:10 -04:00
Robert Ubiñas
58cae73401
Disable diagnostic for LogStream comparator
2021-08-11 19:32:26 -04:00
Robert Ubiñas
69c152d7c1
Add missing diagnostic push
2021-08-11 18:57:21 -04:00
krishty
aac77e58b6
Merge branch 'master' into fix-logger-comments
2021-08-11 12:16:58 +02:00
Mykhailo Smoliakov
c3fcbfd2c1
Fix issue of incorrect reading of PBR properties such as base and emissive color in FBX
2021-08-11 08:54:34 +03:00
Kim Kulling
fcc7ad52a1
Merge pull request #4009 from krishty/fix-indent
...
style fix: indentation
2021-08-11 00:35:08 +02:00
Kim Kulling
a16cd95b16
Merge branch 'master' into fix-indent
2021-08-10 21:39:13 +02:00
Kim Kulling
843e16868c
Merge pull request #4008 from krishty/no-empty-string-literals
...
style fix – initializing and assigning empty std::string properly
2021-08-10 21:38:46 +02:00
Kim Kulling
a55518f6fc
Merge branch 'master' into no-empty-string-literals
2021-08-10 20:41:40 +02:00
Kim Kulling
58f91000c8
Merge pull request #4007 from krishty/trim-trailing-whitespace
...
removed trailing spaces and tabs from source and text
2021-08-09 23:26:38 +02:00
Kim Kulling
89eadb934f
Merge branch 'master' into trim-trailing-whitespace
2021-08-09 21:24:22 +02:00
Kim Kulling
89d17d1ea8
Merge pull request #4001 from xiaohunqupo/master
...
StepExporter support polygon mesh
2021-08-09 21:23:51 +02:00
Kim Kulling
0aa36ee550
Merge branch 'master' into master
2021-08-07 12:06:23 +02:00
krishty
73b25d2578
Merge branch 'master' into fix-logger-comments
2021-08-06 09:40:35 +02:00
krishty
f8fe3d1341
Merge branch 'master' into fix-indent
2021-08-06 09:40:34 +02:00
krishty
00b22d1397
Merge branch 'master' into no-empty-string-literals
2021-08-06 09:40:31 +02:00
krishty
6cb54d1c95
Merge branch 'master' into trim-trailing-whitespace
2021-08-06 09:40:03 +02:00
Kim Kulling
76e3092b2a
Merge pull request #4016 from mahiuchun/strlen
...
Use strlen() rather than fixed length in fast_atof.h
2021-08-04 08:45:18 +02:00
Kim Kulling
d09d7a9e13
Merge branch 'master' into strlen
2021-08-03 21:40:35 +02:00
Kim Kulling
87d53ce0cb
Merge pull request #4006 from krishty/remove-dead-code
...
removed useless code
2021-08-03 21:36:46 +02:00
bearbit
408b5053a4
update LWO importer(available lwo3)
2021-08-03 20:18:14 +03:00
Hill Ma
538cb3125c
Use strlen() rather than fixed length in fast_atof.h
...
This avoids reading past the length of the input string.
2021-08-02 13:21:07 -07:00
Hill Ma
8d6d6b48c3
Obj: make a predicate more robust.
...
Since we might encounter invalid input it is a good idea to check the actual
size of the array.
2021-08-02 12:04:15 -07:00
Spectrum76
bd2067fa8a
Merge branch 'master' into master
2021-08-02 12:07:17 +05:30
krishty
1ee2be8c5c
Merge branch 'master' into trim-trailing-whitespace
2021-07-31 18:01:48 +02:00
Kim Kulling
00a2cd20f9
Merge branch 'master' into remove-dead-code
2021-07-31 17:00:58 +02:00
Kim Kulling
8f02c29023
Merge pull request #4011 from krishty/more-range-based-for
...
more range-based for
2021-07-31 16:59:49 +02:00
Spectrum76
6ce5248931
Update .gitignore
2021-07-29 21:38:23 +05:30
Krishty
bb53961fa9
more range-based for
...
f6b4370f6a
and 7c822f23bd
introduced raw loops on data types with heavy nesting; range-based for suits better here
2021-07-29 14:57:25 +02:00
Krishty
a1eaaaa0e3
fix comments
...
fixes some copy-paste errors in logger comments introduced with 89584c167a
2021-07-29 14:45:39 +02:00
Krishty
42a7611f85
style fix: indentation
2021-07-29 14:39:22 +02:00
Krishty
4991f728c8
style fix – initializing and assigning empty std::string properly
...
for details, see #3764
2021-07-29 14:23:52 +02:00
Krishty
758116b083
removed trailing spaces and tabs from source and text
...
This commit ignores the “contrib” folder in order to prevent merge conflicts in dependencies, should these be updated via git.
2021-07-29 13:28:51 +02:00
Krishty
738c31c3ea
removed useless code
...
Found while reviewing #3880
2021-07-28 16:48:53 +02:00
xiaohunqupo
d065513e27
Merge branch 'master' into master
2021-07-28 17:02:28 +08:00
Kim Kulling
fc22d6cdae
Merge pull request #4002 from assimp/kimkulling-issue_3760
...
Fix Issue3760
2021-07-28 10:58:52 +02:00
Kim Kulling
f87550fdbc
Fix Issue3760
...
- Convert left-handed coordinate system to right-handed coordinate system
- Rescale model by 0.01
- closes https://github.com/assimp/assimp/issues/3760
2021-07-28 10:39:39 +02:00
xiaohunqupo
8ee2c721d9
StepExporter support polygon mesh
...
StepExporter support polygon mesh
2021-07-28 16:32:27 +08:00
xiaohunqupo
9923cd0e06
Merge pull request #3 from assimp/master
...
Merge Master Branch To My Branch
2021-07-28 16:17:51 +08:00
Kim Kulling
8748f8591c
Merge pull request #4000 from assimp/kimkulling-issue_3790
...
Fix euler angles
2021-07-26 15:59:32 +02:00
Kim Kulling
92af44f092
Fix euler angles
2021-07-26 15:47:19 +02:00
Kim Kulling
209c66dff1
Merge pull request #3999 from assimp/kimkulling-issue_3974
...
Fix fuzzer issue in m3d-importer
2021-07-26 15:17:46 +02:00
Kim Kulling
aeae2cf242
Update M3DWrapper.h
2021-07-26 14:44:26 +02:00
Kim Kulling
e8e720d584
Update M3DWrapper.h
2021-07-26 13:41:54 +02:00
Kim Kulling
291c0a4faa
Fix build failure
...
- Fix the failure
- Put inlined stuff out of declaration
- Add some docu
2021-07-26 13:13:21 +02:00
Kim Kulling
df2e7208fb
Fix fuzzer issue in m3d-importer
...
- closes https://github.com/assimp/assimp/issues/3974
- Check for nullptr before dereferencing name in m3d-data-instance.
2021-07-26 11:56:26 +02:00
Kim Kulling
c3a097abc9
Merge pull request #3998 from assimp/issue_3975
...
closes https://github.com/assimp/assimp/issues/3975 :
2021-07-26 11:51:25 +02:00
Kim Kulling
16c3f82222
closes https://github.com/assimp/assimp/issues/3975 : Use latest version of OpenDDL-Parser
2021-07-26 11:24:18 +02:00
Kim Kulling
26538a4f4a
Merge pull request #3997 from assimp/issue_3957
...
closes https://github.com/assimp/assimp/issues/3957 : checkj for empty…
2021-07-26 11:14:46 +02:00
Kim Kulling
b7f88f3063
closes https://github.com/assimp/assimp/issues/3957 : checkj for empty positions.
2021-07-26 10:51:16 +02:00
Kim Kulling
a96e7e6e2b
Merge pull request #3992 from AdrianAtGoogle/gltf_fixes
...
Fix issues encountered during integration attempt
2021-07-23 21:59:26 +02:00
Kim Kulling
4e28a3072f
Merge branch 'master' into gltf_fixes
2021-07-23 20:37:25 +02:00
Kim Kulling
1757513890
Merge pull request #3995 from assimp/add_missing_includes_to_doc
...
Add hpp to dxygen filter
2021-07-22 21:23:37 +02:00
Kim Kulling
d554b4950d
Add hpp to dxygen filter
2021-07-22 20:48:25 +02:00
Kim Kulling
0372c8c65d
Merge pull request #3991 from mahiuchun/double
...
FBX: fix double precision build.
2021-07-22 10:49:37 +02:00
Kim Kulling
e07af07311
Merge branch 'master' into double
2021-07-22 10:07:40 +02:00
Kim Kulling
f3cb23c0c7
Merge pull request #3994 from assimp/doxygen_api_generation
...
Disable html and enable xml
2021-07-22 10:07:23 +02:00
Kim Kulling
33da6ab376
Merge branch 'master' into doxygen_api_generation
2021-07-21 21:00:46 +02:00
Kim Kulling
aa8628abef
Disable html and enable xml
2021-07-21 20:38:58 +02:00
Kim Kulling
e9d7ec4ba5
Merge pull request #3990 from RichardTea/gltf_export_id_issue_3978
...
Ensure glTFv2 scene name is unique
2021-07-21 17:31:58 +02:00
Kim Kulling
d0885af634
Merge branch 'master' into gltf_export_id_issue_3978
2021-07-21 13:47:47 +02:00
Kim Kulling
9036d3bd12
Merge pull request #3993 from assimp/doxygen_api_generation
...
Fix version, remove deprecated doc files, fix some path errors
2021-07-21 13:47:34 +02:00
Kim Kulling
9f2540a2a8
Merge branch 'master' into doxygen_api_generation
2021-07-21 09:51:13 +02:00
Kim Kulling
e13ce4b624
Fix version, remove deprecated doc files, fix some path errors
2021-07-21 09:46:23 +02:00
Adrian Perez
a10f918071
Merge branch 'gltf_fixes' of https://github.com/AdrianAtGoogle/assimp into gltf_fixes
2021-07-16 14:30:14 -07:00
Adrian Perez
30d342534a
Fix issues encountered during integration atempt
2021-07-16 14:29:28 -07:00
Adrian Perez
5285736ba0
Fix issues encountered during integration atempt
2021-07-16 14:21:32 -07:00
Kim Kulling
22099605e3
Merge pull request #3988 from RichardTea/collada_makehuman_issue_3984
...
Collada: Read <matrix> tags properly, assume <input set="0"/> when not present
2021-07-16 12:00:28 +02:00
Kim Kulling
5171aa52d1
Remove dead code
2021-07-16 11:47:38 +02:00
Kim Kulling
5693bc71f3
Merge branch 'master' into collada_makehuman_issue_3984
2021-07-16 11:44:32 +02:00
Hill Ma
aa883eda19
FBX: fix double precision build.
2021-07-15 11:54:55 -07:00
Kim Kulling
cb5686653f
Merge pull request #3989 from rbsheth/rbsheth_fix_hunter
...
Find stb for Assimp
2021-07-15 19:51:46 +02:00
Kim Kulling
e791f09aeb
Merge branch 'master' into rbsheth_fix_hunter
2021-07-15 19:05:20 +02:00
Kim Kulling
f3addb3ba4
Merge pull request #3986 from mlopezantequera/patch-1
...
PyAssimp fix: don't always search anaconda paths
2021-07-14 21:09:31 +02:00
RichardTea
632b2db97c
Ensure glTFv2 scene name is unique
...
Use the provided scene name if extant
Fixes issue #3978
2021-07-14 13:39:41 +01:00
Rahul Sheth
6e863b2435
Find stb for Assimp
2021-07-14 08:27:04 -04:00
RichardTea
0c6c238956
Merge branch 'master' into collada_makehuman_issue_3984
2021-07-14 11:33:43 +01:00
Kim Kulling
23e416de3b
Merge branch 'master' into patch-1
2021-07-14 11:34:58 +02:00
Kim Kulling
a08c1c1d67
Merge pull request #3985 from rbsheth/rbsheth_fix_hunter
...
Fix stb_image dependency
2021-07-14 11:32:03 +02:00
Kim Kulling
9c207cd865
Merge branch 'master' into rbsheth_fix_hunter
2021-07-13 20:45:22 +02:00
RichardTea
bff1d012bd
Read matrix and input (shared) correctly
...
<matrix> may have leading and trailing whitespace
<input/> set attribute is unsigned. It is also optional, default 0
2021-07-13 16:50:09 +01:00
RichardTea
206b2436d4
Apply clangformat
2021-07-13 16:47:31 +01:00
Kim Kulling
d37ef516f8
Merge pull request #3981 from arkeon7/PLY_RN_LINE
...
Manage /R/N lines ends correctly on binary files, tested with solidworks PLY export
2021-07-12 12:47:05 +02:00
Kim Kulling
15bbab2d9e
Merge branch 'master' into PLY_RN_LINE
2021-07-12 10:53:00 +02:00
Kim Kulling
bd28c285fc
Merge pull request #3980 from irajsb/master
...
Update Gitignore exclude x64 folder generated by build
2021-07-11 19:05:52 +02:00
Kim Kulling
d678fb7406
Merge branch 'master' into master
2021-07-11 18:52:46 +02:00
Manuel López Antequera
e49ee6cfb2
PyAssimp fix: don't always search anaconda paths
...
The helper was erroneously adding the Anaconda paths to the search.
2021-07-08 09:51:05 +02:00
Rahul Sheth
1b37b74f9e
Hunter fixes for stb_image
2021-07-07 17:01:19 -04:00
Rahul Sheth
0a5e49252d
Merge remote-tracking branch 'origin/master' into HEAD
2021-07-07 16:35:29 -04:00
Kim Kulling
1d33131e90
Merge pull request #3969 from Promit/promit/gltf-extras
...
Added support for custom properties ("extras") in glTF2 importer
2021-07-04 19:28:19 +02:00
Promit Roy
90c115cb3f
Merge branch 'master' into promit/gltf-extras
2021-07-02 00:38:00 -04:00
Kim Kulling
939dacdbee
Merge pull request #3967 from jerstlouis/master
...
glTF2: Improved support for AI_MATKEY_OPACITY
2021-07-01 20:01:31 +02:00
Kim Kulling
240eb36980
Merge branch 'master' into master
2021-07-01 19:23:52 +02:00
arkeon
3cbd31900c
Manage /R/N lines ends correctly on binary files, tested with solidworks PLY export
2021-07-01 17:23:21 +02:00
DESKTOP-HEFITKI\Iraj
391080d2e6
Update Gitignore exclude x64 folder generate by build
2021-07-01 15:01:39 +04:30
Kim Kulling
1ea3cb545d
Merge pull request #3973 from assimp/issue_3971_kkulling
...
closes https://github.com/assimp/assimp/issues/3971 : fix wrong depend…
2021-06-30 00:23:35 +02:00
Kim Kulling
0a48a35382
closes https://github.com/assimp/assimp/issues/3971 : fix wrong dependency
2021-06-29 21:22:22 +02:00
Kim Kulling
3ea4baad81
Merge pull request #3965 from Pankaj003/master
...
FBX module unable to read uv rotation angle and write all the uv transformation data.
2021-06-29 21:05:15 +02:00
Kim Kulling
01930101c7
Merge branch 'master' into master
2021-06-29 20:45:09 +02:00
Kim Kulling
67c45e2d87
Merge pull request #3964 from Skylion007/clang-tidy-perf-fixes
...
Performance: Apply various performance fixes from clang-tidy
2021-06-29 20:41:52 +02:00
Kim Kulling
59ab791a47
Merge branch 'master' into clang-tidy-perf-fixes
2021-06-29 20:24:23 +02:00
Promit Roy
7c822f23bd
Added support for custom properties ("extras") in glTF2
2021-06-27 00:53:40 -04:00
Jerome St-Louis
e3d54860ec
Merge branch 'master' into master
2021-06-25 18:50:33 -04:00
Pankaj003
72075f984e
Merge branch 'master' into master
2021-06-25 19:48:12 +05:30
Kim Kulling
d855ec2472
Merge pull request #3959 from mahiuchun/zero
...
glTF2: zero out extra space created by padding.
2021-06-25 00:03:37 +02:00
Jerome St-Louis
0e41efb050
glTF2: Improved support for AI_MATKEY_OPACITY
...
- Exporter: Writing opacity to pbrMetallicRoughness.baseColorFactor[3] even when alphaMode is set
- Importer: Setting AI_MATKEY_OPACITY from pbrMetallicRoughness.baseColorFactor[3]
2021-06-24 13:27:29 -04:00
Aaron Gokaslan
f435ce8c2c
Merge branch 'master' into clang-tidy-perf-fixes
2021-06-24 11:54:56 -04:00
Kim Kulling
b38b65ff49
Add const
2021-06-24 17:03:00 +02:00
Kim Kulling
012ce30577
Merge branch 'master' into zero
2021-06-24 17:00:43 +02:00
Kim Kulling
bd9b28bc45
Merge pull request #3955 from Evangel63/master
...
Add scene metadata for glTF2 files as allowed by the glTF2 specification
2021-06-24 17:00:16 +02:00
Kim Kulling
d18d838812
Fix formatting
2021-06-24 16:18:11 +02:00
Kim Kulling
b5350899b2
Merge branch 'master' into master
2021-06-24 16:15:51 +02:00
Kim Kulling
28ca0d13d3
Merge pull request #3966 from jerstlouis/master
...
include/material.h: Fixed broken C support
2021-06-24 16:15:21 +02:00
Kim Kulling
00bf757688
Update material.h
2021-06-24 13:28:49 +02:00
Jerome St-Louis
170063643c
include/material.h: Fixed broken C support
...
- The aiGetMaterialFloat() and aiGetMaterialInteger() C preprocessor definitions were broken because:
- They had a space before the opening parenthesis
- Using material key definitions expanding 1 to argument into 3 breaks the invocation of macros expecting 5 parameters
2021-06-23 18:15:01 -04:00
Aaron Gokaslan
8e3a159141
Merge branch 'master' into clang-tidy-perf-fixes
2021-06-23 10:10:28 -04:00
Pankaj Tyagi
6170c49155
Fixed:
...
1. FBX import is unable to read the texture UV rotation angle.
2. FBX export is unable to write the texture UV rotation angle.
2021-06-23 16:49:09 +05:30
Evangel63
e736538df3
Merge branch 'master' into master
2021-06-23 13:45:23 +10:00
Kim Kulling
bf82caba18
Merge pull request #3954 from ihsinme/patch-1
...
the expression does not throw an exception.
2021-06-23 01:20:00 +02:00
Kim Kulling
c447fc6892
Merge branch 'master' into patch-1
2021-06-23 01:08:40 +02:00
Kim Kulling
1faedc136a
Merge pull request #3952 from RichardTea/clean_gltf_pbr_brdf
...
First pass at simplifying PBR
2021-06-23 01:07:53 +02:00
Aaron Gokaslan
24d4be958d
Merge branch 'master' into clang-tidy-perf-fixes
2021-06-22 14:42:51 -04:00
Aaron Gokaslan
544148a626
Fix code insertion duplication
2021-06-22 14:28:46 -04:00
Kim Kulling
760953c834
Merge branch 'master' into clean_gltf_pbr_brdf
2021-06-22 20:10:03 +02:00
Kim Kulling
36815b014b
Update FBXExporter.h
2021-06-22 20:05:16 +02:00
Kim Kulling
53d2cf975a
Merge pull request #3961 from andreasbuhr/patch-1
...
Replace swear words in IFCBoolean.cpp
2021-06-22 20:03:47 +02:00
Aaron Gokaslan
b17c2f29e9
Replace noexcept with proper macro
2021-06-22 12:44:36 -04:00
Aaron Gokaslan
1650868701
Remove redundant include
2021-06-22 12:32:58 -04:00
Aaron Gokaslan
94c3abd841
Apply various performance fixes from clang-tidy
2021-06-22 12:27:15 -04:00
Kim Kulling
951d5158c5
Merge branch 'master' into patch-1
2021-06-22 09:42:30 +02:00
ihsinme
d699e7b56e
Merge branch 'master' into patch-1
2021-06-22 09:48:25 +03:00
Kim Kulling
43a5c6c8e3
Merge pull request #3946 from mahiuchun/safe
...
glTF2: Make handling of embedded textures safer.
2021-06-21 19:02:43 +02:00
Kim Kulling
9512e9ac1e
Merge branch 'master' into safe
2021-06-21 17:53:17 +02:00
Kim Kulling
376b3b2eff
Merge pull request #3945 from mahiuchun/embed
...
Add GetEmbeddedTextureAndIndex() to aiScene.
2021-06-17 22:21:03 +02:00
Kim Kulling
a8c75c34a1
Update scene.h
...
Add some more checks against nullptr dereferecnes.
2021-06-17 21:31:28 +02:00
Kim Kulling
089375bd63
Merge branch 'master' into embed
2021-06-17 21:22:36 +02:00
Hill Ma
fe8c4ebd8c
Merge branch 'master' into zero
2021-06-16 10:18:41 -07:00
Andreas Buhr
e27074594f
Replace swear words in IFCBoolean.cpp
...
Add a more gentle comment.
2021-06-16 18:58:41 +02:00
Kim Kulling
fdb9ce6445
Merge pull request #3958 from mahiuchun/iosys
...
Fix issue #2873
2021-06-16 14:22:02 +02:00
Kim Kulling
a34b9d1c95
Fix review findings
2021-06-16 11:21:31 +02:00
Hill Ma
148b8c66a8
glTF2: zero out extra space created by padding.
...
This makes resulting GLB deterministic.
2021-06-15 15:18:20 -07:00
Hill Ma
af748755e1
Fix issue #2873
2021-06-15 13:20:12 -07:00
Kim Kulling
a6558ca249
Merge branch 'master' into embed
2021-06-15 13:32:09 +02:00
ihsinme
6a78ef5652
Merge branch 'master' into patch-1
2021-06-15 09:42:05 +03:00
RichardTea
a909341767
Merge remote-tracking branch 'origin/clean_gltf_pbr_brdf' into clean_gltf_pbr_brdf
2021-06-14 15:11:51 +01:00
RichardTea
f412595887
Fix typo
...
Thank you clang!
2021-06-14 15:11:41 +01:00
RichardTea
985f3ee665
Fix glTFv2 texcoord/uv mapping
...
Use the standard property to indicate the UV map index
2021-06-14 15:11:41 +01:00
RichardTea
fb039bb9eb
Add glTFv2 Clearcoat import/export tests
...
Uses Clearcoat model from Khronos
2021-06-14 15:11:41 +01:00
RichardTea
4a66ec25d0
Standardise Clearcoat, Sheen and Transmission
...
Also cleanup glTFv2 defaults, don't import/export if disabled
2021-06-14 15:11:41 +01:00
RichardTea
4476352882
First pass at simplifying glTFv2 PBR
...
Removed 'core' set of GLTF-specific properties
2021-06-14 15:11:41 +01:00
Kim Kulling
a9b29abee6
Merge pull request #3938 from BaldricS/Fix_SceneCombiner_Texture_Reindexing
...
SceneCombiner memory issues when re-indexing textures.
2021-06-14 15:40:25 +02:00
Kim Kulling
9a851cac7b
Merge branch 'master' into Fix_SceneCombiner_Texture_Reindexing
2021-06-14 14:47:15 +02:00
Kim Kulling
a0388b1727
Merge pull request #3918 from Nodrev/fbx-lights-export
...
Adding basic support for lights in FBX exporter
2021-06-14 14:46:36 +02:00
Evangel
064ffc625b
Const qualify aiMetadata::HasKey
2021-06-14 12:21:29 +10:00
Evangel
3de20af3cc
Renamed glTF2::Object::extensions to customExtensions to avoid shadowing in other subclasses.
2021-06-12 13:16:53 +10:00
Evangel
a7a30baf27
Renamed local variable to avoid shadowing member variable.
2021-06-12 13:08:14 +10:00
Evangel
7f0efa0866
Added ReadExtensions to glTF2::Object, so all objects now have their extensions read.
...
Importer is the only place that needs to be modified to make them available on the Assimp side now.
2021-06-12 12:50:44 +10:00
Evangel
5be2330fbb
Added CustomExtension to glTF2::Object so that all subclasses have it instead of doing it piecemeal.
2021-06-12 12:20:40 +10:00
Evangel
6d413444b5
Merge branch 'master' of https://github.com/Evangel63/assimp
2021-06-12 11:46:20 +10:00
Evangel
36c8cdf3de
Add scene metadata for glTF2 files as allowed by the glTF2 specification.
2021-06-12 11:44:28 +10:00
RichardTea
fbf75963dc
Fix typo
...
Thank you clang!
2021-06-11 15:25:02 +01:00
RichardTea
230f367ef9
Fix glTFv2 texcoord/uv mapping
...
Use the standard property to indicate the UV map index
2021-06-11 15:17:25 +01:00
RichardTea
c86522e552
Add glTFv2 Clearcoat import/export tests
...
Uses Clearcoat model from Khronos
2021-06-11 14:34:42 +01:00
RichardTea
4b4d6b1326
Standardise Clearcoat, Sheen and Transmission
...
Also cleanup glTFv2 defaults, don't import/export if disabled
2021-06-11 13:44:52 +01:00
ihsinme
6dd9ab062c
the expression does not throw an exception.
...
maybe you just forgot this word.
2021-06-11 10:56:45 +03:00
Kim Kulling
6db142ee51
Merge branch 'x3d_pugi_migration' of https://github.com/assimp/assimp into x3d_pugi_migration
2021-06-10 23:36:47 +02:00
Kim Kulling
ebb9b1b2af
Next iteration
2021-06-10 23:36:07 +02:00
RichardTea
9f9d77f882
First pass at simplifying glTFv2 PBR
...
Removed 'core' set of GLTF-specific properties
2021-06-10 18:13:46 +01:00
Kim Kulling
391d3195df
Merge branch 'master' into fbx-lights-export
2021-06-10 12:27:14 +02:00
Scott Baldric
1deacf32be
Merge branch 'master' into Fix_SceneCombiner_Texture_Reindexing
2021-06-09 15:27:20 -05:00
Kim Kulling
199aa5dd66
Merge pull request #3911 from RichardTea/update_draco
...
Update Draco to upstream e4103dc
2021-06-09 16:34:53 +02:00
Kim Kulling
fc4ebefaa4
Merge branch 'master' into update_draco
2021-06-08 23:30:01 +02:00
Hill Ma
ef739c1703
glTF2: Make handling of embedded textures safer.
...
Previous code does not check whether the embedded texture exists.
2021-06-08 12:53:18 -07:00
Scott Baldric
ca1ab8b11b
Merge branch 'master' into Fix_SceneCombiner_Texture_Reindexing
2021-06-08 08:18:15 -05:00
Kim Kulling
c58fe0c98f
Merge pull request #3873 from krishty/improve-msvc-switches
...
enable debug information in MSVC release build
2021-06-08 15:09:28 +02:00
Hill Ma
121c0e7d0c
Add GetEmbeddedTextureAndIndex() to aiScene.
...
It allows the caller to get the index of the embedded texture that is always computed anyway.
2021-06-07 21:53:28 -07:00
Kim Kulling
790203ee9d
Merge branch 'master' into improve-msvc-switches
2021-06-07 21:21:20 +02:00
Kim Kulling
cdc1bf8e10
Merge pull request #3916 from jagoon/fix-fbx-exporter2
...
Fix fbx exporter bug if root node contains meshes.
2021-06-07 21:20:18 +02:00
Scott Baldric
8039351a67
Merge branch 'master' into Fix_SceneCombiner_Texture_Reindexing
2021-06-07 11:44:10 -05:00
Kim Kulling
a8ddc74426
Merge branch 'master' into fix-fbx-exporter2
2021-06-07 18:26:59 +02:00
Kim Kulling
1126fa5218
Merge pull request #3934 from assimp/fix_dxf_viewer
...
fix viewer in case of unknown primitives.
2021-06-07 18:24:52 +02:00
Kim Kulling
d33cf1dc0c
Merge branch 'master' into x3d_pugi_migration
2021-06-06 16:06:08 +02:00
Scott Baldric
444fc9c373
Increasing length of mDataLength if rewriting the texture index increases magnitutde of index.
2021-06-04 16:32:46 -05:00
Kim Kulling
84db4d3a08
Update CMakeLists.txt
2021-06-03 23:56:52 +02:00
Kim Kulling
b0e7271449
Merge branch 'master' into stb-image-updated
2021-06-03 23:46:43 +02:00
Kim Kulling
e6b83feb9f
Update CMakeLists.txt
2021-06-03 23:45:48 +02:00
Kim Kulling
1a493613c1
Merge branch 'master' into fix_dxf_viewer
2021-06-03 23:43:39 +02:00
Kim Kulling
a3b3ab1d44
Merge pull request #3941 from assimp/issue_3767
...
update pugi_xml to 1.11
2021-06-03 23:42:08 +02:00
Kim Kulling
742250c5fb
Update CMakeLists.txt
2021-06-03 23:42:07 +02:00
Kim Kulling
a716f741d8
fix the include
2021-06-03 23:35:12 +02:00
Kim Kulling
bf0f8d4c1b
Update pugiconfig.hpp
2021-06-03 23:29:53 +02:00
Kim Kulling
cc912f09f7
update pugi_xml to 1.11
2021-06-03 23:16:20 +02:00
Kim Kulling
22b49efbd0
Merge branch 'master' into stb-image-updated
2021-06-03 23:07:48 +02:00
Kim Kulling
d2da600d08
Merge pull request #3940 from assimp/kimkulling-issue_3887
...
Use correct attribute name
2021-06-03 23:07:40 +02:00
Kim Kulling
e0d1a36523
Merge branch 'master' into stb-image-updated
2021-06-03 23:07:38 +02:00
Kim Kulling
b4fc41bc09
Use corret attribute name
...
- closes https://github.com/assimp/assimp/issues/3887
2021-06-03 22:52:10 +02:00
Kim Kulling
d600b45cd2
Merge branch 'x3d_pugi_migration' of https://github.com/assimp/assimp into x3d_pugi_migration
2021-06-03 22:21:10 +02:00
Kim Kulling
f28331b202
Merge pull request #3939 from assimp/kimkulling-issue_3872
...
Update unity plugin to trilib2
2021-06-03 20:58:21 +02:00
Kim Kulling
3a32612b71
Add skipping of unused nodes.
2021-06-03 20:55:31 +02:00
Kim Kulling
84a2e1fc92
Update unity plugin to trilib2
...
- closes https://github.com/assimp/assimp/issues/3872
2021-06-03 20:43:37 +02:00
Kim Kulling
c8510a1a82
Merge branch 'master' into fix-fbx-exporter2
2021-06-03 11:05:07 +02:00
Kim Kulling
d4199ee968
Merge pull request #3903 from ogjamesfranco/cached_output_directory_vars
...
Change the Assimp output directory vars to cached vars
2021-06-03 10:47:15 +02:00
Kim Kulling
dd3d03a4ae
Merge branch 'master' into cached_output_directory_vars
2021-06-03 10:31:57 +02:00
Kim Kulling
35c506fcf8
Merge branch 'master' into fix_dxf_viewer
2021-05-30 21:56:15 +02:00
Kim Kulling
77ce4080b6
fix viewer in case of unknown primitives.
2021-05-30 21:54:04 +02:00
Garux
3b565444c3
Merge branch 'Q1MDLgroup' of https://github.com/Garux/assimp into Q1MDLgroup
2021-05-30 11:55:45 +03:00
Garux
c776924adf
fix -Waddress-of-packed-member
2021-05-30 11:45:50 +03:00
Kim Kulling
c04759ccc4
Merge pull request #3922 from Evangel63/master
...
Fix bug in aiMetadata constructor that overwrites an array of one of …
2021-05-29 16:06:43 +02:00
Kim Kulling
8f18820bb2
Merge branch 'master' into master
2021-05-29 15:47:24 +02:00
Kim Kulling
9be76c1ba5
Merge pull request #3929 from TinyTinni/issue_3711
...
Fix non skipped CR in header parsing for binary PLY
2021-05-29 09:29:16 +02:00
Kim Kulling
09bb79c68a
Merge branch 'master' into issue_3711
2021-05-29 08:39:18 +02:00
Matthias Möller
7534b149cf
fix non skipped CR in header parsing
2021-05-28 15:28:35 +02:00
Kim Kulling
1f6fe4b5ad
Merge pull request #3927 from assimp/kimkulling-update-fr-template
...
Update feature_request.md
2021-05-28 10:51:07 +02:00
Kim Kulling
2559befaca
Update feature_request.md
...
- Add label Feature-Request
2021-05-28 10:26:03 +02:00
Kim Kulling
c6c7e84c00
Merge pull request #3926 from assimp/kimkulling-update-bug_template
...
Update bug_report.md
2021-05-28 09:49:00 +02:00
Kim Kulling
3c51ff771c
Update bug_report.md
...
- Add the bug label
- Make platform config more easy
2021-05-28 09:34:03 +02:00
Kim Kulling
2b8a06340c
Merge pull request #3925 from assimp/kimkulling-tectdebt_add_label
...
Update tech_debt.md
2021-05-28 09:32:10 +02:00
Kim Kulling
919ae69fe8
Update tech_debt.md
2021-05-28 08:44:40 +02:00
Kim Kulling
eadffe8e3a
Merge pull request #3923 from assimp/kimkulling-tech_debt_template
...
Create tech_debt.md
2021-05-27 17:54:03 +02:00
Kim Kulling
59467b204a
Create tech_debt.md
2021-05-27 15:50:28 +02:00
Kim Kulling
15bdc09863
Merge pull request #3917 from Nodrev/fix-gcc4.9-compilation
...
Fix gcc4.9 compilation
2021-05-27 15:46:22 +02:00
Kim Kulling
70cc1630fa
Merge branch 'master' into fix-gcc4.9-compilation
2021-05-27 15:25:01 +02:00
Kim Kulling
57b1040a0c
Merge pull request #3894 from crud89/master
...
Add export property to control blob names.
2021-05-27 15:16:01 +02:00
Kim Kulling
48e99d2e0a
Merge branch 'master' into master
2021-05-27 10:45:36 +02:00
Kim Kulling
64d5f21627
Merge pull request #3912 from dlyr/fix-fov-doc
...
Fix camera fov comment since full fov is stored
2021-05-27 10:41:01 +02:00
Kim Kulling
7258441153
Merge branch 'master' into fix-fov-doc
2021-05-27 10:26:20 +02:00
Carsten Rudolph
c33a4b2634
Fixed base name check.
2021-05-27 10:10:55 +02:00
Carsten Rudolph
0905252833
Merge branch 'master' into master
2021-05-27 09:45:17 +02:00
Evangel63
c557cf970a
Merge branch 'master' into master
2021-05-27 17:37:06 +10:00
Kim Kulling
ce0f696c71
Merge pull request #3896 from JC3/patch-1
...
[Logger] Log a notification instead of silently dropping long log messages.
2021-05-27 09:10:13 +02:00
Kim Kulling
aa8d746dc3
Merge branch 'master' into patch-1
2021-05-27 08:35:29 +02:00
Evangel63
f6b9e93e24
Merge branch 'master' into master
2021-05-27 12:42:46 +10:00
Kim Kulling
29e5f5fed1
Merge branch 'master' into master
2021-05-26 13:18:04 +02:00
Kim Kulling
d4fb6847d8
Merge pull request #3878 from krishty/less-string-bloat
...
Less string bloat
2021-05-26 13:09:18 +02:00
Kim Kulling
b59db55b8c
Merge branch 'master' into less-string-bloat
2021-05-26 12:14:08 +02:00
Evangel
2f4fba0703
Static cast i back to unsigned int because MSVC complains otherwise.
...
i will never be bigger than an unsigned int since that's what mNumProperties is to begin with.
2021-05-26 19:11:19 +10:00
Evangel
5468dd667e
Fix bug in aiMetadata constructor that overwrites an array of one of aiString, aiVector3D, or aiMetadata with the first entry
...
aiMetadata copy constructor calls aiMetadata::Get on the copied from aiMetadata using the const aiString &key version. When
this is called on the metadata of an array type, this overwrites all entries with the first entry. This is due to the key
of all entries in an array being the name of the array. ie, in a glTF2 file with an extension:
"Extension" : [
"Value1",
"Value2",
"Value3"
]
the aiMetadata struct for the "Extension" entry will have 3 entries with key/value pairs as:
"Extension"/"Value1"
"Extension"/"Value2"
"Extension"/"Value3"
So when the copy constructor calls the key based aiMetadata::Get, it will find "Value1" for all three entries.
This change simply replaces the key based aiMetadata::Get with the index based aiMetadata::Get
2021-05-26 18:36:56 +10:00
Kim Kulling
6f24e873b3
Merge pull request #3893 from thomasbiang/wangyi_basisu
...
Support basis universal to GLTF2 format
2021-05-25 17:28:19 +02:00
Kim Kulling
6b8a00dfa1
Merge branch 'master' into wangyi_basisu
2021-05-25 17:17:07 +02:00
Kim Kulling
743b87883e
Merge pull request #3883 from ms-maxvollmer/importer_fixes_followup
...
Follow up to PR #3787
2021-05-25 16:27:32 +02:00
Kim Kulling
b5e54e4d3b
Merge branch 'master' into wangyi_basisu
2021-05-25 16:17:29 +02:00
Kim Kulling
faeae27923
Merge branch 'master' into importer_fixes_followup
2021-05-25 16:15:09 +02:00
Kim Kulling
40f9d37a38
Merge pull request #3859 from spotaws/UVStreamNames
...
preserve UV Stream names in FBX files
2021-05-23 20:15:23 +02:00
Jean-François Verdon
f13515a391
Adding basic support for lights in FBX exporter
2021-05-23 19:12:21 +02:00
Jean-François Verdon
6c104e096e
Merge branch 'master' into fix-gcc4.9-compilation
2021-05-23 19:06:28 +02:00
Kim Kulling
aeaa22cbbd
Merge branch 'master' into UVStreamNames
2021-05-23 14:37:28 +02:00
Kim Kulling
770b099540
Merge pull request #3858 from spotaws/PBRsupport
...
PBR material support
2021-05-23 14:35:24 +02:00
Kim Kulling
ac54fe41e2
Merge branch 'master' into PBRsupport
2021-05-23 13:23:06 +02:00
Jean-François Verdon
799384f2b8
Adding the required c flag to compile zip files using gcc 4.9
2021-05-22 17:36:39 +02:00
Jagoon
f96e3cde2d
Fix transform chain is applied twice
2021-05-23 00:06:05 +09:00
Jean-François Verdon
b7b3c6db7e
Fixing GCC 4.9 compilation issues
2021-05-22 16:57:07 +02:00
Jagoon
28e34878cb
Fix fbx exporter bug if root node contains meshes.
2021-05-22 23:20:34 +09:00
Kim Kulling
7686393fe3
Merge branch 'master' into update_draco
2021-05-22 13:14:05 +02:00
dlyr
1f32743f8b
Fix camera fov comment since full fov is stored
2021-05-22 00:56:01 +02:00
Kim Kulling
f675aaa871
Merge branch 'master' into cached_output_directory_vars
2021-05-21 14:51:34 +02:00
Kim Kulling
92b8c02982
Merge pull request #3847 from Garux/md3Tuning
...
Md3 tuning
2021-05-21 13:58:38 +02:00
RichardTea
53790e8273
Update Draco to upstream e4103dc
...
Fixes some MSVC and mingw compiler issues
Sets VERSION and SO_VERSION
e4103dc39f
2021-05-21 12:25:36 +01:00
Kim Kulling
ee85ebbd00
Merge branch 'master' into md3Tuning
2021-05-20 20:25:30 +02:00
Kim Kulling
53563a8624
Merge pull request #3856 from krishty/fix-sib-string-waste
...
fixed bloat in SIB importer
2021-05-20 20:24:49 +02:00
Kim Kulling
4f801a104e
Merge branch 'master' into fix-sib-string-waste
2021-05-20 19:58:11 +02:00
Kim Kulling
b622eb5689
Merge branch 'master' into cached_output_directory_vars
2021-05-20 14:12:29 +02:00
Kim Kulling
79da512e99
Merge pull request #3908 from assimp/fix_nullptr_dereferences
...
Fix possible nullptr dereferences.
2021-05-20 14:12:15 +02:00
Kim Kulling
20ade095ea
Return null-type in case of an empty document
2021-05-20 13:40:44 +02:00
Kim Kulling
dd0011b4a9
Merge branch 'master' into fix_nullptr_dereferences
2021-05-19 00:17:39 +02:00
Kim Kulling
88ccfedd10
Fix possible nullptr dereferences.
2021-05-19 00:16:15 +02:00
James Franco
1543738b1f
Merge branch 'master' into cached_output_directory_vars
2021-05-18 16:24:32 -04:00
Kim Kulling
25d0cd39f6
Merge pull request #3907 from assimp/sml_doc
...
Xml doc
2021-05-18 21:38:12 +02:00
Kim Kulling
3726b2eef4
fix the build
2021-05-18 21:21:43 +02:00
Kim Kulling
3fa45e6a8c
Merge branch 'master' into sml_doc
2021-05-18 21:18:02 +02:00
Kim Kulling
e01a6b4276
Add xml doc.
2021-05-18 21:15:48 +02:00
Kim Kulling
6cdfd3fcc1
Merge pull request #3905 from MalcolmTyrrell/MalcolmTyrrell/loggingImprovements
...
[Logger] Unify log formatting
2021-05-18 14:28:37 +02:00
Malcolm Tyrrell
54a27f4514
Merge branch 'master' into MalcolmTyrrell/loggingImprovements
2021-05-17 13:32:02 +01:00
Malcolm Tyrrell
3d3462a621
Simplify formatting templates.
2021-05-17 11:54:43 +01:00
Malcolm Tyrrell
084dc73b91
Fast path for unformatted calls.
2021-05-17 11:27:21 +01:00
Malcolm Tyrrell
fd5d1211f9
Recover comment which got dropped
2021-05-17 10:33:00 +01:00
Malcolm Tyrrell
6e4b9d267b
Remove TODO. Typo fix.
2021-05-17 10:29:06 +01:00
Carsten Rudolph
43e1e4d3d3
Merge branch 'master' into master
2021-05-17 07:56:41 +02:00
Kim Kulling
0c9947f8b9
Merge pull request #3900 from Saalvage/decltype
...
Utilize decltype for slightly improved syntax
2021-05-16 21:16:22 +02:00
Kim Kulling
6dec8ad5f3
Merge branch 'master' into decltype
2021-05-16 19:21:49 +02:00
ogjamesfranco
27135bd3e7
changed the assimp output directory vars to cached vars
2021-05-15 15:27:24 -04:00
Kim Kulling
596f7db9f9
Merge pull request #3901 from impala454/master
...
Add support for arm 64 bit
2021-05-14 00:02:28 +02:00
Kim Kulling
dba4e21f7c
Merge branch 'master' into master
2021-05-13 23:51:35 +02:00
Kim Kulling
403aef8cea
Merge pull request #3902 from assimp/kimkulling-readme-fix
...
Update Readme.md
2021-05-13 19:17:49 +02:00
Kim Kulling
348ae42212
Update Readme.md
2021-05-13 18:54:21 +02:00
Kim Kulling
8ab2e466f5
Update Readme.md
...
- Add folder AssetLib to readme in structure
2021-05-13 18:51:12 +02:00
Kim Kulling
eabae431f4
Merge pull request #3891 from JC3/jc3-dnase
...
[blender] Disable creation of "dna.txt"
2021-05-13 17:31:09 +02:00
Malcolm Tyrrell
4ec01cfdcd
Improve use of logging
2021-05-13 12:05:31 +01:00
Kim Kulling
22340469f4
Merge branch 'master' into jc3-dnase
2021-05-13 11:51:42 +02:00
Malcolm Tyrrell
ad6f300b1d
Other LogAux functions
2021-05-13 10:43:28 +01:00
Malcolm Tyrrell
c5f22269a8
LogAux
2021-05-13 10:33:25 +01:00
Malcolm Tyrrell
7abfd134b6
LogAux warn
2021-05-13 10:33:16 +01:00
Malcolm Tyrrell
5cd3bdd5c2
No need to distinguish formatting log functions.
2021-05-13 10:25:27 +01:00
Malcolm Tyrrell
6957d34733
Simplify the macros.
2021-05-13 10:14:24 +01:00
Malcolm Tyrrell
78145f1425
log verboseDebug
2021-05-13 10:08:59 +01:00
Malcolm Tyrrell
89584c167a
Log debug
2021-05-13 09:56:42 +01:00
Malcolm Tyrrell
ca698c3e49
Log error
2021-05-13 09:36:42 +01:00
Carsten Rudolph
a700285c64
Merge branch 'master' into master
2021-05-13 08:37:59 +02:00
Chuck Claunch
18beae988c
Add support for arm 64 bit
2021-05-12 21:57:24 +00:00
Kim Kulling
0849f4e573
Merge pull request #3848 from contriteobserver/M3DasciiByDefault
...
build M3D ASCII support by default
2021-05-12 16:05:11 +02:00
Kim Kulling
b70f195805
Merge branch 'master' into M3DasciiByDefault
2021-05-12 15:31:01 +02:00
Kim Kulling
a183ad17bb
Merge pull request #3843 from Garux/md2orient
...
fix md2 orientation
2021-05-12 15:28:11 +02:00
Malcolm Tyrrell
58bc4bcb63
log info
2021-05-12 12:55:21 +01:00
Malcolm Tyrrell
813d0aecdd
Adjust warn
2021-05-12 12:43:24 +01:00
Kim Kulling
7a3c8e5504
Merge branch 'master' into md2orient
2021-05-12 13:07:27 +02:00
Kim Kulling
8b13223314
Merge pull request #3851 from krishty/c4d-cineware
...
updated C4D importer to use the Cineware SDK
2021-05-12 12:27:25 +02:00
Kim Kulling
f127144f71
Merge branch 'master' into c4d-cineware
2021-05-12 10:57:17 +02:00
Kim Kulling
3768a2194e
Merge pull request #3842 from Garux/hl1mdlOrient
...
fix hl1 mdl orientation, tex coords, face windings order
2021-05-12 10:05:38 +02:00
Kim Kulling
8013c5011c
Merge branch 'master' into hl1mdlOrient
2021-05-12 08:21:40 +02:00
Kim Kulling
ad4ca71e4c
Merge branch 'master' into jc3-dnase
2021-05-12 00:56:46 +02:00
Kim Kulling
f197e93035
Merge pull request #3898 from JC3/patch-2
...
Reapply [amf] Fix crash when file could not be parsed.
2021-05-11 20:48:27 +02:00
Salvage
8d20460ae4
Ditch decltype
2021-05-11 19:06:21 +02:00
Jason C
75af93aaa4
Merge branch 'master' into patch-2
2021-05-11 12:12:07 -04:00
Kim Kulling
951c8a976c
Merge pull request #3844 from Garux/aseHack
...
support missing closing brace in material list after Ascii Scene Exporter v2.51
2021-05-11 16:20:31 +02:00
Kim Kulling
4ee2f5f69d
Merge branch 'master' into aseHack
2021-05-11 11:40:24 +02:00
Carsten Rudolph
a54cd432cd
Merge branch 'master' into master
2021-05-11 07:58:05 +02:00
Salvage
632e4a20a9
Utilize decltype for slightly improved syntax
2021-05-11 05:29:51 +02:00
Jason C
00b625a2ae
[amf] Fix crash when file could not be parsed.
...
Fix double free of mXmlParser (deleted but not reset in ParseFile, then deleted again in ~AMFImporter).
Should probably use a smart pointer instead, though.
---
This change was previously made in 785cca1bb4
, as part of PR #3890 , but was lost in a merge.
2021-05-10 19:06:39 -04:00
Kim Kulling
7ff6144c2c
Merge pull request #3881 from JC3/jc3-spam-killa
...
Misc. log output and message fixes
2021-05-11 00:09:16 +02:00
Kim Kulling
cb7d3ac598
Merge branch 'master' into jc3-spam-killa
2021-05-10 22:21:13 +02:00
Kim Kulling
cdc0bd00ce
Merge pull request #3890 from JC3/jc3-importer-open-error-handling
...
Fix importer ReadFile issues on file open error or when opening empty files
2021-05-10 22:19:52 +02:00
Kim Kulling
e1a0e16a4e
Merge branch 'master' into jc3-importer-open-error-handling
2021-05-10 22:07:25 +02:00
Kim Kulling
76ccaeb42f
Merge pull request #3841 from Garux/mdcOrient
...
orient mdc correctly
2021-05-10 22:06:47 +02:00
Kim Kulling
4807853f09
Merge branch 'master' into mdcOrient
2021-05-10 21:06:15 +02:00
Krishty
ab43f3fefd
Merge branch 'stb-image-updated' of https://github.com/krishty/assimp into stb-image-updated
2021-05-10 20:44:55 +02:00
Krishty
d75f8bd5b0
silence warnings in stb_image.h
...
Re-applies 09c5564d5b
to stb_image.h’s new path.
2021-05-10 20:44:43 +02:00
Kim Kulling
433620350e
Merge branch 'master' into stb-image-updated
2021-05-10 11:30:45 +02:00
Jason C
f87b180147
Merge branch 'master' into jc3-importer-open-error-handling
2021-05-09 17:02:04 -04:00
Kim Kulling
b30cbcf117
Merge branch 'master' into jc3-spam-killa
2021-05-09 21:47:17 +02:00
Kim Kulling
38dc92c5c9
Merge pull request #3880 from JC3/jc3-cctype-fixes
...
Make sure ctype calls use unsigned chars.
2021-05-09 21:46:35 +02:00
Jason C
0f85990fe3
Merge branch 'master' into jc3-importer-open-error-handling
2021-05-09 14:42:17 -04:00
Jason C
5cc05c26a7
Merge branch 'master' into jc3-spam-killa
2021-05-09 14:41:39 -04:00
Kim Kulling
319770db9d
Merge branch 'master' into jc3-cctype-fixes
2021-05-09 20:37:21 +02:00
Kim Kulling
226b34bb35
Merge pull request #3850 from JC3/patch-3
...
Fix crash in CanRead when file can not be opened.
2021-05-09 20:25:58 +02:00
Jason C
859b32c045
[Logger] Log a notification instead of silently dropping long log messages.
...
Logs a notification instead of silently dropping long log messages, which can complicate debugging.
This way, if you don't see a message you expect to see, you'll immediately know why.
The *correct* approach would be to eliminate length filtering here entirely and use `snprintf` appropriately (also there's a tiny -- probably negligible -- performance hit here in calling `strlen` regardless of whether or not the verbosity level matches). Failing that, the second best option is to copy and truncate messages here. However, for now, this should be OK.
2021-05-07 22:32:32 -04:00
Jason C
e37e00c51f
[assimp/fast_atof] Fixed garbage in exception messages.
...
Also reduced 100 byte context output to 30 (which is still probably excessive, but not *as* excessive).
2021-05-07 20:21:56 -04:00
ywang
a19b708144
support both ktx and ktx2
2021-05-07 16:27:23 -07:00
Jason C
9a2a0384f4
Merge branch 'master' into patch-3
2021-05-07 17:53:18 -04:00
Jason C
279e9a186f
Merge branch 'master' into jc3-dnase
2021-05-07 14:49:22 -04:00
Jason C
6eb15080ec
Merge branch 'master' into jc3-importer-open-error-handling
2021-05-07 14:49:00 -04:00
Jason C
2fd6102573
Merge branch 'master' into jc3-spam-killa
2021-05-07 14:48:24 -04:00
Jason C
7b404788a6
Merge branch 'master' into jc3-cctype-fixes
2021-05-07 14:48:01 -04:00
Carsten Rudolph
1b33dd1965
Document AI_CONFIG_EXPORT_BLOB_NAME.
2021-05-07 17:31:38 +02:00
Carsten Rudolph
8ff52c0f89
Pass base name from export properties to the IO system.
2021-05-07 17:31:30 +02:00
Carsten Rudolph
be85f238f4
Add optional blob base name to blob IO system.
2021-05-07 17:30:58 +02:00
Carsten Rudolph
964778cac1
Add AI_CONFIG_EXPORT_BLOB_NAME export property.
2021-05-07 17:30:26 +02:00
Kim Kulling
25a0eb0d67
Merge branch 'master' into mdcOrient
2021-05-07 13:03:08 +02:00
Kim Kulling
d7c65d363c
Merge pull request #3839 from Garux/mRootNode_mTransformation
...
consider pScene->mRootNode->mTransformation set by some importers while using AI_CONFIG_PP_PTV_ROOT_TRANSFORMATION
2021-05-07 11:52:44 +02:00
Kim Kulling
8cae8c5461
Fix static code analysis findings
2021-05-07 11:52:16 +02:00
Kim Kulling
56bfa1ce5c
Make constructros with one arg explicit
2021-05-07 11:36:21 +02:00
ywang
2b9d88c943
support basis universal
2021-05-06 15:10:06 -07:00
Kim Kulling
25cf5dd487
Merge branch 'master' into mRootNode_mTransformation
2021-05-06 21:40:03 +02:00
Kim Kulling
350f2ea1d3
Fix build and merged master.
2021-05-06 21:36:25 +02:00
Kim Kulling
52228a93f8
Fix X3DGeohelper.
2021-05-06 21:07:38 +02:00
Kim Kulling
b1b937ea79
Merge pull request #3838 from Garux/fixGenNormals
...
consider aiProcess_FlipWindingOrder in aiProcess_GenNormals & aiProcess_GenSmoothNormals
2021-05-06 20:40:17 +02:00
Kim Kulling
e120544978
Merge branch 'master' into fixGenNormals
2021-05-06 17:28:37 +02:00
Kim Kulling
1c90d28f9b
Merge pull request #3837 from krishty/add-step-extension
...
added .step extension to IFC loader
2021-05-06 17:25:22 +02:00
Kim Kulling
bc7551b778
Merge branch 'master' into add-step-extension
2021-05-06 14:19:53 +02:00
Kim Kulling
253fdbdeda
Merge pull request #3808 from ericwa/SimpleTexturedDirectx11Fixes
...
SimpleTexturedDirectx11 sample: support embedded uncompressed textures
2021-05-06 14:19:15 +02:00
Kim Kulling
f53ae076a7
Merge branch 'master' into SimpleTexturedDirectx11Fixes
2021-05-06 14:07:08 +02:00
Kim Kulling
90d3ff27f8
Merge pull request #3806 from krishty/remove-useless-scaling-prototype
...
removed dead code from 0d29203e24
2021-05-06 14:04:35 +02:00
Kim Kulling
55056d11fd
Add missing include
2021-05-06 11:50:08 +02:00
Jason C
7da9c42c81
[blender] Disable creation of "dna.txt"
...
Developers who want to enable it can either:
- *Temporarily* set ASSIMP_BUILD_BLENDER_DEBUG_DNA=1 in BlenderDNA.h, or
- *Temporarily* define ASSIMP_BUILD_BLENDER_DEBUG_DNA=1 on the build command line.
Addresses #3886 .
2021-05-05 19:30:29 -04:00
Jason C
c08ad2e5c2
Merge branch 'master' into jc3-cctype-fixes
2021-05-05 19:04:47 -04:00
Jason C
de5c8ece6f
[xgl] Fail if file could not be parsed.
...
Fail instead of returning empty scene.
Partially addresses #3888 .
TODO: Propagate XML error detail through exception (depends on #3881 ).
2021-05-05 17:49:10 -04:00
Jason C
98f586c8d4
[irr] Fail if file could not be parsed.
...
Fail instead of returning empty scene.
Partially addresses #3888 .
TODO: Propagate XML error detail through exception (depends on #3881 ).
2021-05-05 17:48:44 -04:00
Jason C
470913bf27
[assbin] Fail if file could not be opened
...
Fail instead of returning empty scene.
Partially addresses #3888 .
2021-05-05 17:46:24 -04:00
Jason C
0d3e8b52be
[sib] Fix assertion failure when file could not be opened.
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:32:10 -04:00
Jason C
a80b3b25eb
[quick3d] Fix assertion failure when file could not be opened.
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:31:50 -04:00
Jason C
e52c297284
[nendo] Fix assertion failure when file could not be opened.
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:31:24 -04:00
Jason C
1cd3752ec6
[ms3d] Fix assertion failure when file could not be opened.
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:31:06 -04:00
Jason C
7f13387487
[cob] Fix assertion failure when file could not be opened.
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:30:29 -04:00
Jason C
116ebf6e10
[3ds] Fix assertion failure when file could not be opened
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:30:05 -04:00
Krishty
6c7ee61f14
Merge branch 'stb-image-updated' of https://github.com/krishty/assimp into stb-image-updated
2021-05-05 23:15:59 +02:00
Krishty
816da9b677
merge and update all copies of stb_image.h
2021-05-05 23:15:41 +02:00
Jason C
785cca1bb4
[amf] Fix crash when file could not be parsed.
...
Fix double free of mXmlParser (deleted but not reset in ParseFile, then deleted again in ~AMFImporter).
Should probably use a smart pointer instead, though.
Partially addresses https://github.com/assimp/assimp/issues/3888 .
2021-05-05 17:13:10 -04:00
Krishty
24df52647f
merge and update all copies of stb_image.h
2021-05-05 23:05:44 +02:00
Jason C
f5a31b70f5
Merge branch 'master' into patch-3
2021-05-05 16:24:46 -04:00
Kim Kulling
992f10e7bf
Merge branch 'master' into remove-useless-scaling-prototype
2021-05-05 21:54:31 +02:00
Jason C
7ae8a52d9f
Merge branch 'master' into jc3-spam-killa
2021-05-05 10:33:29 -04:00
Kim Kulling
b82d9f4bc7
Merge branch 'master' into new-file-detection
2021-05-05 15:59:25 +02:00
Kim Kulling
1e89c06157
Merge pull request #3882 from assimp/optimize_3mf_strings
...
Optimize 3mf strings
2021-05-05 15:56:14 +02:00
Kim Kulling
5325b327c3
Merge branch 'master' into optimize_3mf_strings
2021-05-05 15:12:06 +02:00
Kim Kulling
3f5c3eb38c
Delete dna.txt
2021-05-05 15:11:36 +02:00
Kim Kulling
067993d607
Delete dae.dae
2021-05-05 15:11:20 +02:00
Kim Kulling
0aadd8a3f9
Delete spiderExport.stl
2021-05-05 15:10:59 +02:00
Kim Kulling
d1991ad949
Delete AssimpLog_Cpp.txt
2021-05-05 15:10:50 +02:00
Kim Kulling
e683c6eef9
Delete testExport.stl
2021-05-05 15:10:30 +02:00
Kim Kulling
9395322e56
Delete AssimpLog_C.txt
2021-05-05 15:10:22 +02:00
Max Vollmer (Microsoft Havok)
153b890b02
Prevent accessing nullpointers
2021-05-05 14:09:43 +01:00
kkulling
2a6b84c8ea
- closes https://github.com/assimp/assimp/issues/3830
...
- Fix rgba2hex
- Add tests
2021-05-05 14:43:51 +02:00
Krishty
d5cde96fbd
Merge branch 'new-file-detection' of https://github.com/krishty/assimp into new-file-detection
2021-05-05 13:14:35 +02:00
Krishty
b546dfccc7
fix for 0f3e6e2941
...
Visual Studio’s Search All Files ignores ObjFileImporter.cpp and now I’m sure that’s a bug
2021-05-05 13:14:25 +02:00
kkulling
f15dcfa981
- Fix model parsing
2021-05-05 13:10:52 +02:00
kkulling
cbce6d3dad
Merge branch 'optimize_3mf_strings' of https://github.com/assimp/assimp into optimize_3mf_strings
2021-05-05 10:46:54 +02:00
Kim Kulling
6dcbd0d566
Merge branch 'master' into new-file-detection
2021-05-05 09:37:52 +02:00
Jason C
6e65115253
[assimp/xml] Improved XML parse error message.
...
Fixed typo, added detail.
2021-05-05 00:33:57 -04:00
Jason C
ccd1a4455e
[ply] Fix minor typo in error message.
2021-05-04 21:57:00 -04:00
Jason C
a03dc4edaa
[amf] Fix minor typo in error message.
...
Added missing space to detail string on parse failure.
2021-05-04 21:56:49 -04:00
Jason C
f8609c2c2d
[opengex] Direct OpenDDLParser log messages to assimp logger
...
Also filter unprintable characters. Addresses second part of #3862 .
2021-05-04 21:54:14 -04:00
Jason C
558457e5bf
[openddlparser] Remove default log handler and unsolicited output.
...
This addresses part of #3862 .
- Remove default log handler.
- Log callback can now be set to nullptr, which just makes logging a no-op.
- Initial log callback is nullptr.
- Also tweaked format of token error log message and removed newline.
Assimp code that uses this may regain logging output by installing a callback and directing the output through appropriate logging facilities.
2021-05-04 21:54:14 -04:00
Jason C
9a04f5d4b0
Fix garbage messages in SIB, MD2, and MDC loaders.
2021-05-04 21:53:16 -04:00
Jason C
a9fb1e56ae
Add ai_str_toprintable; fixed garbage messages in HMP, MDL, Q3D loaders.
...
- ai_str_toprintable: See docs in StringUtils.h.
- HMP, MDL, Q3D: In particular, newlines in binary data were complicating logging.
2021-05-04 20:33:16 -04:00
Jason C
c8ad8c6017
[mmd] Remove stderr spam.
...
Removed stderr spam and cleaned up exception text.
Addresses #3865 .
2021-05-04 20:33:16 -04:00
Krishty
deca47225f
Merge branch 'new-file-detection' of https://github.com/krishty/assimp into new-file-detection
2021-05-05 00:59:20 +02:00
Krishty
ae93f53b51
fixed signature-based detection on unknown extensions
2021-05-05 00:57:43 +02:00
Krishty
b79b84d34e
Merge branch 'master' into new-file-detection
2021-05-05 00:09:42 +02:00
Krishty
0f3e6e2941
replaced std::size() with AI_COUNT_OF for pre-C++20 compilers
2021-05-05 00:08:54 +02:00
Jason C
200086c4c5
[assimp_view] Make sure ctype calls use unsigned char.
...
Addresses https://github.com/assimp/assimp/issues/3867 and then some.
2021-05-04 17:31:46 -04:00
Jason C
7dd7a053a9
[gtest] Fixed a rogue std::isalnum
...
Use IsAlNum instead (gtest-port.h), which deals with char signedness correctly. This was the only spot in gtest where a cctype function was called instead of its gtest-port.h equivalent.
Addresses https://github.com/assimp/assimp/issues/3867 and then some.
2021-05-04 17:31:46 -04:00
Jason C
1ec8d4b6cf
[draco] Make sure ctype calls use unsigned char.
...
Addresses https://github.com/assimp/assimp/issues/3867 and then some.
2021-05-04 17:31:46 -04:00
Jason C
2925592c64
[assimp] Make sure ctype calls use unsigned char.
...
Cast to unsigned char as required by C++ (see C++ **[cctype.cyn]** -> ISO C99 section 7.4, [see also](https://en.cppreference.com/w/cpp/string/byte/isspace )).
Addresses https://github.com/assimp/assimp/issues/3867 and then some.
2021-05-04 17:31:13 -04:00
Kim Kulling
072aee7cbe
Merge branch 'master' into add-step-extension
2021-05-04 22:35:21 +02:00
Kim Kulling
38df0f4376
Merge pull request #3834 from JC3/patch-4
...
ASSIMP_ENABLE_DEV_IMPORTERS env var, applied to X3D importer
2021-05-04 22:33:48 +02:00
Krishty
b57ce004f8
reduced FBX string bloat
...
The FBX importer used two std::strings where string literals would have been sufficient.
2021-05-04 22:01:01 +02:00
Krishty
f3c18556d1
reduced OpenGEX string bloat
...
The OpenGEX importer defined a few global std::string constants, only to convert them back to C strings on use. This commit defines them as C strings from the beginning.
strncmp() was used to compare these strings to other strings, but the length limit was set to string length, which made it equivalent to strcmp(), just slower. Fixed that as well.
2021-05-04 22:01:01 +02:00
Krishty
7b6dab5e20
reduced DXF string bloat
...
The DXF importer defined a global std::string constant, only to convert it back to a C string on use.
This commit defines the constant as a C string right away, thus saving 340 B of code and data.
2021-05-04 22:01:00 +02:00
Krishty
2a126f9f62
reduced Ogre string bloat
...
The Ogre importer used std::string where a string literal would have been sufficient. Saves another 600 B of code and data.
2021-05-04 22:01:00 +02:00
Kim Kulling
dc6fa58814
Merge branch 'master' into patch-4
2021-05-04 21:08:56 +02:00
Kim Kulling
be85eac703
Merge pull request #3877 from olsoneric/olsoneric-issue_2339_py_cant_load_obj
...
Use POINTER(char) for binary data. For pyassimp issue #2339 : Can't load OBJ
2021-05-04 21:08:35 +02:00
Kim Kulling
875acc5166
Merge branch 'master' into patch-4
2021-05-04 20:59:06 +02:00
Eric Olson
f17d58cadd
Use POINTER(c_char) for binary data with pyassimp
...
"For a general character pointer that may also point to binary data,
POINTER(c_char) must be used." c_char_p is for a zero-terminated string.
Reference: https://docs.python.org/3/library/ctypes.html#ctypes.c_char_p
Applying this change to the 4.1.4 released python module fixes #2339 for
me in Ubuntu.
2021-05-04 13:38:38 -05:00
Krishty
8ad9c937f1
enabled debug information in MSVC release build
...
No effect on runtime speed/size. Slightly slower link time, but debugging experience improves by a million times.
- /Zi – Store debug information in a .pdb file, not directly in the DLL/EXE
- /DEBUG:FULL – generate debug information during link
- /PDBALTPATH:%_PDB% – do not store the file system path of the .pdb, just the filename and hash (no disclose paths on distribution)
- /OPT:REF /OPT:ICF – remove unreferenced functions and fold identical functions (this was enabled before, but requires explicit enabling if /DEBUG:FULL is specified)
2021-05-04 19:10:24 +02:00
Kim Kulling
cd0fd30821
Merge pull request #3819 from vfxgordon/fbxBlendshapes
...
Fixed weighting issue with blendShapeChannels
2021-05-04 17:44:32 +02:00
Kim Kulling
e85a69a960
Update D3MFImporter.cpp
2021-05-04 15:31:07 +02:00
vfxgordon
4231a86ad8
Merge branch 'master' into fbxBlendshapes
2021-05-04 06:22:22 -07:00
kimkulling
7690f92c81
Fix version of strnlen
2021-05-04 14:48:39 +02:00
Kim Kulling
47cacf8aa6
Merge branch 'master' into optimize_3mf_strings
2021-05-04 14:42:16 +02:00
kimkulling
ee5170c18a
- fix security issue
2021-05-04 14:40:25 +02:00
Kim Kulling
9c44c0ab2b
Merge branch 'master' into remove-useless-scaling-prototype
2021-05-04 13:02:00 +02:00
Kim Kulling
ff18354997
Merge pull request #3869 from assimp/optimize_3mf_strings
...
use const chars
2021-05-04 12:46:38 +02:00
kimkulling
0e17939e8d
Use const char* const
2021-05-04 12:09:38 +02:00
Kim Kulling
33a85e280f
Merge branch 'master' into optimize_3mf_strings
2021-05-04 11:47:11 +02:00
kkulling
55fd820ed7
use const chars
2021-05-04 10:57:30 +02:00
Kim Kulling
70ba2e9e74
Merge pull request #3805 from krishty/fix-scale-msg
...
fixed malformatted message
2021-05-04 09:18:12 +02:00
Kim Kulling
39522178aa
Merge branch 'master' into fix-scale-msg
2021-05-04 08:13:12 +02:00
Kim Kulling
79802ad836
Merge pull request #3796 from krishty/fix-file-detection
...
small cleanup in file format detection
2021-05-04 07:54:09 +02:00
Kim Kulling
88d64388f8
Update AMFImporter.cpp
2021-05-03 20:57:17 +02:00
Kim Kulling
b87f67db4c
Add missing include
2021-05-03 20:49:14 +02:00
Kim Kulling
60b99501a9
Merge branch 'master' into new-file-detection
2021-05-03 20:44:27 +02:00
Tom spot Callaway
f91b439f79
preserve UV Stream names in FBX files
2021-05-03 13:40:31 -04:00
Tom spot Callaway
e7211790fb
PBR material support
2021-05-03 13:27:52 -04:00
Krishty
fe5a23e110
fixed bloat in SIB importer
...
The SIB importer, upon needing an empty aiString, did not create a new one but rather copied a predefined global empty string.
Since aiStrings contain large buffers, Assimp copied 1028 B of zeros instead of setting five bytes (at least when compiled with Visual C++). Since aiString is a user-defined type without a constexpr constructor, Visual C++ had to generate a thread-safe run-time initializer as well.
Now it’s just two instructions.
2021-05-03 17:01:59 +02:00
vfxgordon
9ae3e88f6c
Merge branch 'master' into fbxBlendshapes
2021-05-03 07:40:25 -07:00
Kim Kulling
f29828f657
Merge branch 'master' into fix-file-detection
2021-05-02 19:41:33 +02:00
Kim Kulling
71c48581f3
Merge pull request #3852 from krishty/3ds-namespace
...
style fix: namespace instead of class with public static members
2021-05-02 19:41:04 +02:00
Kim Kulling
9e27afe353
Merge branch 'master' into 3ds-namespace
2021-05-02 17:38:29 +02:00
Kim Kulling
afdec791a6
Merge pull request #3795 from assimp/kimkulling-patch-3
...
Fix formatter.
2021-05-02 17:38:16 +02:00
Kim Kulling
e278673fe7
Merge branch 'master' into 3ds-namespace
2021-05-02 15:08:11 +02:00
Krishty
e73a2ed5e0
style fix: namespace instead of class with public static members
2021-05-01 23:20:37 +02:00
Kim Kulling
6c429a9d82
Merge branch 'master' into kimkulling-patch-3
2021-05-01 19:29:37 +02:00
Krishty
65a2b98b86
updated C4D importer to use the Cineware SDK
...
Maxon’s Melange SDK has been renamed Cineware SDK as of 21.004, and with it all namespaces and types. This commit
- makes CMake use contrib/Cineware instead of contrib/Melange;
- renames Assimp’s namespace melange to namespace cineware;
- removes useless functions and formatter references from class C4DImporter;
- removes duplicate conversion of cineware::String to aiString in the importer;
- updates comments accordingly;
- updates copyright info.
2021-05-01 18:46:23 +02:00
Jason C
c2d3d22271
Fix crash in CanRead when file can not be opened.
...
Addresses #3849
2021-05-01 10:58:29 -04:00
Kim Kulling
b516d940b6
Merge pull request #3826 from krishty/fix-3ds-matrix
...
reverted regression in 3DS transformation (issue #3802 )
2021-05-01 12:02:24 +02:00
Kim Kulling
78132d666f
Merge branch 'master' into fix-3ds-matrix
2021-05-01 11:34:33 +02:00
Kim Kulling
f538b96e82
Merge pull request #3788 from BaldricS/SceneCombiner_Memory_Leaks
...
Fix: Removing double delete of texture items after MergeScene.
2021-05-01 11:07:34 +02:00
Kim Kulling
7843b24e03
Merge branch 'master' into SceneCombiner_Memory_Leaks
2021-05-01 09:16:06 +02:00
Kim Kulling
d28e2e0a39
Merge pull request #3775 from diiigle/patch-1
...
Add PBRT to exportable file formats list
2021-05-01 09:15:34 +02:00
Garux
eab1c9c3c0
add `AI_CONFIG_IMPORT_MD3_LOAD_SHADERS` bool option
...
the purpose is use of this loader with idtech3 FS
this requires full original material name, which euqals to Q3 shader path
result of deduction is not usable inside Q3 FS at all
option in general is "do not tinker with the path"
2021-05-01 08:14:44 +03:00
contriteobserver
813b64ef52
corrected M3D_EXP_NOFACE test
2021-04-30 21:51:02 -07:00
contriteobserver
bf653b4bd6
Merge branch 'M3DasciiByDefault' of https://github.com/contriteobserver/assimp into M3DasciiByDefault
2021-04-30 21:28:54 -07:00
contriteobserver
e51bb1e77e
fixed signed/unsigned mismatch warning
2021-04-30 21:26:57 -07:00
contriteobserver
694f4c2e34
Merge branch 'master' into M3DasciiByDefault
2021-04-30 21:12:48 -07:00
contriteobserver
302e47efc1
Merge branch 'master' into M3DasciiByDefault
2021-04-30 21:11:23 -07:00
contriteobserver
af0aca796e
now compiling M3D ASCII support by default
...
addresses issue #3777
2021-04-30 21:07:01 -07:00
Jason C
07257f4c66
Merge branch 'master' into patch-4
2021-04-30 22:23:23 -04:00
Garux
55abc49d6d
improve md3::Q3 shader::cull keyword support
...
only use nonstandard winding order with `cull back`; might be excess too, since engine doesn't support this
2021-04-30 22:59:05 +03:00
Garux
0b7ebef497
fix path separator in md3 shader loading
2021-04-30 22:51:21 +03:00
Kim Kulling
2d51efa002
Merge branch 'master' into patch-1
2021-04-30 21:14:26 +02:00
Kim Kulling
911321b97b
Merge pull request #3765 from krishty/md2-mdc-const
...
moved MD2/MDC tables from BSS to const data
2021-04-30 21:12:36 +02:00
Kim Kulling
2feda5b4b2
Merge branch 'master' into md2-mdc-const
2021-04-30 20:10:45 +02:00
Kim Kulling
9b36f62cb2
Merge pull request #3764 from krishty/empty-string-style
...
style fix - initializing and assigning empty std::string properly
2021-04-30 20:10:18 +02:00
Kim Kulling
60f030ccbc
Merge branch 'master' into empty-string-style
2021-04-30 19:50:38 +02:00
Kim Kulling
9ef84a67f7
Merge pull request #3846 from assimp/issue_3831_update_zip
...
closes https://github.com/assimp/assimp/issues/3831 : update zip
2021-04-30 18:00:55 +02:00
Kim Kulling
feeb89a1dd
closes https://github.com/assimp/assimp/issues/3831 : update zip
2021-04-30 16:49:15 +02:00
Garux
149224091f
support missing closing brace in material list after Ascii Scene Exporter v2.51
2021-04-30 10:37:06 +03:00
Kim Kulling
57091d761e
Merge branch 'master' into md2-mdc-const
2021-04-30 00:56:50 +02:00
Kim Kulling
0b92abe9b4
Merge branch 'master' into empty-string-style
2021-04-30 00:54:57 +02:00
vfxgordon
5298ed8f9e
Merge branch 'master' into fbxBlendshapes
2021-04-29 15:21:16 -07:00
Kim Kulling
73e05ab6d3
Merge branch 'master' into add-step-extension
2021-04-30 00:13:32 +02:00
Garux
edf12bd357
fix md2 orientation
2021-04-30 00:02:37 +03:00
Krishty
666b5eff76
added .step extension to IFC loader
...
The extension .step is at least as common as .stp, so both should be supported.
2021-04-29 21:29:10 +02:00
Garux
3717e66fae
consider aiProcess_FlipWindingOrder in aiProcess_GenNormals & aiProcess_GenSmoothNormals
2021-04-29 20:52:06 +03:00
Garux
4798ff3882
fix hl1 mdl orientation, tex coords, face windings order
2021-04-29 20:50:50 +03:00
Garux
ebf5ef9a4b
consider pScene->mRootNode->mTransformation set by some importers while using AI_CONFIG_PP_PTV_ROOT_TRANSFORMATION
2021-04-29 20:43:37 +03:00
Garux
db142da571
orient mdc correctly
2021-04-29 20:41:10 +03:00
Scott Baldric
f523b1e0d7
Merge branch 'master' into SceneCombiner_Memory_Leaks
2021-04-29 08:52:51 -05:00
Jason C
975de81ab6
Merge branch 'master' into patch-4
2021-04-28 22:23:17 -04:00
Kim Kulling
96d0524fab
Merge pull request #3787 from ms-maxvollmer/ms-maxvollmer/importer_fixes
...
Importer improvements
2021-04-28 20:42:06 +02:00
Kim Kulling
41e5acf060
Merge branch 'master' into ms-maxvollmer/importer_fixes
2021-04-28 20:26:38 +02:00
Kim Kulling
7dd870f88c
Merge pull request #3833 from assimp/kimkulling-fix_debug_crash
...
Fix crash when reading 0 bytes
2021-04-28 20:26:30 +02:00
Kim Kulling
9a0b703db1
Merge branch 'master' into ms-maxvollmer/importer_fixes
2021-04-28 20:25:10 +02:00
Jason C
cf498c979a
ASSIMP_ENABLE_DEV_IMPORTERS env var to control registration of wip importers; applied to X3D
...
- GetImporterInstanceList reads ASSIMP_ENABLE_DEV_IMPORTERS env var. Development importers are enabled if the env var is set and is not equal to the literal string "0".
- X3D importer will not be registered unless ASSIMP_ENABLE_DEV_IMPORTERS is set; addresses #3647 .
TODO: If this change is incorporated, it should be documented.
NOTE: Effective git branch structure is a better solution. This is an alternate for #3825 .
2021-04-28 11:16:49 -04:00
Kim Kulling
6abdd0cd3e
Fix crash when reading 0 bytes
...
- This is a valid option so crash shall not happen
2021-04-28 16:38:22 +02:00
Scott Baldric
8e3fe6b30b
Merge branch 'master' into SceneCombiner_Memory_Leaks
2021-04-28 09:16:02 -05:00
Krishty
260cc6bd26
reverted regression in 3DS transformation (issue #3802 )
...
The regression was introduced to align 3DS export and import, but in fact it broke the transformation matrices on import. This commit reverts the relevant lines. Furthermore, matrix layout was double-checked with two other 3DS importers. Export was not considered.
2021-04-28 01:02:24 +02:00
Kim Kulling
74577ae3c7
Merge pull request #3822 from JC3/patch-2
...
Remove newline from name of Blender importer.
2021-04-27 22:08:06 +02:00
Kim Kulling
30f55dcbbf
Merge branch 'master' into patch-2
2021-04-27 20:30:06 +02:00
Kim Kulling
9504957534
Merge pull request #3821 from JC3/patch-1
...
Update aiProcess_PreTransformVertices docs to match behavior.
2021-04-27 20:29:21 +02:00
Jason C
3acd42c22e
Remove newline from name of Blender importer.
...
Addresses #3797 .
Re-submitting this as a quick fix to the immediate issue while I think about the website field.
2021-04-26 20:27:28 -04:00
Jason C
708d124745
Update aiProcess_PreTransformVertices docs to match behavior.
...
Addresses #3820 , the easy way.
2021-04-26 19:42:22 -04:00
Gordon Chapman
64da2a4315
Merge remote-tracking branch 'upstream/master' into fbxBlendshapes
2021-04-26 13:51:22 -07:00
Gordon Chapman
a5d0e99548
Fixed error in blendShapeChannel Weighting
2021-04-26 12:19:20 -07:00
Max Vollmer (Microsoft Havok)
e1d6e1f377
Merge branch 'master' into ms-maxvollmer/importer_fixes
2021-04-26 14:53:32 +01:00
Eric Wasylishen
ee8d1b0417
SimpleTexturedDirectx11: embedded texture loading fixes
...
- remove assumption that embedded texture names start with "*0", etc.
- rename ModelLoader::getTextureFromModel() to loadEmbeddedTexture()
- support loading uncompressed embedded textures
Fixes display of bullsquid.mdl from Half-Life (which has an
embdedded texture named "bottommap.bmp")
2021-04-24 14:13:51 -06:00
Krishty
5c64a4dc1e
devirtualized a function that is called once and never overridden
2021-04-24 18:33:57 +02:00
Krishty
e6a47d93c2
removed dead code from 0d29203e24
2021-04-24 13:29:15 +02:00
Kim Kulling
7cd6ddad8a
Merge branch 'master' into fix-scale-msg
2021-04-24 12:44:42 +02:00
Krishty
afe947d5db
fixed malformatted message
2021-04-24 12:38:31 +02:00
Krishty
628cba9490
fixed warning
2021-04-24 00:44:50 +02:00
Krishty
b00de10eb3
Simplified importer search and fixed a few bugs
...
The search for a matching importer had a few issues, see #3791 . There were two different mechanisms to determine whether an importer accepts a specific file extension:
1. `aiImporterDesc::mFileExtensions`, which was forwarded to the UI via `BaseImporter::GetExtensionList()`.
2. `BaseImporter::CanRead()` when called with `checkSig == false`, which determines whether to actually use that importer.
Both were redundant and got out of sync repeatedly. I removed 2. completely and replaced it with 1., thereby syncing UI/import and shortening all `BaseImporter::CanRead()` implementations.
Further bugfixes:
- fixed glTF2 importer throwing exceptions when checking whether it can load a file
- removed `BaseImporter::SimpleExtensionCheck()` because it is no longer used and had a bug with case sensitivity
Since the `checkSig` parameter in `BaseImporter::CanRead()` is now useless, it can be removed completely. I’m not sure if this would break ABI compatiblity, so I’ll submit it with a later pull request.
2021-04-24 00:17:50 +02:00
Kim Kulling
cd3e283bcb
Merge branch 'master' into kimkulling-patch-3
2021-04-23 18:03:40 +02:00
Scott Baldric
44834408c8
Merge branch 'master' into SceneCombiner_Memory_Leaks
2021-04-23 09:00:12 -05:00
Kim Kulling
21d7085be6
Merge pull request #3794 from assimp/kimkulling-patch-1
...
Update Readme.md
2021-04-23 15:30:30 +02:00
Kim Kulling
0b14eb7523
Fix formatter.
2021-04-23 15:30:12 +02:00
Krishty
9dc66b0003
removed dead code
...
BaseImporter::GetExtensionList() is not a virtual function; overriding it is useless. This probably stemmed from a misunderstanding.
2021-04-23 15:15:21 +02:00
Kim Kulling
4db4e7206d
Update Readme.md
2021-04-23 15:14:38 +02:00
Scott Baldric
359fcadd87
Merge branch 'master' into SceneCombiner_Memory_Leaks
2021-04-23 08:14:26 -05:00
Kim Kulling
574ea5acf9
Merge pull request #3793 from assimp/kimkulling-codacy_batch
...
Add Codacy Badge
2021-04-23 15:13:55 +02:00
Krishty
196deea7ce
added missing file extensions to aiImporterDesc::mFileExtensions
2021-04-23 15:05:09 +02:00
Kim Kulling
31438a03a6
Add Codacy Badge
...
- Add assimp to codacy
- Add batch to readme
2021-04-23 14:52:31 +02:00
Scott Baldric
4b47b7a552
Merge branch 'master' into SceneCombiner_Memory_Leaks
2021-04-23 07:42:32 -05:00
Kim Kulling
c8ad1cb078
Merge pull request #3763 from krishty/strip-useless-gltf-write
...
fixed glTF export stuff being pulled into the EXE even if building wi…
2021-04-22 21:34:24 +02:00
Scott Baldric
aae3788247
Fix: Removing double delete of texture items.
...
Textures were being double deleted after a merge scene because the
texture array wasn't being properly deleted at the end of merging.
Furthermore, the texture array was being sized to the number of
materials instead of the number of textures.
2021-04-22 08:49:47 -05:00
Kim Kulling
8881e65d62
Merge branch 'master' into strip-useless-gltf-write
2021-04-22 09:55:00 +02:00
Max Vollmer (Microsoft Havok)
44dc08f128
Remove GLTF tag, postprocessing is format independent
2021-04-21 16:20:58 +01:00
Max Vollmer (Microsoft Havok)
746d5cf964
* Throw instead of assert on invalid file input
...
* Check JSON object type before accessing members
* Ensure samplers input and output references are set before accessing them
2021-04-21 16:17:03 +01:00
Kim Kulling
6027c10969
Merge pull request #3776 from krishty/fix-import-export-confusion
...
fixed export exceptions on import
2021-04-20 20:39:00 +02:00
Kim Kulling
873c6ffabe
Merge branch 'master' into fix-import-export-confusion
2021-04-19 21:08:52 +02:00
Krishty
55dd5faafb
fixed export exceptions on import
...
Ogre and 3MF imports threw DeadlyExportErrors under some circumstances. Bad for people who assumed that they only needed to catch DeadlyImportErrors. Changed them to DeadlyImportErrors.
2021-04-19 19:33:41 +02:00
Tobias Rittig
0643786288
Add PBRT to exportable file formats list
...
As of #3580 assimp can export to the newest version of the PBRT renderer. This was not listed here.
2021-04-19 15:27:59 +02:00
Kim Kulling
0af558a11c
Merge pull request #3774 from krishty/version-string-fix
...
Version string fix (if anyone cares)
2021-04-19 13:20:26 +02:00
Krishty
930cc25c0e
fixed version string test
2021-04-19 09:51:44 +02:00
Krishty
3fead344ad
updated version string (if anyone cares)
2021-04-19 07:37:12 +02:00
Krishty
a19299d501
moved MD2/MDC tables from BSS to const data
...
Visual C++ is unable to identify them as constant data during optimization, so explicitly declare them const.
2021-04-17 00:32:04 +02:00
Krishty
f761dc72f4
style fix - initializing and assigning empty std::string properly
...
std::string s(""); s = ""; calls the copy constructor, which in turn calls strlen(), … assigning a default-constructed string generates fewer instructions and is therefore preferred.
With C++11 uniform initialization, you’d simply write s = { } instead.
2021-04-16 23:43:56 +02:00
Krishty
6cbeca5518
fixed glTF export stuff being pulled into the EXE even if building with ASSIMP_BUILD_NO_EXPORT
...
“LazyDictBase::WriteObjects()” in the two glTF implementations is only used for export. Since it’s a virtual method, and many compilers have trouble removing unreferenced virtual methods, glTF export stuff is pulled into the binary even if compiling without exports.
This commit removes said virtual function if only compiling for import.
This removes 75 KiB of useless code when compiled with Visual Studio for x64.
2021-04-16 20:44:40 +02:00
Kim Kulling
cd42b9954b
Merge pull request #3757 from mahiuchun/tr1
...
Flip the check on _MSC_VER for using TR1 containers.
2021-04-14 13:03:51 +02:00
Kim Kulling
21b56b0058
Merge branch 'master' into tr1
2021-04-14 12:46:59 +02:00
Kim Kulling
83c0dce075
Merge branch 'master' into Q1MDLgroup
2021-04-14 10:48:26 +02:00
Kim Kulling
c282b9a775
Merge pull request #3742 from Garux/patch-1
...
Fix MDC loader
2021-04-14 10:47:34 +02:00
Kim Kulling
0b61a8875a
Merge branch 'master' into patch-1
2021-04-14 10:22:42 +02:00
Kim Kulling
bbfefd89d7
Merge pull request #3758 from assimp/kimkulling-update-assimp.net
...
Update repo for assimp-net
2021-04-14 09:37:20 +02:00
Kim Kulling
bef2304c53
Update repo for assimp-net
2021-04-14 08:55:55 +02:00
Hill Ma
4aa52b3af8
Flip the check on _MSC_VER for using TR1 containers.
2021-04-13 11:15:52 -07:00
Kim Kulling
182418e818
Merge pull request #3755 from assimp/kimkulling-issue3754
...
Not resize empty vectors.
2021-04-12 23:31:06 +02:00
Kim Kulling
a6e4672df1
Fix a typo.
2021-04-12 23:19:00 +02:00
Kim Kulling
d1eeb80e1a
Not resize empty vectors.
...
closes https://github.com/assimp/assimp/issues/3754
2021-04-12 21:05:46 +02:00
Kim Kulling
c9ba616eb6
Merge pull request #3708 from urschanselmann/master
...
Fix import of FBX files with last UV duplicated (caused by bug in FBX SDK 2019.0+)
2021-04-12 11:50:12 +02:00
Kim Kulling
263d450300
Merge branch 'master' into master
2021-04-12 09:35:03 +02:00
Kim Kulling
67fa0a13bc
Merge pull request #3749 from pcwalton/ms3d-fixes
...
Fix incorrect indices in the MilkShape 3D loader
2021-04-11 20:37:31 +02:00
Kim Kulling
a3ee377af7
Merge branch 'master' into ms3d-fixes
2021-04-11 19:12:06 +02:00
Kim Kulling
cf4ef04a80
Merge branch 'master' into master
2021-04-07 20:58:40 +02:00
Kim Kulling
6eae925441
Merge pull request #3695 from AllegorithmicSAS/feature/gltf_fb_ngon_encoding
...
[gltf2-exporter] Adding FB_ngon_encoding support
2021-04-07 20:52:05 +02:00
Clement JACOB
e66232d8c3
Merge branch 'master' into feature/gltf_fb_ngon_encoding
2021-04-07 13:54:31 +02:00
Patrick Walton
a44ba41413
Fix incorrect indices in the MilkShape 3D loader
2021-04-05 19:14:48 -07:00
Kim Kulling
d51fce9e70
Merge pull request #3748 from assimp/kimkulling-issue_3747
...
Fix direct leak
2021-04-05 21:37:48 +02:00
Kim Kulling
7fee914776
Fix direct leak
...
closes https://github.com/assimp/assimp/issues/3747
2021-04-05 21:24:54 +02:00
Kim Kulling
4eb69d1e54
Merge pull request #3746 from BaldricS/rename_PI_to_avoid_macro_convention
...
Renaming PI to aiPi.
2021-04-05 18:40:27 +02:00
Scott Baldric
31e8042071
Renaming PI to aiPi.
2021-04-05 09:59:22 -05:00
Garux
856547be23
Fix Q1 MDL group frame loading, e.g. Q1 progs/flame2.mdl
2021-04-05 17:18:06 +03:00
Garux
437d7bf8b8
Fix MDC loader
...
placement new was clearing input buffer by constructor, which was nothing to do with adequate parsing
changes are not analyzed in depth, but at least test model and models of Wolf:ET are loading and not crashing
2021-04-05 16:39:41 +03:00
Kim Kulling
06a60c43cf
Merge pull request #3739 from assimp/kimkulling-patch-7
...
Update INSTALL
2021-04-04 20:46:43 +02:00
Kim Kulling
010c0853ea
Update INSTALL
2021-04-04 14:40:50 +02:00
Kim Kulling
eb261c6581
Merge pull request #3718 from MalcolmTyrrell/MalcolmTyrrell/tangentCheck
...
Malcolm tyrrell/tangent check
2021-04-03 18:28:03 +02:00
Kim Kulling
22413d85ad
Merge branch 'master' into MalcolmTyrrell/tangentCheck
2021-04-03 17:42:44 +02:00
Kim Kulling
cfad36d0f4
Merge pull request #3737 from assimp/615IO-ios-port-update
...
615 io ios port update
2021-04-03 17:41:07 +02:00
Kim Kulling
7d68eab4a7
Update license
2021-04-03 12:09:23 +02:00
Kim Kulling
d677005487
Merge branch '615IO-ios-port-update'
2021-04-03 12:08:38 +02:00
Kim Kulling
0b628a0ebb
Merge branch 'ios-port-update' of https://github.com/615IO/assimp into 615IO-ios-port-update
2021-04-03 12:04:03 +02:00
Kim Kulling
456af8c493
Merge pull request #3736 from assimp/issue_3678
...
Issue 3678
2021-04-03 11:23:17 +02:00
Kim Kulling
80fc8538be
Update AMFImporter_Material.cpp
2021-04-03 10:29:16 +02:00
Kim Kulling
d62c89557b
Remove dead code
2021-04-03 10:28:19 +02:00
Kim Kulling
46e49d0b83
Update AMFImporter_Geometry.cpp
2021-04-03 10:27:54 +02:00
Kim Kulling
cdb6a62cdb
Merge branch 'master' into issue_3678
2021-04-03 10:27:07 +02:00
Kim Kulling
da0543972b
Fix parsing for AMF-Files.
2021-04-03 10:25:03 +02:00
Kim Kulling
89a8f87dae
AMF: Remove unused macros
2021-04-02 13:10:24 +02:00
Kim Kulling
91cb2947ac
Merge pull request #3723 from eliasdaler/master
...
Add zlibstatic to the list of exported targets
2021-04-01 21:05:58 +02:00
Clement JACOB
a25ef8a329
Merge branch 'master' into feature/gltf_fb_ngon_encoding
2021-04-01 20:35:16 +02:00
Kim Kulling
18af013c9e
Merge branch 'master' into master
2021-04-01 20:02:53 +02:00
Kim Kulling
577a8fc186
Merge pull request #3728 from assimp/kimkulling-patch-4
...
Update FUNDING.yml
2021-04-01 19:23:51 +02:00
Kim Kulling
658ffe3d2c
Update FUNDING.yml
...
Only use OpenCollective.
2021-04-01 17:21:12 +02:00
Kim Kulling
20e3261304
Merge pull request #3727 from assimp/kimkulling-patch-4
...
Update Readme.md
2021-04-01 17:20:38 +02:00
Kim Kulling
60794f3743
Update Readme.md
2021-04-01 17:07:35 +02:00
Clement JACOB
5d09105a49
Update mesh.h
...
Fixing ngon encoding flag value
2021-03-30 20:24:03 +02:00
Clement Jacob
fc2c12ad6a
Fixing encoding when lines and points are encountered
2021-03-30 09:58:28 +02:00
Clement Jacob
fc0cf2ea8d
NGON encoding triangles only
2021-03-30 09:19:50 +02:00
Clement Jacob
2e90fed527
Refactoring and fixing remaining issues in triangulation process
2021-03-30 09:10:50 +02:00
Clement Jacob
596001c89c
Refactoring the extension
2021-03-30 09:10:50 +02:00
Clement Jacob
81019d5e58
Fixing quad encoding
2021-03-30 09:10:50 +02:00
Clement Jacob
6d1a0c6054
Adding quad proper handling
2021-03-30 09:10:50 +02:00
Clement Jacob
8e589221d7
[gltf2-exporter] Adding FB_ngon_encoding support
2021-03-30 09:10:50 +02:00
Kim Kulling
3880cd225c
Merge pull request #3721 from vfxgordon/fbxBlendshapes
...
Added Blendshape Support to FBX Export
2021-03-29 22:31:37 +02:00
Kim Kulling
f61a41bdd9
Merge branch 'master' into fbxBlendshapes
2021-03-29 21:48:51 +02:00
Kim Kulling
b5d4e50895
Merge pull request #3724 from bekraft/3ds-import-fix
...
Fixing 3DS import for CHUNK_TRMATRIX translation vector.
2021-03-29 20:34:55 +02:00
Bernold Kraft
09d3266250
Fixing 3DS import for CHUNK_TRMATRIX translation vector.
2021-03-29 15:31:08 +02:00
Elias Daler
0bd938c024
Add zlibstatic to the list of exported targets
2021-03-29 02:26:03 +03:00
urschanselmann
5755530bab
Merge branch 'master' into master
2021-03-28 17:40:17 +02:00
Kim Kulling
e5862c18be
Merge branch 'master' into fbxBlendshapes
2021-03-28 13:02:35 +02:00
Kim Kulling
b7df376836
Merge pull request #3722 from bekraft/bekraft/3ds-export-fix
...
Fixing CHUNK_TRMATRIX translation sub chunk
2021-03-27 19:53:38 +01:00
Bernold Kraft
348c34811f
Fixing CHUNK_TRMATRIX translation sub chunk
...
and therefore omitting the transform aggregation in the CHUNK_VERTLIST.
2021-03-26 22:21:45 +01:00
Gordon Chapman
3fd865b4bf
Added Blendshape Support to FBX Export
2021-03-24 18:10:03 -07:00
Malcolm Tyrrell
d94ddd32b1
Extra check. Better logging.
2021-03-24 11:04:39 +00:00
Malcolm Tyrrell
add165c4a1
Check target sizes to avoid reading beyond allocation
2021-03-24 10:55:40 +00:00
Kim Kulling
d1ef28fa52
Merge pull request #3716 from assimp/kimkulling-issue_2063
...
Provide a dockerfile
2021-03-22 09:12:52 +01:00
Kim Kulling
2c5fd39176
Provide a dockerfile
...
closes https://github.com/assimp/assimp/issues/1063 :
2021-03-22 08:55:21 +01:00
urschanselmann
0a1efe5d58
Merge branch 'master' into master
2021-03-21 17:19:43 +01:00
Kim Kulling
525213a045
Merge pull request #3707 from MalcolmTyrrell/MalcolmTyrrell/gltfCrashes
...
Fix a set of glTF2 crashes on bad input
2021-03-21 12:14:37 +01:00
urschanselmann
86c05a1154
Merge branch 'master' into master
2021-03-19 18:15:15 +01:00
Kim Kulling
5f652feb75
Merge branch 'master' into MalcolmTyrrell/gltfCrashes
2021-03-19 13:35:13 +01:00
Kim Kulling
608b48e1fc
Merge pull request #3696 from jaefunk/export_with_rotation
...
export with rotation
2021-03-19 12:34:51 +01:00
Kim Kulling
18886686e1
Merge branch 'master' into export_with_rotation
2021-03-19 08:21:36 +01:00
Alexander Gessler
191fcafcc0
Merge pull request #3709 from mahiuchun/erase
...
Fix a memory leak in glTF2.
2021-03-18 21:42:54 +01:00
Hill Ma
3e99385f44
Fix a memory leak in glTF2.
...
The destructor of LazyDict uses `delete` but `delete` was not used for objects removed by LazyDict::Remove.
2021-03-17 15:12:54 -07:00
Urs Hanselmann
d9cd07f0d9
Merge branch 'master' of https://github.com/assimp/assimp
2021-03-17 18:26:11 +01:00
Malcolm Tyrrell
3503252e12
Strict check for accessor "count"
2021-03-16 11:47:19 +00:00
Malcolm Tyrrell
e4983aa16e
Fix code issue
2021-03-15 16:46:41 +00:00
Malcolm Tyrrell
8d86bcf0fb
Also check member
2021-03-15 16:32:17 +00:00
Malcolm Tyrrell
57652a9084
Version is strictly a string
2021-03-15 16:27:50 +00:00
Malcolm Tyrrell
053c0f5e0a
Catch type errors in gltf and try to print out useful context.
2021-03-15 13:06:11 +00:00
jaefunk
a812fd1a0a
can modify the rotation of the model when exporting.
2021-03-15 10:23:17 +09:00
jaefunk
37c2d33cc9
Merge branch 'master' into export_with_rotation
2021-03-14 15:32:46 +09:00
Kim Kulling
0dbaeb57e3
Merge pull request #3697 from jaefunk/change_file_encoding
...
change file encoding
2021-03-13 19:11:06 +01:00
Kim Kulling
e5417ea41f
Merge branch 'master' into change_file_encoding
2021-03-13 18:45:58 +01:00
Kim Kulling
9058692d16
Merge pull request #3691 from Paul-Austria/master
...
Update crypt.c
2021-03-13 11:35:29 +01:00
Kim Kulling
f5dd8db45f
Merge branch 'master' into master
2021-03-12 16:06:22 +01:00
Kim Kulling
20350ba5cb
Merge pull request #3689 from AndyShawQt/msvc2019fix
...
Compile fix for MSVC 2019
2021-03-12 16:05:59 +01:00
Kim Kulling
f5ed217409
Merge branch 'master' into msvc2019fix
2021-03-12 15:49:41 +01:00
Kim Kulling
383dfae79b
Merge pull request #3688 from gongminmin/FixClangCL
...
Fix compiling issues in clang-cl
2021-03-12 15:49:11 +01:00
Kim Kulling
84cd1d95c7
Merge branch 'master' into FixClangCL
2021-03-12 15:26:49 +01:00
Urs Hanselmann
c0c7e6a0de
trim uvIndices to fix import of Cheetah3D generated fbx files
2021-03-12 14:48:38 +01:00
Urs Hanselmann
cc7e229c3c
disable size check
2021-03-12 08:55:11 +01:00
jaefunk
16f10a0533
remove debug log
2021-03-12 10:27:33 +09:00
Kim Kulling
47d36cdb97
Merge pull request #3661 from xiaohunqupo/master
...
Fix Step Expoter Error.
2021-03-11 17:31:11 +01:00
Kim Kulling
51ad88afb6
Merge branch 'master' into master
2021-03-10 20:35:37 +01:00
Kim Kulling
cdd0fea6e8
Merge pull request #3694 from assimp/issue_3678
...
closes https://github.com/assimp/assimp/issues/3678 : ensure lowercase
2021-03-10 20:35:16 +01:00
Kim Kulling
806b12dc8b
Merge branch 'master' into issue_3678
2021-03-10 19:51:04 +01:00
Kim Kulling
520f64eeec
Fix missing trimming
2021-03-10 19:40:35 +01:00
Kim Kulling
732e9386aa
Merge branch 'master' into master
2021-03-10 11:49:13 +01:00
jaefunk
5c11ca6c8a
Merge branch 'master' into export_with_rotation
2021-03-10 18:25:09 +09:00
ethan
b6dced4b11
export with rotation
2021-03-10 18:06:42 +09:00
Kim Kulling
6c89631581
closes https://github.com/assimp/assimp/issues/3678 : ensure lowercase
2021-03-09 21:08:28 +01:00
Kim Kulling
ed968367d5
Merge pull request #3687 from contriteobserver/NameManglingFix
...
applied extern "C" guards to importerdesc.h
2021-03-09 18:26:22 +01:00
jaefunk
e53335e58c
change file encoding
2021-03-09 18:31:15 +09:00
Kim Kulling
8a89ffa7a5
Merge branch 'master' into NameManglingFix
2021-03-09 00:01:23 +01:00
Matthew Wallace
0ebab47ca2
updated MIN_IOS_VERSION to 10.0
2021-03-08 07:11:39 -06:00
Paul Engelhardt
dffaeade94
Update crypt.c
2021-03-08 09:04:22 +01:00
Kim Kulling
75144dd7fd
Merge pull request #3667 from thomasbiang/sparse_minmax
...
Export Min/Max for Sparse Accessor
2021-03-04 21:42:10 +01:00
Andy Shaw
2576c8c3a6
Compile fix for MSVC 2019
...
Small is seen as a type with some options so this fixes the errors starting with:
code\PostProcessing\ComputeUVMappingProcess.cpp(125): error C2632: 'int' followed by 'char' is illegal
2021-03-04 08:04:19 +01:00
Minmin Gong
c6c0f141f1
Fix compiling issues in clang-cl
2021-03-03 22:30:36 -08:00
contriteobserver
fc955a5f8a
applied extern "C" guards to importerdesc.h
...
addresses #3685
2021-03-03 12:23:26 -08:00
Kim Kulling
ff769ecce2
Merge branch 'master' into sparse_minmax
2021-03-02 12:30:01 +01:00
Kim Kulling
e09e4ab670
Merge pull request #3683 from contriteobserver/PrecisionFix
...
workaround for ASSIMP_DOUBLE_PRECISION compile errors
2021-03-02 12:29:08 +01:00
Kim Kulling
75210576cf
Merge branch 'master' into sparse_minmax
2021-03-01 21:34:24 +01:00
contriteobserver
6ab2e8d558
simplified the getRealAttribute implementation
2021-02-28 15:13:01 -08:00
contriteobserver
111752cff0
workaround for ASSIMP_DOUBLE_PRECISION compile errors
...
changed float types to ai_real types as needed
addresses issue #3682
2021-02-28 14:45:39 -08:00
Kim Kulling
315362862a
Merge pull request #3660 from ademets/android_jniiosystem_cmake_patch
...
CMake fix for Android build with enabled JNI io system
2021-02-28 17:10:56 +01:00
Kim Kulling
20ef096db6
Merge branch 'master' into android_jniiosystem_cmake_patch
2021-02-28 13:33:02 +01:00
Kim Kulling
ff057dbcb2
Merge pull request #3681 from assimp/update_copyrights
...
Update copyrights to 2021.
2021-02-28 13:32:49 +01:00
Kim Kulling
c669c8f1eb
Merge branch 'master' into update_copyrights
2021-02-28 12:18:41 +01:00
Kim Kulling
9e8dbd0ca5
Update copyrights to 2021.
2021-02-28 12:17:54 +01:00
Kim Kulling
9336341eac
Merge pull request #3680 from assimp/kimkulling-draco_disabled
...
Workaround for VS2019
2021-02-27 11:05:54 +01:00
Kim Kulling
21c2f8bc9c
Workaround for VS2019
...
- DRACO is disabled as the default
- Use ASSIMP_BUILD_DRACO=ON to reenable it
- Workaround for https://github.com/assimp/assimp/issues/3663
2021-02-27 10:01:09 +01:00
Kim Kulling
143d134cd7
Merge branch 'master' into android_jniiosystem_cmake_patch
2021-02-26 08:34:23 +01:00
Kim Kulling
05ee5432f6
Merge pull request #3670 from ms-maxvollmer/user/mavollme/GLTF2_CheckNormalCount
...
Check that normal count and tangent count match vertex count.
2021-02-25 22:18:07 +01:00
Kim Kulling
5b78e3fb5d
Merge branch 'master' into user/mavollme/GLTF2_CheckNormalCount
2021-02-25 21:29:03 +01:00
Kim Kulling
861829a04b
Merge pull request #3674 from assimp/kimkulling-issue_3664
...
Remove buggy assert
2021-02-25 14:21:12 +01:00
Kim Kulling
aa6f983920
Remove buggy assert
...
- Remove assertion test for empty nodestacks when no meshes are in the node. Just return from the function.
- closes https://github.com/assimp/assimp/issues/3664
2021-02-25 14:01:18 +01:00
Turo Lamminen
2bac0a6989
Merge pull request #3665 from turol/fix-warning
...
Silence uninitialized variable warning in 3MF importer
2021-02-25 11:09:37 +02:00
Max Vollmer (Microsoft Havok)
eef03c1f17
Improved warnings
2021-02-24 14:28:18 +00:00
Max Vollmer (Microsoft Havok)
facb7da701
Check that normal count and tangent count matches vertex count. Ignore data and warn if counts don't match.
2021-02-24 14:19:29 +00:00
Turo Lamminen
3e1c785d31
[3MF] Silence uninitialized variable warning
...
This is a false positive but the compiler can't see it
2021-02-24 10:59:59 +02:00
thomasbiang
5429475339
Merge branch 'master' into sparse_minmax
2021-02-23 12:30:53 -08:00
ywang
72efb4354a
Merge branch 'master' of https://github.com/thomasbiang/assimp into sparse_minmax
2021-02-23 12:12:36 -08:00
Kim Kulling
3c79b12e02
Merge pull request #3659 from gongminmin/FixAnimName
...
Export the animation name to gltf2
2021-02-23 20:39:16 +01:00
Kim Kulling
247fd0ce17
Merge branch 'master' into FixAnimName
2021-02-22 20:38:16 +01:00
Kim Kulling
d40f0390e3
Merge pull request #3650 from lgmcode/master
...
Eliminate MSVC warning C4819 caused by source files encoded in UTF-8 without BOM
2021-02-22 20:30:41 +01:00
Kim Kulling
616d924d29
Merge branch 'master' into master
2021-02-20 19:35:31 +01:00
Kim Kulling
26ebeaea5c
Merge pull request #3620 from gongminmin/ExportZLib
...
Export zlib if it's built outside
2021-02-19 18:32:37 +01:00
Kim Kulling
3651dd5bbc
Merge branch 'master' into ExportZLib
2021-02-19 15:51:21 +01:00
Kim Kulling
80423ff5f0
Merge pull request #3614 from RichardTea/issue_2195_draco
...
Implement import of Draco-encoded glTFv2 models
2021-02-19 12:13:56 +01:00
Kim Kulling
6094da3493
Update glTF2Asset.inl
2021-02-18 09:32:37 +01:00
Kim Kulling
cdf786d171
Merge branch 'master' into issue_2195_draco
2021-02-18 09:19:38 +01:00
Alex
2fd6666477
Update CMakeLists.txt
...
Add android_jniiosystem to export set, for cmake to find and link with
2021-02-17 23:16:22 -08:00
Kim Kulling
1d376fa91f
Merge pull request #3653 from jkvargas/master
...
Rust bindings
2021-02-17 19:00:31 +01:00
Minmin Gong
d57b78bc98
Export the animation name to gltf2
2021-02-16 20:22:08 -08:00
Jhonny Knaak de Vargas
6130e53cdf
Adding rust port to documentation
2021-02-15 21:05:36 +00:00
RichardTea
f1d225c18d
Merge branch 'master' into issue_2195_draco
2021-02-15 18:05:22 +00:00
Kim Kulling
7be65aead7
Merge pull request #3634 from contriteobserver/BundledAndroid
...
Implements access to files bundled with Android Applications
2021-02-15 14:01:54 +01:00
Kim Kulling
242e9c21a9
Update BundledAssetIOSystem.cpp
2021-02-15 13:44:07 +01:00
Kim Kulling
dac7243b94
Update BundledAssetIOSystem.h
2021-02-15 13:43:39 +01:00
Kim Kulling
5f1f2a65ce
Merge branch 'master' into BundledAndroid
2021-02-15 13:43:20 +01:00
Kim Kulling
1279862e31
Merge pull request #3652 from assimp/kimkulling-issue_3645
...
Fix apha value
2021-02-15 12:12:38 +01:00
Kim Kulling
047b45d172
Fix apha value
...
- The alpha value in materials using the Tr format must be inverted
- closes https://github.com/assimp/assimp/issues/3645
2021-02-15 11:51:20 +01:00
Kim Kulling
607d474400
Merge pull request #3649 from assimp/kimkulling-patch-2
...
Update defs.h
2021-02-15 11:45:17 +01:00
Guangmo Lin
ba7f945f99
Eliminate MSVC warning C4819 caused by source files encoded in UTF-8 without BOM
2021-02-14 10:28:14 +08:00
Kim Kulling
52c66406fa
Update defs.h
2021-02-12 20:59:45 +01:00
Kim Kulling
8a3a727865
Merge pull request #3644 from lgmcode/master
...
Eliminate maybe-uninitialized warnings which are treated as errors
2021-02-12 13:04:19 +01:00
Kim Kulling
426c1a340f
Merge branch 'master' into issue_2195_draco
2021-02-10 15:28:39 +01:00
Guangmo Lin
2d4bc2d04e
Eliminate maybe-uninitialized warnings which are treated as errors when use -DCMAKE_BUILD_TYPE=Release
2021-02-09 14:10:44 +08:00
Kim Kulling
2cb0304e71
Merge pull request #3619 from contriteobserver/ColladaAnimationFix
...
Collada importer now identifies animations
2021-02-08 23:50:51 +01:00
Kim Kulling
c9ca921d09
Merge branch 'master' into ColladaAnimationFix
2021-02-08 20:46:18 +01:00
Kim Kulling
888415246e
Merge branch 'master' into issue_2195_draco
2021-02-08 11:52:54 +01:00
Kim Kulling
c50517d8df
Merge pull request #3643 from Gargaj/patch-2
...
fix compile warning-turned-error on x86
2021-02-08 09:16:23 +01:00
Gargaj
8ae8b165ca
fix compile warning-turned-error on x86
2021-02-08 00:37:06 +01:00
Kim Kulling
cb15a0d8b0
Merge branch 'master' into ColladaAnimationFix
2021-02-07 17:45:10 +01:00
Kim Kulling
be518e50e9
Merge pull request #3636 from thomasbiang/master
...
fix issue: 3482: invalid gltf2 properties
2021-02-06 22:38:30 +01:00
Kim Kulling
6c3593eda0
Merge branch 'master' into master
2021-02-06 09:54:51 +01:00
Kim Kulling
afbe8fb436
Merge pull request #3642 from assimp/fix_gcc_compiler_warning
...
Fix compiler warning: warning: argument to ... call is the same expre…
2021-02-06 09:53:22 +01:00
Kim Kulling
6b7b1caa06
Merge branch 'master' into fix_gcc_compiler_warning
2021-02-05 21:59:21 +01:00
Kim Kulling
b67ea99dc8
Merge pull request #3635 from assimp/issue_3564
...
Fix incorrect xml-parsing in collada importer.
2021-02-05 21:58:07 +01:00
Kim Kulling
6f759474bc
Merge branch 'issue_3564' of https://github.com/assimp/assimp into issue_3564
2021-02-05 21:45:53 +01:00
Kim Kulling
710f1d17d4
RapidJSon: Upgrade to latest greatest
2021-02-05 21:45:37 +01:00
Kim Kulling
0e941c2478
Merge branch 'master' into issue_3564
2021-02-05 20:45:18 +01:00
Kim Kulling
ca823318c3
Merge branch 'issue_3564' of https://github.com/assimp/assimp into issue_3564
2021-02-05 20:44:54 +01:00
Kim Kulling
6784427287
Workaround: disable test which cause undefined behaviour.
2021-02-05 20:44:39 +01:00
kimkulling
4207c97c17
Fix compiler warning: warning: argument to ... call is the same expression as the source
2021-02-05 20:01:57 +01:00
Kim Kulling
c749591c72
Merge branch 'master' into ColladaAnimationFix
2021-02-05 15:52:50 +01:00
Kim Kulling
80e7f2a513
Merge branch 'master' into master
2021-02-05 12:30:24 +01:00
Kim Kulling
5cf5ca4a16
Merge pull request #3625 from contriteobserver/SignCompareFix
...
cleaned up sign-compare unittest build warnings
2021-02-05 12:28:46 +01:00
ywang
9bab475302
export min max for sparse accessor
2021-02-03 15:05:58 -08:00
Kim Kulling
bb21ec9423
trigger build
2021-02-03 21:17:57 +01:00
Kim Kulling
2391432523
fix overflow
2021-02-03 21:07:28 +01:00
Kim Kulling
e6b8ae44cb
Fix unittests: skip newline at begin of matrix token.
2021-02-03 20:54:48 +01:00
RichardTea
42d47c7f0b
Fixup install rules
...
Explicitly build and install the draco shared library _only_
2021-02-03 11:38:20 +00:00
xiaohunqupo
c43a1ed886
Fix Step Expoter Error.
...
Fix Step Expoter Error.
2021-02-03 16:26:02 +08:00
xiaohunqupo
688c259584
Merge pull request #2 from assimp/master
...
Merge From assimp/assimp master
2021-02-03 16:23:45 +08:00
thomasbiang
d08acb85e7
Merge branch 'master' into master
2021-02-02 14:48:41 -08:00
Kim Kulling
faf53b8e0f
Fix broken autocorrect fix
2021-02-02 23:33:02 +01:00
Kim Kulling
6ee1a32fb2
fix compile issue: replace std::make_unique
2021-02-02 22:54:20 +01:00
Kim Kulling
50fd5127ef
Some review findings.
2021-02-02 22:34:30 +01:00
ywang
793bd44cee
fix issue: 3482: invalid gltf2 properties
2021-02-02 13:19:57 -08:00
Kim Kulling
fa2354ebc3
Fix incorrect xml-parsing in collada importer.
2021-02-02 22:06:33 +01:00
contriteobserver
74b70cad79
fixed a typo
2021-02-01 23:44:57 -08:00
contriteobserver
800d5c23c3
implements a DefaultIOSystem that provides access to files bundled with Android Applications
...
addresses issue #3633
2021-02-01 23:33:55 -08:00
contriteobserver
65bc86e181
Merge branch 'master' into ColladaAnimationFix
2021-02-01 16:58:01 -08:00
RichardTea
aa10b56bc2
Fix draco linking for Hunter/Normal
2021-02-01 14:29:24 +00:00
RichardTea
b45723c384
Update JesseTG/rm to 1.0.2
...
Looks to be the current release
2021-02-01 13:24:27 +00:00
RichardTea
82773c29ad
Merge pull request #22 from rbsheth/issue_2195_hunter
...
Try adding Draco support through Hunter
2021-02-01 12:14:53 +00:00
Kim Kulling
5fbbba2fac
Merge branch 'master' into issue_2195_draco
2021-01-31 16:02:57 +01:00
contriteobserver
5a8e00b219
Merge branch 'master' into SignCompareFix
2021-01-30 16:57:22 -08:00
contriteobserver
c86dcbe1a8
cleaned up sign-compare unittest build warnings
...
addresses issue #3624
2021-01-30 16:49:32 -08:00
Kim Kulling
754b2ba434
Merge pull request #3607 from contriteobserver/ColladaSubmeshFix
...
ColladaLoader now assigns individual material indices to submeshes as needed
2021-01-30 08:19:13 +01:00
Minmin Gong
9aa6ec73ba
Export zlib if it's built outside
2021-01-29 20:51:09 -08:00
Rahul Sheth
a0116c6e01
Need to link against correct target
2021-01-29 17:22:16 -05:00
Rahul Sheth
62c991290b
Try adding Draco support through Hunter
2021-01-29 17:10:38 -05:00
Kim Kulling
f2543ee608
Merge branch 'master' into ColladaSubmeshFix
2021-01-29 22:11:07 +01:00
Kim Kulling
d87d9f2094
Merge pull request #3604 from bsekura/develop
...
Changed morph anim error to warning when validating
2021-01-29 22:10:34 +01:00
Kim Kulling
de827b2fec
Merge branch 'master' into develop
2021-01-29 21:46:42 +01:00
Kim Kulling
65f3569d61
Merge pull request #3623 from assimp/update_cmake_min_req
...
Update all minimum cmake req to 3.10
2021-01-29 21:40:22 +01:00
Kim Kulling
79eb9ecc86
Update all minimum cmake req to 3.10
2021-01-29 21:05:46 +01:00
Kim Kulling
2e3d72abd3
Merge pull request #3622 from assimp/metadata_leak
...
Fixes a mem leak in aiMetadata::Set
2021-01-29 20:48:03 +01:00
Kim Kulling
79a442f95d
Fixes a mem leak in aiMetadata::Set
2021-01-29 20:25:02 +01:00
Kim Kulling
db8e9eb556
Merge branch 'master' into develop
2021-01-29 19:20:38 +01:00
Kim Kulling
3174a9cac8
Merge pull request #3598 from thomasbiang/master
...
GLTF2: Allow Export Node in TRS format
2021-01-29 19:20:10 +01:00
Kim Kulling
8d4b816dfe
Merge branch 'master' into master
2021-01-29 18:16:04 +01:00
Kim Kulling
1afc4c045e
Merge pull request #3608 from villevoutilainen/master
...
GCC 11 build fixes
2021-01-29 11:32:53 +01:00
contriteobserver
e33b69a428
Collada importer now identifies animations
...
addresses issue #3584
2021-01-28 13:06:02 -08:00
Kim Kulling
706d636c63
Merge branch 'master' into master
2021-01-28 18:25:39 +01:00
RichardTea
efae3b83b1
Draco requires default visibility on gcc/clang
2021-01-28 10:18:12 +00:00
RichardTea
48bcbbefdd
use nullptr and float constants
2021-01-27 10:56:57 +00:00
RichardTea
150514fc8b
Move draco warning suppression
...
Should be around the include for portability, not template instantiation
Fix clang pragma typos
2021-01-27 10:42:28 +00:00
RichardTea
5e7281dac6
Merge branch 'master' into issue_2195_draco
2021-01-27 10:26:16 +00:00
RichardTea
26ce6ba4f6
draco unit test when draco disabled
...
Should not load the draco file
2021-01-27 10:25:56 +00:00
RichardTea
f6862f9697
Disable draco on cmake prior to 3.12
2021-01-27 10:18:33 +00:00
RichardTea
6ec32b6b78
Apply clangformat
2021-01-27 09:55:03 +00:00
RichardTea
c6fd1ce996
glTF2 Minor cleanup
2021-01-27 09:42:49 +00:00
RichardTea
5b9d06c2fc
Disable draco clang/gcc warnings via pragma
...
draco templated functions also throw warnings
2021-01-27 09:19:35 +00:00
Kim Kulling
b2af2b2137
Merge pull request #3616 from assimp/kimkulling-issue_3572
...
Fix compiler bug for VS2019
2021-01-27 09:59:56 +01:00
Kim Kulling
1e38f84c3a
fix typo
2021-01-27 09:40:19 +01:00
Kim Kulling
ac0f1f2cab
Update FBXMaterial.cpp
2021-01-27 09:37:35 +01:00
Kim Kulling
c02ad323a5
Fix VS compiler warning: convertig int to char
2021-01-27 09:22:59 +01:00
thomasbiang
4ed9f3c2f4
Merge branch 'master' into master
2021-01-26 13:55:40 -08:00
Kim Kulling
4471c36c08
Fix compiler bug for VS2019
...
- Check https://developercommunity.visualstudio.com/content/problem/1223143/visual-studio-2019-c-program-crash-with-stdstring.html for more details
- closes https://github.com/assimp/assimp/issues/3572
2021-01-26 20:59:21 +01:00
Kim Kulling
83d4227e5c
Merge pull request #3597 from RichardTea/issue_3573
...
Increase float and double string export precision
2021-01-26 20:41:57 +01:00
Kim Kulling
1950247329
Merge branch 'master' into issue_3573
2021-01-26 19:38:18 +01:00
RichardTea
0c49cddae6
Cleanup cmakelists
...
Don't repeat self
Add links to google draco issues
2021-01-26 18:11:05 +00:00
RichardTea
88001d1609
Disable clang/gcc warnings for Draco
2021-01-26 17:58:00 +00:00
Kim Kulling
2cd6cd603c
Merge pull request #3615 from assimp/kimkulling-funding_update
...
Replace patreon by opencollective
2021-01-26 18:51:29 +01:00
RichardTea
d79e0c0ba9
Avoid std::make_unique
...
Assimp is still C++11
2021-01-26 17:33:10 +00:00
Kim Kulling
c12f747bde
Merge branch 'master' into kimkulling-funding_update
2021-01-26 18:25:07 +01:00
Kim Kulling
b6b061b21a
Merge pull request #3610 from assimp/kimkulling-remove_appveyor
...
Delete appveyor.yml
2021-01-26 18:24:47 +01:00
RichardTea
fe97ff6474
Draco platform libraries have different names
...
On Windows it's draco.dll/lib
On Linux/macOS draco_shared.dylib & draco_static.lib
2021-01-26 17:19:41 +00:00
Kim Kulling
95fe3e98a6
Merge branch 'master' into kimkulling-remove_appveyor
2021-01-26 18:09:43 +01:00
Kim Kulling
0244aec0a5
Update Readme.md
2021-01-26 18:09:25 +01:00
Kim Kulling
d04b1b9e2e
Replace patreon by opencollective
2021-01-26 18:08:20 +01:00
RichardTea
c917e6513f
Merge branch 'master' into issue_2195_draco
2021-01-26 16:43:46 +00:00
RichardTea
f39ba8ddb2
Add compile error for bad error draco config
...
KHR_draco_mesh_compression requires
DRACO_MESH_COMPRESSION_SUPPORTED
2021-01-26 16:24:18 +00:00
RichardTea
dde7605158
Implement draco decoding
2021-01-26 16:08:12 +00:00
RichardTea
3a7d0f5656
Add Draco to cmakelists
...
Initial pass. Not yet used.
Add Draco library to assimp build and link
2021-01-26 15:58:14 +00:00
contriteobserver
d7bf513250
renaming iterator to avoid any possibility of scop collisions
2021-01-26 01:36:12 -08:00
contriteobserver
69fc809307
size_t is not the same as unsigned int on some systems
2021-01-26 01:01:59 -08:00
contriteobserver
f92a34e0b7
Merge branch 'master' into ColladaSubmeshFix
2021-01-26 00:38:37 -08:00
Kim Kulling
4017a6da26
Merge branch 'master' into issue_3573
2021-01-25 20:48:31 +01:00
xiaohunqupo
fbc45fecec
Merge pull request #1 from assimp/master
...
Merge From assimp/assimp master
2021-01-25 14:12:28 +08:00
Kim Kulling
294d4230b0
Merge pull request #3612 from assimp/kimkulling-issue_3601
...
Add missing skip
2021-01-24 18:59:03 +01:00
Kim Kulling
243d017463
Add missing skip
...
- closes https://github.com/assimp/assimp/issues/3601
- Fix some format issues
2021-01-24 18:47:50 +01:00
Kim Kulling
47dd6c0786
Merge pull request #3611 from assimp/kimkulling-issue_3599
...
Fix typo in collada parser
2021-01-24 18:37:16 +01:00
Kim Kulling
a2b889ab09
Fix typo in collada parser
...
closes https://github.com/assimp/assimp/issues/3599
2021-01-24 18:21:46 +01:00
Kim Kulling
e18261953d
Delete mtime_cache
2021-01-24 18:14:43 +01:00
Kim Kulling
7a706be920
Delete cacheglobs.txt
2021-01-24 18:14:36 +01:00
Kim Kulling
dd0facd722
Delete appveyor.yml
2021-01-24 18:14:00 +01:00
contriteobserver
b48e19c28f
Merge branch 'master' into ColladaSubmeshFix
2021-01-24 02:30:31 -08:00
Ville Voutilainen
ec141a94c3
Merge branch 'master' into master
2021-01-24 11:22:24 +02:00
Kim Kulling
9dc95be939
Merge pull request #3596 from RichardTea/vs_gitignore_update
...
Update gitignore for default VS2019 behaviour
2021-01-24 10:07:08 +01:00
Ville Voutilainen
6ebae5e67c
GCC 11 build fixes
2021-01-24 11:04:46 +02:00
Kim Kulling
5390e035d5
Merge branch 'master' into vs_gitignore_update
2021-01-24 09:47:12 +01:00
contriteobserver
338abded12
ColladaLoader now assigns individual materials to submeshes as needed
...
Optional assignment of individual materials to submeshes, addresses #3606
2021-01-23 02:20:58 -08:00
Bart Sekura
5f50e42535
added missing return
2021-01-23 09:56:35 +09:00
Bart Sekura
f8c512acd7
changed morph anim error to warning when validating
2021-01-23 09:52:46 +09:00
thomasbiang
91dc904ed1
Merge branch 'master' into master
2021-01-22 13:25:31 -08:00
Kim Kulling
28c9bccbef
Merge pull request #3603 from assimp/kimkulling-remove_redundancy
...
Remove redundant statement in if
2021-01-22 14:36:59 +01:00
Kim Kulling
e792455d66
Remove redundant statement in if
...
- closes https://github.com/assimp/assimp/issues/3180
2021-01-22 14:22:34 +01:00
Kim Kulling
e321367dae
Merge pull request #3602 from assimp/kimkulling-issue3151
...
Update 3DSLoader.cpp
2021-01-22 14:18:20 +01:00
Kim Kulling
dc4514de82
Update COBLoader.cpp
...
Fix cppcheck finding
2021-01-22 13:23:39 +01:00
Kim Kulling
0dcd72d420
Update IFCOpenings.cpp
2021-01-22 13:18:43 +01:00
Kim Kulling
f44572157a
Update 3DSLoader.cpp
2021-01-22 13:14:59 +01:00
Kim Kulling
6293c22c5c
Merge branch 'master' into vs_gitignore_update
2021-01-22 12:59:42 +01:00
Kim Kulling
c9c54822fd
Merge pull request #3594 from xiaohunqupo/master
...
Fix STL Expoter error.
2021-01-22 12:59:18 +01:00
Kim Kulling
f2d3f0dbe6
Merge branch 'master' into master
2021-01-22 12:35:44 +01:00
Kim Kulling
71e8c1001e
Merge pull request #3582 from makitsune/fix-gltf-vertex-colors
...
Fix glTF vertex colors with types other than float
2021-01-22 09:51:37 +01:00
Kim Kulling
e435a43e53
Merge branch 'master' into fix-gltf-vertex-colors
2021-01-22 08:04:04 +01:00
Kim Kulling
b64f1c40f4
Merge pull request #3600 from assimp/kimkulling-doc
...
Update Build.md
2021-01-22 07:59:18 +01:00
thomasbiang
b3a35364ad
Merge branch 'master' into master
2021-01-21 13:38:21 -08:00
Kim Kulling
345726f5c8
Update Build.md
2021-01-21 20:56:21 +01:00
Kim Kulling
2bcf08370d
Merge branch 'master' into fix-gltf-vertex-colors
2021-01-21 11:54:02 +01:00
Kim Kulling
5e21b9f72d
Merge pull request #3580 from mmp/tdb/pbrt3_exporter
...
pbrt-v4 exporter
2021-01-21 11:48:19 +01:00
Kim Kulling
0b9cbb53ab
Merge branch 'master' into tdb/pbrt3_exporter
2021-01-21 11:27:35 +01:00
Kim Kulling
fabea8ccd0
Merge pull request #3587 from assimp/build_fixes
...
Win32-refactorings
2021-01-21 11:26:45 +01:00
Kim Kulling
7dcac538f8
Merge branch 'master' into build_fixes
2021-01-21 09:03:06 +01:00
thomasbiang
d7cf7847ba
Merge branch 'master' into master
2021-01-20 18:47:39 -08:00
ywang
01e61c8b9f
customized node transformation format
2021-01-20 18:42:56 -08:00
Kim Kulling
4e0c4d7bb7
Update PbrtExporter.h
2021-01-20 21:11:14 +01:00
Kim Kulling
11a17ebfe6
Merge branch 'master' into tdb/pbrt3_exporter
2021-01-20 20:03:30 +01:00
RichardTea
8f4eff8d95
Increase ASSIMP_AI_REAL_TEXT_PRECISION
...
9 for float, 17 for double
2021-01-20 17:13:31 +00:00
RichardTea
c1be6c76c8
Update gitignore for Visual Studio 2019
...
Default behaviour of VS2019 "Open Folder" for cmake projects:
- Build into "out/" folder in-source
- Store the config in CMakeSettings.json
- Keep VS info in .vs/ folder
2021-01-20 10:20:47 +00:00
RichardTea
deac3a9f6c
Add Draco 1.4.1 sources
...
Upstream: https://github.com/google/draco
2021-01-20 10:14:20 +00:00
xiaohunqupo
8ba1d38dea
Fix STL Expoter error.
2021-01-20 16:29:30 +08:00
Kim Kulling
c52e5c4da8
Merge pull request #3592 from assimp/kimkulling-oss_fuzz29168
...
Fix nullptr access
2021-01-20 08:32:42 +01:00
Kim Kulling
f8dd3a9aa6
Update DefaultIOSystem.cpp
2021-01-20 08:05:43 +01:00
Kim Kulling
ed3e745752
Update DefaultIOSystem.cpp
2021-01-19 21:58:04 +01:00
Kim Kulling
f05a57560b
Remove buggy method.
2021-01-19 21:27:50 +01:00
Kim Kulling
22f632d8d0
Merge branch 'master' into kimkulling-oss_fuzz29168
2021-01-19 21:21:28 +01:00
Kim Kulling
5b325af79f
Fix typo.
2021-01-19 21:19:42 +01:00
Kim Kulling
62e231b452
Merge pull request #3579 from ihsinme/ihsinme-patch-210
...
fixed memory leak
2021-01-19 21:18:34 +01:00
Kim Kulling
5a6498af92
Fix nullptr access
2021-01-19 21:14:38 +01:00
Kim Kulling
4008862a35
Merge branch 'master' into ihsinme-patch-210
2021-01-19 21:05:43 +01:00
Kim Kulling
d12b1e8d70
Merge pull request #3591 from h3xx/fix-unzip-ftbfs
...
Fix build failure on Linux
2021-01-19 21:02:25 +01:00
Matt Pharr
8f5148f108
Merge branch 'master' into tdb/pbrt3_exporter
2021-01-18 17:15:40 -08:00
Dan Church
0bc5cf9fd3
Fix build failure on Linux
2021-01-18 16:17:28 -06:00
Kim Kulling
5a7f212162
Merge branch 'master' into ihsinme-patch-210
2021-01-18 21:55:42 +01:00
Kim Kulling
9a30887117
Merge pull request #3590 from assimp/kimkulling-oss_fuzz29401
...
Fix nullptr dereference in scenepreprocessor
2021-01-18 21:55:08 +01:00
Kim Kulling
f24c042925
Fix typo
2021-01-18 20:28:38 +01:00
Kim Kulling
0803e5e6f3
Fix nullptr dereference in scenepreprocessor
2021-01-18 20:25:33 +01:00
Kim Kulling
0eb9005bc1
Merge pull request #3589 from assimp/kimkulling-off_fuzz28288
...
Fix overflow in aiString
2021-01-18 20:19:01 +01:00
Kim Kulling
11ee9d3673
Update types.h
2021-01-18 19:46:32 +01:00
Kim Kulling
5a764fff04
Fix overflow in aiString
2021-01-18 19:44:10 +01:00
kimkulling
7bb13e6272
Win32-refactorings
2021-01-18 08:39:39 +01:00
Kim Kulling
3c1d8850a4
Merge pull request #3586 from assimp/kimkulling-ossfuzz_issue29655
...
Fix Divide-by-zero in vector3
2021-01-17 20:53:45 +01:00
Kim Kulling
658fec3e61
Fix cast
2021-01-17 20:41:44 +01:00
Kim Kulling
0969bf3500
Fix Divide-by-zero in vector3
...
Fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29655
2021-01-17 20:39:19 +01:00
Kim Kulling
061ef1f263
Merge pull request #3578 from gkv311/master
...
aiMaterial::GetTexture() - fix misleading description of path argument.
2021-01-16 17:16:05 +01:00
Kim Kulling
aed0b3e53b
Merge branch 'master' into master
2021-01-16 16:37:57 +01:00
Kim Kulling
918c3abb32
Merge pull request #3585 from assimp/kimkulling-fix-zlib-deployment
...
remove install of zlibstatic
2021-01-16 16:25:29 +01:00
Kim Kulling
9334e07619
Update CMakeLists.txt
2021-01-16 16:14:49 +01:00
Kim Kulling
8ad2661e0c
Update CMakeLists.txt
2021-01-16 12:00:42 +01:00
Matt Pharr
17c79bcb94
Merge branch 'master' into tdb/pbrt3_exporter
2021-01-15 13:47:21 -08:00
RichardTea
7c9cddf786
Draco test file
...
2CylinderEngine from https://github.com/KhronosGroup/glTF-Sample-Models
2021-01-15 17:25:36 +00:00
Kim Kulling
6db343386b
remove install of zlibstatic
2021-01-15 16:46:15 +01:00
Maki
6d13fd6aa2
Fix glTF vertex colors with types other than float
2021-01-15 02:56:45 +00:00
Kim Kulling
8125e06f49
Merge branch 'master' into master
2021-01-14 19:03:16 +01:00
Kim Kulling
a9705e346a
Merge branch 'master' into ihsinme-patch-210
2021-01-14 17:21:44 +01:00
Kim Kulling
e3d39b9f66
Merge pull request #3583 from assimp/kimkulling-replace_sstrcasecmp
...
Remove dependency to posix-extension function
2021-01-14 12:06:24 +01:00
Kim Kulling
484ac21ef5
Remove dependency to posix-extension function
2021-01-14 11:53:25 +01:00
Kim Kulling
6d6a6ac11e
Merge pull request #3575 from ms-maxvollmer/gltf2_buffer_fixes
...
Fixes for GLTF2 buffers
2021-01-14 09:57:39 +01:00
Kim Kulling
87a6305cf0
Merge branch 'master' into gltf2_buffer_fixes
2021-01-12 18:32:17 +01:00
Kim Kulling
20873cb142
Merge pull request #3581 from assimp/build_fixes
...
Use const instead of constexpr
2021-01-12 18:31:53 +01:00
Matt Pharr
ff8d50c8d0
Fix MSVC compiler warnings
2021-01-12 08:23:53 -08:00
Matt Pharr
09c5564d5b
More compiler warnings
2021-01-12 08:16:08 -08:00
Matt Pharr
1fd8646b7a
Fix compiler warnings
2021-01-12 08:03:16 -08:00
ihsinme
070072370d
Update AMFImporter_Material.cpp
2021-01-12 15:43:40 +03:00
ihsinme
2e96366d04
Update AMFImporter_Geometry.cpp
2021-01-12 15:40:19 +03:00
kkulling
9174bca3f7
closes https://github.com/assimp/assimp/issues/3517 : use const instead of constexpr
2021-01-12 10:01:53 +01:00
Matt Pharr
1042845414
Merge branch 'master' of https://github.com/assimp/assimp into tdb/pbrt3_exporter
2021-01-11 19:57:10 -08:00
Matt Pharr
71cfd8e0cf
Merge branch 'master' into tdb/pbrt3_exporter
2021-01-11 19:54:11 -08:00
Matt Pharr
2bc074e35a
Additional PBRT exporter cleanups
2021-01-11 19:42:23 -08:00
Kirill Gavrilov
0c2772e8bf
aiMaterial::GetTexture() - fix misleading description of path argument.
...
Mention aiScene::GetEmbeddedTexture() as a proper way to check if returned path
points to a file or to embedded texture.
2021-01-12 01:00:45 +03:00
Madrich
7999bc96e9
Merge pull request #17 from assimp/master
...
Update fork
2021-01-11 22:17:12 +01:00
Max Vollmer
d49aed4585
* Check that buffer view has buffer
...
* Handle integer overflow when calculating byte length
* Minor code cleanup for exception messages
2021-01-11 08:45:47 +00:00
Kim Kulling
ec08092dbf
Merge pull request #3571 from JacksonM8/issue_3570
...
Issue 3570 (CMake Policy violations on MSVC)
2021-01-09 08:41:28 +01:00
Matt Pharr
938537c884
Checkpoint improvements to pbrt exporter
2021-01-08 16:57:22 -08:00
Kim Kulling
68be7c77c0
Merge branch 'master' into issue_3570
2021-01-08 15:22:14 +01:00
Kim Kulling
1e81bed4d0
Merge pull request #3561 from ffontaine/master
...
contrib/zlib/CMakeLists.txt: don't install zlib
2021-01-07 11:05:37 +01:00
Kim Kulling
d898ecc80c
Fix another typo.
2021-01-06 18:59:13 +01:00
Kim Kulling
2ad4218d25
Merge branch 'master' into master
2021-01-06 18:54:57 +01:00
Kim Kulling
5222ab989f
Fix a typo
2021-01-06 18:51:59 +01:00
Kim Kulling
b23ecb4864
Update CMakeLists.txt
...
- Update minimum cmake version
- install for win32-platforms to avoid conflicts with targets for win32
2021-01-06 18:51:30 +01:00
JacksonM8
a01ef5374c
Merge branch 'master' into issue_3570
2021-01-07 01:47:06 +10:30
Kim Kulling
53c03fa364
Merge pull request #3569 from ihsinme/master
...
fix of an unattainable condition.
2021-01-06 16:00:46 +01:00
JacksonM8
3eed6fa006
Remove relative pathing in target_sources() as per CMP0076
2021-01-07 01:23:41 +10:30
JacksonM8
d0e57e2554
Remove quoted variable de-referencing as per CMP0054
2021-01-07 00:40:50 +10:30
ihsinme
e1052f421b
Update OpenDDLParser.cpp
2021-01-06 16:52:28 +03:00
ihsinme
177304bb7c
Update o3dgcArithmeticCodec.cpp
2021-01-06 16:50:07 +03:00
Kim Kulling
ccc0a50d96
Merge pull request #3558 from JLouis-B/3mf-improvements
...
3mf improvements
2021-01-02 13:29:58 +01:00
Kim Kulling
cf78781fa8
Merge branch 'master' into 3mf-improvements
2021-01-02 13:14:13 +01:00
Kim Kulling
43ea4d679b
Merge pull request #3556 from JLouis-B/update-unzip
...
Update unzip contrib
2021-01-02 13:13:20 +01:00
Kim Kulling
3298082a96
Merge branch 'master' into update-unzip
2021-01-02 12:06:53 +01:00
Kim Kulling
05da2123e1
Merge pull request #3552 from Danny-Kint/dev/gltf-KHR_materials
...
[gltf2] Add support for extensions KHR_materials
2021-01-02 12:06:12 +01:00
Kim Kulling
48b138ce13
Merge branch 'master' into dev/gltf-KHR_materials
2021-01-02 10:02:07 +01:00
Kim Kulling
89d4d6b68f
Merge pull request #3546 from wasd845/develop3
...
add operator* in aiQuaterniont
2021-01-02 00:50:53 +01:00
Kim Kulling
fa24e4199c
Merge branch 'master' into develop3
2021-01-02 00:13:47 +01:00
Kim Kulling
18ad1510f7
Merge pull request #3543 from gris-martin/patch-1
...
Only consider continuation tokens at end of line
2021-01-02 00:12:57 +01:00
Kim Kulling
0a1535647a
Merge branch 'master' into patch-1
2021-01-02 00:01:25 +01:00
Danny-Kint
07aace0fdd
Merge branch 'master' into dev/gltf-KHR_materials
2020-12-31 07:08:31 +01:00
Kim Kulling
465220b26a
Merge branch 'master' into 3mf-improvements
2020-12-30 18:12:26 +01:00
Kim Kulling
88e5f3416e
Merge pull request #3562 from makitsune/fix-gltf-bin-from-memory
...
Fix glTF from memory loading .bin with a custom IOHandler
2020-12-30 11:50:35 +01:00
Kim Kulling
e0803b3ec2
Merge branch 'master' into fix-gltf-bin-from-memory
2020-12-30 11:17:31 +01:00
Danny-Kint
b8d947299a
Merge branch 'master' into dev/gltf-KHR_materials
2020-12-29 17:09:15 +01:00
Jean-Louis
37df38f951
[3MF] Improves node naming
2020-12-29 15:46:28 +01:00
Kim Kulling
3ccfc03c48
Merge pull request #3542 from ms-maxvollmer/fbx_tokenizer_fix
...
FBXBinaryTokenizer: Check length of property
2020-12-28 20:19:35 +01:00
Jean-Louis
4025c57fd0
[3MF] Parse the transform of the components
2020-12-28 15:47:20 +01:00
Jean-Louis
eda967bd02
Parse the <build> node + refactoring
2020-12-28 12:31:54 +01:00
Danny-Kint
3e320100e5
Merge branch 'master' into dev/gltf-KHR_materials
2020-12-28 10:29:17 +01:00
Danny-Kint
07b59f539d
Merge branch 'master' into dev/gltf-KHR_materials
2020-12-28 08:48:54 +01:00
Maki
ca653e0c6a
Fix glTF from memory loading .bin with a custom IOHandler
2020-12-28 07:18:50 +00:00
Jean-Louis
629147043e
XmlParser: Fixed an error message when the file was correctly parsed
2020-12-27 18:13:49 +01:00
Fabrice Fontaine
bfe35fc06b
contrib/zlib/CMakeLists.txt: don't install zlib
...
Don't install zlib static library to avoid potential conflicts with a
system-wide zlib package
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-12-27 15:27:41 +01:00
Jean-Louis
eed75aaf2c
Remove debug print
2020-12-26 14:57:52 +01:00
Jean-Louis
0ec8d6e285
[3MF] Missing file in previous commit + parse object material in the importer
2020-12-26 14:04:45 +01:00
Jean-Louis
0952038461
Small refactoring on 3MF export
2020-12-26 03:02:18 +01:00
Jean-Louis
c10d592b79
Fix material parsing in the 3MF importer
2020-12-26 02:36:24 +01:00
Kim Kulling
77f9c2854a
Merge branch 'master' into fbx_tokenizer_fix
2020-12-25 21:44:26 +01:00
Kim Kulling
404bedd8be
Merge pull request #3541 from ms-maxvollmer/gltf2_fixes
...
GLTF2 fixes
2020-12-25 19:22:53 +01:00
Danny-Kint
7bb4b3fb03
Merge branch 'master' into dev/gltf-KHR_materials
2020-12-25 16:19:07 +01:00
Kim Kulling
3f5238d7c1
Merge branch 'master' into gltf2_fixes
2020-12-24 16:48:36 +01:00
Kim Kulling
2013932e7a
Merge pull request #3555 from someonewithpc/master
...
Fix #3222
2020-12-24 16:48:08 +01:00
Jean-Louis
effe52368c
No need to allocate a full size buffer for small files
2020-12-24 12:18:07 +01:00
Jean-Louis
895137c7d7
Fix unzip max buffer length error
2020-12-24 11:39:59 +01:00
Jean-Louis
c464d01778
Fix fopen64, ftello64, fseeko64 declarations on all platforms
2020-12-24 03:18:09 +01:00
Jean-Louis
54be7ac582
Update unzip contrib
2020-12-24 01:53:40 +01:00
Hugo Sales
2873d862b0
Update CMakeLists.txt
2020-12-23 15:44:37 +00:00
Danny-Kint
dbffe25c9d
Merge branch 'master' into dev/gltf-KHR_materials
2020-12-23 11:33:04 +01:00
Danny Kabrane
383c97e380
Add KHR_materials_transmission during export
2020-12-23 10:43:21 +01:00
Danny Kabrane
2b097c1e73
Add KHR_materials_transmission during import
2020-12-23 10:43:01 +01:00
Danny Kabrane
197bf1e617
Add KHR_materials_clearcoat during export
2020-12-23 09:56:15 +01:00
Danny Kabrane
f8c63d874b
support KHR_materials_clearcoat during import
2020-12-23 08:12:09 +01:00
Kim Kulling
102d380711
Merge pull request #3540 from wasd845/master
...
_dest may be destructed twice if _dest is not null in MergeScenes()
2020-12-22 12:07:01 +01:00
Kim Kulling
b4b011e764
Merge branch 'master' into master
2020-12-22 11:11:45 +01:00
Kim Kulling
ed2b680f46
Merge pull request #3533 from Biswa96/fix-casting-mingw
...
Common: Fix GCC error invalid conversion in MINGW.
2020-12-21 20:04:27 +01:00
Kim Kulling
50f9fb28b6
Merge branch 'master' into fix-casting-mingw
2020-12-21 18:29:18 +01:00
Danny Kabrane
aa9d6ce7b7
add support for khr_materials_sheen during export
2020-12-21 14:34:16 +01:00
Danny Kabrane
0fdda99ea1
add underscore (MATERIAL_SHEEN instead of MATERIALSHEEN)
2020-12-21 14:33:35 +01:00
Martin
947d72d281
Merge branch 'master' into patch-1
2020-12-21 09:53:22 +01:00
Kim Kulling
5f5f1cf7a0
Merge pull request #3531 from JLouis-B/gltf2-exporter-crash
...
Fixed a crash of the Gltf 2 exporter in the case of an animation without scale animation key.
2020-12-20 21:57:44 +01:00
Danny Kabrane
63b0a97369
import KHR_materials_sheen
2020-12-20 07:59:12 +01:00
Kim Kulling
981923821a
Merge branch 'master' into gltf2-exporter-crash
2020-12-18 16:27:06 +01:00
Martin
6003be382c
Merge branch 'master' into patch-1
2020-12-17 14:29:51 +01:00
cywang
b75ea77365
Merge branch 'develop3' of https://github.com/wasd845/assimp into develop3
2020-12-17 17:09:20 +08:00
cywang
15cff94926
add operator* in aiQuaterniont
2020-12-17 17:08:06 +08:00
wasd845
2250462853
Merge branch 'master' into develop3
2020-12-17 16:18:35 +08:00
cywang
b6f8448b78
add operator* in aiQuaterniont
2020-12-17 16:13:35 +08:00
cywang
f6dd11ca1a
add operator* in aiQuaterniont
2020-12-17 15:07:03 +08:00
Kim Kulling
b3e1ee3ca0
Merge pull request #3524 from inhosens/master
...
FBXConverter : Fix timescales of FBX animations
2020-12-16 22:33:16 +01:00
Inho Lee
4e5b25cd81
Keep AnimMesh data during the SortByPTypeProcess
...
A Postprocessing step, SortByPTypeProcess, can rebuild Mesh data,
but it does not handle AnimMesh.
This patch helps to rebuild appropriate AnimMeshes for the Mesh.
2020-12-16 19:19:30 +01:00
Inho Lee
b8bf1eac04
FBXConverter : Fix timescales of FBX animations
...
FBX animations were recorded by framenumber, not by time.
This patch will change it as a base of milliseconds.
2020-12-16 15:02:46 +01:00
Martin
8003a016c2
Add some spaces to format code consistently
2020-12-15 12:36:00 +01:00
Martin
3718980c09
Only consider continuation tokens at end of line
2020-12-15 12:16:22 +01:00
Max Vollmer
a15adc9fbc
Fixed copypaste error
2020-12-14 17:01:42 +00:00
Max Vollmer
9d3c0081eb
Throw if property length is out of bounds
2020-12-14 16:49:04 +00:00
Max Vollmer
1db51503d8
Throw instead of assert on invalid file input
2020-12-14 16:44:56 +00:00
Max Vollmer
5436e16802
* Fix memory leak in GLTF2 Importer that occurs when an exception gets thrown while constructing a scene
...
* Fix crash in GLTF2 Importer when a scene with dangling/uninitialized pointers gets deleted after an exception was thrown
* Fix crash in GLTF2 Importer when channel sampler is not set (negative index)
2020-12-14 16:37:02 +00:00
Max Vollmer (Microsoft Havok)
0e939cc450
Merge pull request #1 from assimp/master
...
Merge main into fork
2020-12-14 16:12:45 +00:00
Kim Kulling
2f1ff974fd
Merge pull request #3519 from MalcolmTyrrell/3dsMax2021PbrMaterials
...
3ds Max 2021 PBR Materials in FBX
2020-12-14 17:11:47 +01:00
wasd845
4e9176d2cd
_dest may be destructed twice if _dest is not null in MergeScenes()
2020-12-14 19:16:29 +08:00
Jean-Louis Boudrand
922f874e78
Merge branch 'gltf2-exporter-crash' of https://github.com/JLouis-B/assimp into gltf2-exporter-crash
2020-12-13 17:03:09 +01:00
Jean-Louis Boudrand
d18fce3f06
Fix https://github.com/assimp/assimp/issues/3054
...
Corrected the animation of each bone of an animation were exported in different animations (+tabs fixes)
2020-12-13 17:02:50 +01:00
Jean-Louis Boudrand
33e7e2366c
Merge branch 'master' into gltf2-exporter-crash
2020-12-13 16:48:40 +01:00
Biswapriyo Nath
c65f2cb3fb
Remove extra semicolon while GCC being pedantic.
2020-12-13 00:12:44 +05:30
Biswapriyo Nath
e2af015a57
Common: Fix GCC error invalid conversion in MINGW.
2020-12-11 21:43:09 +05:30
Kim Kulling
7dd0596010
Merge branch 'master' into 3dsMax2021PbrMaterials
2020-12-11 14:31:00 +01:00
Kim Kulling
3d49d06bcc
Merge pull request #3518 from Biswa96/add-msvc-check
...
Check _MSC_VER for MSVC specific pragma directives.
2020-12-11 14:30:25 +01:00
Kim Kulling
a2adef8726
Merge branch 'master' into add-msvc-check
2020-12-11 14:11:10 +01:00
Kim Kulling
80bb8ab726
Merge pull request #3521 from huiji12321/master
...
Additional Compiler Options for mips64el
2020-12-11 14:07:49 +01:00
Jean-Louis Boudrand
8701a86c9d
Fixed a crash of the Gltf 2 exporter in the case of an animation without a translation, rotation or scale animation key.
2020-12-10 23:47:54 +01:00
huiji12321
db475e7d4a
Merge branch 'master' into master
2020-12-10 09:04:24 +08:00
Kim Kulling
10092cd1ec
Merge pull request #3515 from LoicFr/master
...
glTF2Exporter: fix crash when exporting a scene with several meshes p…
2020-12-09 21:14:51 +01:00
Kim Kulling
e4a1fb171e
Merge branch 'master' into master
2020-12-09 17:58:18 +01:00
Kim Kulling
c168c4689e
Merge branch 'master' into master
2020-12-09 13:59:27 +01:00
Kim Kulling
99e4a10dc3
Merge pull request #3528 from tellypresence/issue-3525_use_option_for_rapidjson_no_member_iterator
...
Provide option for rapidjson no-member-iterator define
2020-12-09 13:58:52 +01:00
tellypresence
6db5b7046f
Provide option for rapidjson no-member-iterator define
...
Originally added to fix warning on MSVC but breaks android build
2020-12-09 20:21:43 +09:00
Kim Kulling
816bbc852c
Merge branch 'master' into master
2020-12-08 19:54:04 +01:00
Kim Kulling
aee01e8345
Merge pull request #3514 from ms-maxvollmer/gltf_fixes
...
GLTF: Fix crash on invalid base64 data + improved error messages
2020-12-08 19:48:53 +01:00
Kim Kulling
233d834514
Merge branch 'master' into gltf_fixes
2020-12-07 20:36:53 +01:00
Kim Kulling
41904ad7ce
Merge pull request #3516 from assimp/kimkulling-patch-8
...
Update Readme.md
2020-12-07 20:30:21 +01:00
Kim Kulling
1f8c75c871
Merge branch 'master' into kimkulling-patch-8
2020-12-07 16:55:07 +01:00
Kim Kulling
c0d7ea981a
Merge branch 'master' into gltf_fixes
2020-12-04 16:02:16 +01:00
Kim Kulling
63f1b66224
Merge pull request #3512 from boguscoder/master
...
Fix for 3489 | Preserve morph targets when splitting by bone count
2020-12-04 15:58:22 +01:00
Kim Kulling
eccdc6dc96
Merge branch 'master' into master
2020-12-04 15:30:56 +01:00
Kim Kulling
f87ab4b4d7
Merge pull request #3506 from MalcolmTyrrell/fbxExceptionSafety
...
Fbx exception safety
2020-12-04 15:30:27 +01:00
Kim Kulling
5020a0aa33
Merge branch 'master' into fbxExceptionSafety
2020-12-04 11:01:56 +01:00
Max Vollmer (Microsoft Havok)
e737adde50
Merge branch 'master' into gltf_fixes
2020-12-04 08:58:52 +00:00
huiji12321
1910bbbdd9
Additional Compiler Options for mips64el
2020-12-04 16:47:43 +08:00
Kim Kulling
f67a9f253f
Merge branch 'master' into 3dsMax2021PbrMaterials
2020-12-03 22:20:01 +01:00
Kim Kulling
00b626c3c5
Merge pull request #3505 from Neil-Clifford-FB/scenepreprocessor-memoryleak
...
Sceneprecessor - potential memory leak
2020-12-03 20:41:50 +01:00
Kim Kulling
c7aeb882e6
Update ScenePreprocessor.cpp
2020-12-03 17:28:51 +01:00
Malcolm Tyrrell
471d2acc92
Improvements & style
2020-12-03 11:17:45 +00:00
Max Vollmer (Microsoft Havok)
a0ebad1698
Merge branch 'master' into gltf_fixes
2020-12-03 09:28:48 +00:00
Kim Kulling
c5f45e26bd
Merge branch 'master' into scenepreprocessor-memoryleak
2020-12-03 10:08:05 +01:00
Malcolm Tyrrell
19af3f0d31
Swap the meaning using the out_mat property.
2020-12-02 16:59:29 +00:00
Biswapriyo Nath
8d8ba521e2
Check _MSC_VER for MSVC specific pragma directives.
...
This fixes build issues when compiled with compiles like Clang or GCC.
2020-12-02 02:05:14 +05:30
Kim Kulling
542ca843be
Update Readme.md
2020-12-01 16:38:18 +01:00
Malcolm Tyrrell
f7be3048de
New 3ds Max PBR Materials in FBX
2020-12-01 12:05:42 +00:00
Kim Kulling
0458ead7a2
Merge pull request #3503 from natanaeljr/master
...
Update Android port README.md with ABI doc
2020-12-01 12:30:09 +01:00
Kim Kulling
75204dfe7f
Update README.md
2020-12-01 08:58:45 +01:00
FRICOTEAUX
b47c5c8c27
glTF2Exporter: fix crash when exporting a scene with several meshes per node (regression coming from commit e8d2b84
on 08/03/2020 "clean all warnings for vs-2019")
2020-11-30 20:11:41 +01:00
Kim Kulling
223372aaba
Merge branch 'master' into master
2020-11-30 19:05:31 +01:00
Max Vollmer
53ff0702ce
Fixed check for base64 char values
2020-11-30 16:21:29 +00:00
Max Vollmer
7d72c78c8e
Some improvements
2020-11-30 15:20:51 +00:00
Max Vollmer
6ed1488e6e
* Improved error messages
...
* Throw instead of asserts on invalid file input
2020-11-30 15:04:06 +00:00
Oleg Bogdanov
4d4a3c42f6
Fix for 3489 | Preserve morph targets when splitting by bone count
2020-11-28 10:01:50 -08:00
Kim Kulling
88be8ec698
Merge branch 'master' into fbxExceptionSafety
2020-11-27 21:49:58 +01:00
Kim Kulling
9ae112309f
Merge pull request #3511 from MalcolmTyrrell/fbxVideoKeys
...
Simplification: textures_converted keys can just be pointers
2020-11-27 21:49:21 +01:00
Malcolm Tyrrell
149b8d1fd1
Don't need operator< either.
2020-11-27 14:26:51 +00:00
Malcolm Tyrrell
14f79caf41
textures_converted keys can just be pointers
2020-11-26 16:29:37 +00:00
Neil Clifford
ea60563822
Merge branch 'master' into scenepreprocessor-memoryleak
2020-11-26 08:57:57 +00:00
Kim Kulling
11b4153949
Merge pull request #3487 from inhosens/master
...
Prevent to generate redundant morph targets for glTF2
2020-11-25 17:13:38 +01:00
Kim Kulling
4590f06756
Merge branch 'master' into master
2020-11-25 16:57:49 +01:00
Kim Kulling
dc9db3eaf2
Merge pull request #3504 from Neil-Clifford-FB/fbxparser-overead
...
FBXParser.cpp - handle buffer over-read correctly
2020-11-25 11:30:52 +01:00
Kim Kulling
c059e58c5e
Merge branch 'master' into fbxparser-overead
2020-11-24 08:36:15 +01:00
Kim Kulling
fe78310486
Merge branch 'master' into fbxExceptionSafety
2020-11-23 10:08:23 +01:00
Kim Kulling
afd69bea8a
Merge pull request #3510 from Evangel63/scene_name
...
Added mName to aiScene.
2020-11-23 10:07:58 +01:00
Evangel
98e42e22b8
Added check around setting pScene->mName from asset.scene.
2020-11-22 15:49:41 +10:00
Evangel
30584c1ec1
Replaced name with scene_name to avoid shadowing.
2020-11-22 15:36:08 +10:00
Evangel
67abcb10ba
Added mName to aiScene. Primarily to provide access to the "name" member of glTF2 scenes.
2020-11-22 15:33:31 +10:00
Malcolm Tyrrell
885a196c74
Unsigned
2020-11-19 16:30:44 +00:00
Kim Kulling
8108338215
Merge branch 'master' into master
2020-11-19 16:34:15 +01:00
Kim Kulling
b1f3c48551
Merge pull request #3484 from MalcolmTyrrell/findDegeneratesOptimization
...
Optimize FindDegenerates so it doesn't explode
2020-11-19 16:33:46 +01:00
Neil Clifford
fc842a0f97
Sceneprecessor potential memory leak
2020-11-19 13:20:43 +00:00
Neil Clifford
7b59cc297e
FBXParser.cpp - handle buffer over-read cases correctly
2020-11-19 12:20:06 +00:00
Kim Kulling
d10bf9a0d3
Merge branch 'master' into master
2020-11-18 21:30:58 +01:00
Inho Lee
e3083c21f0
glTF2: import correct animation values for CUBICSPLINE
...
CUBICSPLINE interpolation has tangent values with the animation data.
Current import don't care this interpolation type but it will help not
to fetch tangent values instead of animation data.
Note: Assimp cannot support interpolation types yet.
2020-11-17 17:21:07 +01:00
Malcolm Tyrrell
c00153089a
Neater construction
2020-11-17 10:45:10 +00:00
Malcolm Tyrrell
213a9f9d55
First pass at PotentialNode
2020-11-17 10:39:03 +00:00
Malcolm Tyrrell
c4573a6d5c
Merge branch 'master' into findDegeneratesOptimization
2020-11-17 09:44:13 +00:00
Natanael Rabello
813f171493
Update Android port README.md with ABI doc
2020-11-16 21:45:01 -03:00
Kim Kulling
749a4963a2
Merge pull request #3501 from Nodrev/issue_3500
...
Fixing issue 3500, invalid outer cone angle readed from gltf2 file on machines which defines M_PI as a double value
2020-11-16 22:03:54 +01:00
Kim Kulling
c4ba5eeeea
Merge branch 'master' into issue_3500
2020-11-16 21:52:14 +01:00
Kim Kulling
25aaa333eb
Merge pull request #3502 from MalcolmTyrrell/fbxTextureFix
...
Prevent crash with malformed texture reference
2020-11-16 21:51:41 +01:00
Malcolm Tyrrell
3221522f95
Prevent crash with malformed texture reference
2020-11-16 17:29:19 +00:00
Malcolm Tyrrell
d9b90f714a
Fix typo
2020-11-16 11:06:39 +00:00
Malcolm Tyrrell
3ce0958b98
Merge branch 'master' into findDegeneratesOptimization
2020-11-16 09:13:13 +00:00
Jean-François Verdon
09ca11d063
Fixing issue 3500, invalid outer cone angle readed from gltf2 file on machines which defines M_PI as a double value
2020-11-16 09:19:13 +01:00
Kim Kulling
5e7d6a0e41
Merge pull request #3490 from MalcolmTyrrell/nullBufferviewFix
...
GLTF2: Null bufferview crash fix
2020-11-16 00:15:37 +01:00
Kim Kulling
647cef8a8b
Merge branch 'master' into nullBufferviewFix
2020-11-15 19:02:09 +01:00
Kim Kulling
0d5e5790cb
Fix findings.
2020-11-14 12:44:49 +01:00
Kim Kulling
db7e594221
Merge branch 'master' into findDegeneratesOptimization
2020-11-14 12:32:57 +01:00
Kim Kulling
21a55a34ea
Merge pull request #3498 from assimp/kimkulling-patch-8
...
closes https://github.com/assimp/assimp/issues/3187
2020-11-12 08:54:23 +01:00
Kim Kulling
e08690ac51
Merge branch 'master' into kimkulling-patch-8
2020-11-11 21:22:46 +01:00
Kim Kulling
b433243daf
Merge pull request #3497 from assimp/fix_lws_with_envelop
...
closes https://github.com/assimp/assimp/issues/1044
2020-11-11 21:16:11 +01:00
Kim Kulling
75818f26eb
closes https://github.com/assimp/assimp/issues/3187
...
Do not use pthread for android
2020-11-11 21:13:17 +01:00
Inho Lee
8845d7eed3
Prevent to generate redundant morph targets for glTF2
2020-11-11 20:49:22 +01:00
Kim Kulling
fa0951012f
closes https://github.com/assimp/assimp/issues/1044 : fix envelope handling in lightintensity.
2020-11-11 20:32:55 +01:00
Kim Kulling
707ad68fba
Merge branch 'master' into findDegeneratesOptimization
2020-11-11 09:54:08 +01:00
Kim Kulling
c394c6fdda
Merge pull request #3486 from assimp/kimkulling-patch-8
...
Delete AMFImporter_Postprocess.cpp
2020-11-10 17:11:54 +01:00
Kim Kulling
ab34b25a03
Merge branch 'master' into kimkulling-patch-8
2020-11-10 15:32:04 +01:00
Kim Kulling
5da3e633e3
Merge pull request #3494 from assimp/issue_3198
...
closes https://github.com/assimp/assimp/issues/3198 : make aiMaterial:…
2020-11-10 13:21:16 +01:00
Kim Kulling
8c91d1a3cd
closes https://github.com/assimp/assimp/issues/3198 : make aiMaterial::GetName const.
2020-11-10 12:50:17 +01:00
Kim Kulling
957e468c8a
Merge pull request #3493 from assimp/issue_3448
...
closes https://github.com/assimp/assimp/issues/3448
2020-11-10 12:03:57 +01:00
Kim Kulling
a8381113eb
Update ObjFileMtlImporter.cpp
2020-11-10 10:23:28 +01:00
Kim Kulling
856d4c016e
closes https://github.com/assimp/assimp/issues/3448
...
Add transmission alpha value. if any.
2020-11-10 10:03:09 +01:00
Malcolm Tyrrell
0f246edb97
Prevent GetValue from corrupting memory
2020-11-06 13:43:16 +00:00
Malcolm Tyrrell
34e3e6293a
Style
2020-11-06 09:57:48 +00:00
Malcolm Tyrrell
0af05e7a60
Better message
2020-11-05 15:10:52 +00:00
Malcolm Tyrrell
01b2088dd3
A missing bufferview was causing a crash.
2020-11-05 15:02:41 +00:00
Kim Kulling
6873d79505
Delete AMFImporter_Postprocess.cpp
2020-11-03 13:00:28 +01:00
Malcolm Tyrrell
a68f78ab94
C++11
2020-11-02 15:03:17 +00:00
Malcolm Tyrrell
75570307d6
Remove unneeded line
2020-11-02 14:50:20 +00:00
Malcolm Tyrrell
3deae8760c
Optimize FindDegenerates so it doesn't explode
2020-11-02 14:43:35 +00:00
Kim Kulling
de610b8ce9
Merge pull request #3455 from traversaro/fix/3365
...
Fix CMake config generation problems
2020-10-29 15:47:53 +01:00
Kim Kulling
206f28b8ad
Merge branch 'master' into fix/3365
2020-10-29 13:40:00 +01:00
Kim Kulling
bff65f3827
Merge pull request #3463 from maiqingqiang/fix/xcode-compile-20201018
...
fix xcode compile bug
2020-10-29 13:39:13 +01:00
Kim Kulling
72bc41b50f
Merge branch 'master' into fix/xcode-compile-20201018
2020-10-28 22:00:08 +01:00
Kim Kulling
18471a39ca
Merge pull request #3460 from MalcolmTyrrell/readFbxWeightsInConfig
...
AI_CONFIG_IMPORT_FBX_READ_WEIGHTS
2020-10-28 21:59:39 +01:00
Kim Kulling
8c135f779e
Merge branch 'master' into readFbxWeightsInConfig
2020-10-28 20:38:29 +01:00
Kim Kulling
3fd95aff4e
Merge branch 'master' into fix/3365
2020-10-27 17:43:28 +01:00
Kim Kulling
f0a0b5c85e
Merge pull request #3471 from MomoDeve/patch-1
...
MSVC crash while importing fbx model workaround
2020-10-27 17:42:56 +01:00
Kim Kulling
df768bdd99
Merge branch 'master' into patch-1
2020-10-27 16:20:33 +01:00
Kim Kulling
753503ad83
Merge pull request #3478 from assimp/new_openddl
...
openddl: latest greatest.
2020-10-27 10:03:50 +01:00
Kim Kulling
43f7224d0c
Update CMakeLists.txt
2020-10-27 09:46:31 +01:00
Kim Kulling
22ad7028f0
Delete CMakeLists.txt
2020-10-27 09:42:46 +01:00
Kim Kulling
4bba338d92
Update CMakeLists.txt
2020-10-27 09:23:20 +01:00
Kim Kulling
7e1a8f09c5
more openddl-fixes
2020-10-26 21:35:44 +01:00
Kim Kulling
aee2e9a87d
Merge branch 'master' into patch-1
2020-10-25 20:35:06 +01:00
Kim Kulling
57e691e28e
openddl: latest greatest.
2020-10-25 10:34:43 +01:00
Kim Kulling
55feb0cb78
Merge branch 'master' into fix/xcode-compile-20201018
2020-10-23 22:06:49 +02:00
Kim Kulling
831af12974
Merge pull request #3476 from ms-maxvollmer/gltf_crash_fixes
...
Fixes for crashes in GLTF2 Importer
2020-10-23 16:31:10 +02:00
Max Vollmer
4006bb71f4
Fixes for crashes in GLTF2 Importer
2020-10-23 12:01:43 +01:00
John Mai
cea54d1ac5
Merge branch 'master' into fix/xcode-compile-20201018
2020-10-23 14:06:25 +08:00
Kim Kulling
6ee5e248ee
Fix typo
2020-10-22 22:26:29 +02:00
Kim Kulling
8d7e5db98c
Fix typo.
2020-10-22 22:26:03 +02:00
Kim Kulling
a5a331847b
Merge pull request #3412 from MalcolmTyrrell/fbxReportAssetIssuesProperly
...
Fbx report asset issues properly
2020-10-22 22:24:44 +02:00
#Momo
b168d8f441
replaced data with taking address of first element
...
oops, seems like `data()` returns `char*` only since C++17. Replaced with taking address of first string element
2020-10-21 23:41:33 +03:00
#Momo
7781fe5781
MSVC crash workaround
...
I do not know why, but the following line causes crash if assimp was compiled using MSVC with RelWithDebInfo configuration:
`std::transform(shading.begin(), shading.end(), shading.begin(), Assimp::ToLower<char>);`
replacing `shading.begin()` with `shading.data()` fixes this issue.
2020-10-21 23:21:50 +03:00
Kim Kulling
b842b4a3c1
Merge branch 'master' into fbxReportAssetIssuesProperly
2020-10-21 20:02:48 +02:00
Kim Kulling
f13a69a817
Merge pull request #3470 from assimp/kimkulling-patch-7
...
Update FUNDING.yml
2020-10-21 17:04:36 +02:00
Kim Kulling
f96698a6d2
Update FUNDING.yml
2020-10-21 16:39:19 +02:00
Kim Kulling
7c5f04deed
Merge pull request #3466 from assimp/collada_cleanup
...
Collada cleanup
2020-10-20 00:20:40 +02:00
Kim Kulling
bbac168ced
Merge branch 'master' into collada_cleanup
2020-10-19 23:56:52 +02:00
Kim Kulling
69143ed149
fix unittests.
2020-10-19 23:53:27 +02:00
Kim Kulling
080322b9e2
cleanup collada xml migration.
2020-10-19 19:06:11 +02:00
Malcolm Tyrrell
a2cd5619b4
Merge branch 'master' into readFbxWeightsInConfig
2020-10-19 10:16:02 +01:00
Kim Kulling
376e468877
Merge pull request #3231 from xiaozhuai/master
...
optimize CMakeLists.txt
2020-10-18 18:29:45 +02:00
john
d48ac9d0a4
fix xcode compile bug
2020-10-18 10:54:04 +08:00
Kim Kulling
37c09ecb69
Update CMakeLists.txt
2020-10-17 10:58:06 +02:00
Kim Kulling
56e1a80e24
Merge branch 'master' into master
2020-10-17 10:57:26 +02:00
Kim Kulling
fc11ca2f5e
Merge pull request #3461 from inhosens/dev_1016
...
glTF1's orthgraphic camera & glTF2's skinning
2020-10-17 10:56:38 +02:00
Inho Lee
ad7f8910e9
Rollback the method to handle empty bones for GLTF2
...
A patch made the assimp to ignore empty bones.
However, some assets can have bones which don't have weights
but are connected to other bones.
2020-10-16 17:09:17 +02:00
Inho Lee
9f880e2214
Fix glTF1 orthographic camera
2020-10-16 08:56:55 +02:00
Kim Kulling
c035177847
Merge pull request #3451 from xantares/patch-1
...
CMake: Fix FindRT warning
2020-10-15 20:08:35 +02:00
Malcolm Tyrrell
0363c18f1f
Read weights
2020-10-15 10:07:24 +01:00
Silvio Traversaro
3b5212067c
Fix CMake config generation
...
Use standard CMake function to generate the CMake config files.
2020-10-14 23:55:28 +02:00
Kim Kulling
76d370b054
Merge branch 'master' into patch-1
2020-10-14 22:05:56 +02:00
Kim Kulling
dbd99bf700
Merge pull request #3456 from rbsheth/rbsheth_hunter_hotfix
...
Hotfix for Hunter builds
2020-10-14 22:05:34 +02:00
Kim Kulling
828068d224
Merge branch 'master' into rbsheth_hunter_hotfix
2020-10-14 21:14:42 +02:00
Kim Kulling
f713d30e9b
Merge pull request #3454 from jsmaatta/master
...
Fix for issue #3445
2020-10-14 21:13:52 +02:00
Kim Kulling
7660070aa4
Merge branch 'master' into master
2020-10-14 21:01:35 +02:00
Kim Kulling
b9f83c8db8
Merge pull request #3458 from assimp/issue_3449
...
Add handling for source for params
2020-10-14 20:57:08 +02:00
Kim Kulling
857f62cde0
closes pParam.mReference = source;
2020-10-14 20:34:46 +02:00
Rahul Sheth
4e57c1ee7f
Hotfix for Hunter builds
2020-10-14 11:49:05 -04:00
Jukka Maatta
6848a18999
Fix for issue #3445
...
Add const to avoid creating a temporary copy.
This should fix the cmake compilation error on XGLLoader.cpp shown in bug #3445
The fix is similar to commit bbe6f7f213
2020-10-13 21:56:43 +03:00
Kim Kulling
84ef3dc0fc
Merge branch 'master' into fbxReportAssetIssuesProperly
2020-10-13 18:37:03 +02:00
Kim Kulling
ba1145885d
Merge pull request #3452 from rbsheth/rbsheth_add_pugixml
...
Update Hunter for pugixml
2020-10-13 12:01:32 +02:00
Rahul Sheth
b7c6719ed8
Fix test builds
2020-10-12 16:47:36 -04:00
Rahul Sheth
f12e6eb6f4
Update Hunter for pugixml
2020-10-12 16:30:03 -04:00
xantares
22ea239049
CMake: Fix FindRT warning
...
This fixes the following warning:
The package name passed to `find_package_handle_standard_args` (rt) does not match the name of the calling package (RT).
2020-10-12 10:42:41 +02:00
Kim Kulling
636f28965f
Merge branch 'master' into fbxReportAssetIssuesProperly
2020-10-11 18:13:43 +02:00
Kim Kulling
1df00143f5
Merge pull request #3446 from stromaster/patch-1
...
fix for fbx files using stingray materials;
2020-10-11 18:05:57 +02:00
Sahin Serdar Kocdemir
eb9928e029
fix for fbx files using stringray materials;
2020-10-09 07:28:15 +01:00
Malcolm Tyrrell
20733537d7
Merge branch 'master' into fbxReportAssetIssuesProperly
2020-10-08 09:54:04 +01:00
Kim Kulling
c7ab7ff457
Merge pull request #3413 from Optimizer0/master
...
[Bug-Fix] Fixed Strict Aliasing Level 3 Warnings
2020-10-08 10:17:32 +02:00
Optimizer0
1d3f8bd871
Merge branch 'master' into master
2020-10-06 15:48:11 +05:30
Kim Kulling
95d0443a5d
Merge pull request #3415 from assimp/issue_3379
...
closes https://github.com/assimp/assimp/issues/3379 : reproduce error …
2020-10-06 10:38:09 +02:00
Optimizer0
152343b186
Merge branch 'master' into master
2020-10-06 08:35:26 +05:30
Kim Kulling
d676e1a13f
closes https://github.com/assimp/assimp/issues/3379 : reproduce error of unresolved symbol with static lib
2020-10-05 21:37:18 +02:00
Kim Kulling
3b9d4cfd28
Merge pull request #2966 from assimp/pugi_xml
...
[WIP] Pugi xml
2020-10-05 20:02:51 +02:00
Kim Kulling
09a473ff02
fic tests.
2020-10-05 19:06:48 +02:00
Kim Kulling
52826a03f8
remove all hunter-dependencies for pugixml.
2020-10-05 18:53:42 +02:00
Kim Kulling
23f144a7b7
pugixml: use pugixml in headeronly mode.
2020-10-05 18:44:59 +02:00
Malcolm Tyrrell
4bdaf20b70
Add comment.
2020-10-05 14:23:42 +01:00
Isuru2000psn
f2b3ec2e0c
strict-aliasing level 3 warnings fix
2020-10-05 15:29:09 +05:30
Malcolm Tyrrell
585fb89154
Make an assert a DeadlyImportError.
2020-10-02 15:25:16 +01:00
Malcolm Tyrrell
57756750f6
Limit the output
2020-10-02 15:20:50 +01:00
Malcolm Tyrrell
17702605cf
Limit the number of characters printed.
2020-10-02 14:41:36 +01:00
Malcolm Tyrrell
6b9c477763
The floar parsing routines are now DeadlyErrors.
2020-10-02 13:58:55 +01:00
Kim Kulling
9303fb31f6
Enable export only for windows
2020-10-02 11:30:37 +02:00
Kim Kulling
9d296f3943
export pugixml symbold in assimp
2020-10-01 22:02:03 +02:00
kimkulling
b6dde74155
adaptions to support hunter
2020-10-01 16:35:34 +02:00
kimkulling
d75fa2bb4b
fix invalid path.
2020-10-01 10:43:48 +02:00
kimkulling
c740f61f97
hunter integration: pugixml
2020-10-01 10:29:52 +02:00
Kim Kulling
c7f7ed8901
Update ColladaLoader.cpp
2020-09-30 20:51:54 +02:00
Kim Kulling
0191c661b5
fix division by zero.
2020-09-30 20:39:26 +02:00
Kim Kulling
4affe21709
Update ccpp.yml
2020-09-30 19:28:04 +02:00
Kim Kulling
0f4ce80ff1
Update sanitizer.yml
2020-09-30 19:27:32 +02:00
Kim Kulling
177426185e
Fix invalid cast
2020-09-30 16:38:13 +02:00
Kim Kulling
50d21e08f3
fix memoy leak.
2020-09-30 12:05:32 +02:00
Kim Kulling
ea741fd8bd
init readbuffer with 0-token.
2020-09-30 11:57:29 +02:00
Kim Kulling
b4f79411aa
Fix lowrcase names.
2020-09-30 11:24:41 +02:00
Kim Kulling
788099a223
Merge branch 'master' into pugi_xml
2020-09-29 21:29:37 +02:00
Kim Kulling
6a4c338625
Merge pull request #3405 from sherief/master
...
Fix for build break due to warnings-as-errors.
2020-09-29 21:10:38 +02:00
Kim Kulling
c591f7de2f
make xml parsing more verbose.
2020-09-29 21:01:10 +02:00
Kim Kulling
484d305987
pugi: enable static linkage explicitely.
2020-09-29 20:33:39 +02:00
Kim Kulling
adcf84c41f
Merge branch 'pugi_xml' of https://github.com/assimp/assimp into pugi_xml
2020-09-29 19:18:27 +02:00
Kim Kulling
880fe75671
add missing dep to assimp_cmd
2020-09-29 19:14:14 +02:00
Kim Kulling
db49a541c3
remove unused attributes.
2020-09-28 20:35:30 +02:00
Kim Kulling
ef9a78b49d
remove unused attributes.
2020-09-28 20:34:44 +02:00
Kim Kulling
8f0888f7fc
diable hunter fr pugi.
2020-09-28 20:03:51 +02:00
Kim Kulling
effccfe2e6
Remove dead code.
2020-09-28 15:23:26 +02:00
Kim Kulling
bf4ad2837f
Remove dead code.
2020-09-28 15:20:59 +02:00
Kim Kulling
69822fd5e6
remove pugixml from hunter
2020-09-28 10:23:25 +02:00
Kim Kulling
c598a12340
Remove unused variable.
2020-09-28 09:15:56 +02:00
Kim Kulling
89ac168014
ogre: fix warning: not inited variable.
2020-09-27 21:23:55 +02:00
Kim Kulling
1c85676a9c
collada: fix warning: not inited variable.
2020-09-27 21:19:23 +02:00
Kim Kulling
052cc2e070
collada: fix warning: not inited variable.
2020-09-27 21:16:51 +02:00
Kim Kulling
5038f21d06
collada: fix warning: not inited variable.
2020-09-27 21:14:21 +02:00
Kim Kulling
202907d471
collada: fix warning: unused variable.
2020-09-27 21:11:42 +02:00
Kim Kulling
3f97a1df2c
collada: fix warning: unused variable.
2020-09-27 21:09:06 +02:00
Kim Kulling
bdd3c96eee
amf: fix warning: unused variable.
2020-09-27 21:06:14 +02:00
Kim Kulling
5877f81419
amf: fix warning: unused variable.
2020-09-27 21:03:59 +02:00
Kim Kulling
5230b91611
amf: fix warning: unused variable.
2020-09-27 21:01:48 +02:00
Kim Kulling
8143ea5aec
amf: fix warning: unused variable.
2020-09-27 20:58:08 +02:00
Kim Kulling
9a19a4723b
amf: fix warning: unused variable.
2020-09-27 20:54:21 +02:00
Kim Kulling
a6b90c354b
fix pugi warnings
2020-09-27 20:38:09 +02:00
Kim Kulling
5653a82a87
fix the unittests.
2020-09-27 20:20:44 +02:00
Kim Kulling
9234fee35e
Ogre: fix xml migration.
2020-09-27 09:36:38 +02:00
Sherief Farouk
a3c8cfc0ff
Fix for build break due to warnings-as-errors when not building M3D exporter.
2020-09-26 23:21:23 -07:00
Kim Kulling
d6892b3f58
Merge branch 'master' into pugi_xml
2020-09-25 21:00:09 +02:00
Kim Kulling
557273818d
collada: next iteration.
2020-09-23 21:23:12 +02:00
Kim Kulling
22dd53a4a2
Merge pull request #3394 from ms-maxvollmer/gltfBufferViewSizeFix
...
GLTF2: Throw instead of assert when input file is invalid.
2020-09-23 21:22:14 +02:00
Kim Kulling
34351b3cb9
fix collada material parsing.
2020-09-23 00:20:06 +02:00
Kim Kulling
c0e58c1895
Merge branch 'master' into gltfBufferViewSizeFix
2020-09-22 20:02:16 +02:00
Kim Kulling
93ae409e74
Merge branch 'pugi_xml' of https://github.com/assimp/assimp into pugi_xml
2020-09-22 17:29:49 +02:00
Kim Kulling
6e91605268
reformat.
2020-09-22 17:29:46 +02:00
kimkulling
71f20eaa8a
next fixes
2020-09-22 15:51:21 +02:00
kimkulling
dee8e5bee1
Merge branch 'pugi_xml' of https://github.com/assimp/assimp into pugi_xml
2020-09-22 15:20:35 +02:00
Kim Kulling
c4039d5cf0
fix collada data parsing.
2020-09-21 20:05:16 +02:00
kimkulling
8c88526da8
fix collada unittests.
2020-09-21 16:39:24 +02:00
Kim Kulling
11261671a3
Merge pull request #3400 from assimp/kimkulling-patch-7
...
Update Readme.md
2020-09-20 19:56:38 +02:00
Kim Kulling
3e025cdc8d
Update Readme.md
2020-09-20 18:33:02 +02:00
Kim Kulling
64c1405dfd
Merge pull request #3382 from rbsheth/rbsheth_hunter_rapidjson
...
Fix RapidJSON defines and add Hunter builds to CI
2020-09-19 21:37:16 +02:00
Max Vollmer (Microsoft Havok)
c9fb21661f
Merge branch 'master' into gltfBufferViewSizeFix
2020-09-18 08:01:24 +01:00
rahulshethsc
354e09e785
Merge branch 'master' into rbsheth_hunter_rapidjson
2020-09-17 14:39:04 -04:00
Rahul Sheth
aa125c48ab
Try fixing required action names
2020-09-17 14:38:49 -04:00
Kim Kulling
fbc0914a21
Merge pull request #3383 from crocdialer/collada_animation_ticks_per_sec_issue_3162
...
collada: set aiAnimation->mTicksPerSecond to 1000.0
2020-09-17 14:37:55 +02:00
Fabian Schmidt
338c0b753c
Merge branch 'master' into collada_animation_ticks_per_sec_issue_3162
2020-09-16 21:43:35 +02:00
Max Vollmer (Microsoft Havok)
9c1edaee96
Merge branch 'master' into gltfBufferViewSizeFix
2020-09-16 10:08:47 +01:00
Kim Kulling
14d6141f69
Collada: fix scenenode parsing.
2020-09-14 21:35:36 +02:00
Kim Kulling
9e2c4e0cf4
Merge branch 'master' into rbsheth_hunter_rapidjson
2020-09-14 09:00:11 +02:00
Kim Kulling
3e5feb4320
Merge pull request #3375 from MalcolmTyrrell/makeInternalErrorsAccessible
...
Make internal errors accessible
2020-09-14 08:59:09 +02:00
Kim Kulling
2901f68668
Adapt code style.
2020-09-14 08:45:18 +02:00
Kim Kulling
0e9621012c
Adapt code style - finally :-).
2020-09-14 08:43:31 +02:00
Kim Kulling
1ff9e2b522
Adapt code style.
2020-09-14 08:40:21 +02:00
Kim Kulling
23defc275a
Merge branch 'master' into makeInternalErrorsAccessible
2020-09-14 08:36:13 +02:00
kimkulling
d0932c405f
fix duplicated node parsing.
2020-09-11 15:46:46 +02:00
Kim Kulling
c1f50e116a
fix next unittests.
2020-09-11 00:46:29 +02:00
Kim Kulling
31f3812241
XGL: fix import of node values.
2020-09-10 21:03:02 +02:00
kimkulling
6ec07e4dc7
XGL: next steps.
2020-09-10 17:31:30 +02:00
kimkulling
cca9eddb1c
Fix material-base AMF-unittest.
2020-09-10 13:56:04 +02:00
Max Vollmer
615ffdf93f
What: Throw instead of assert when input file is invalid.
...
Why: Assimp shouldn't crash on invalid files. Asserts are disabled on Release builds.
2020-09-10 10:47:58 +01:00
kkulling
c2f0bf68af
Merge branch 'pugi_xml' of https://github.com/assimp/assimp into pugi_xml
2020-09-10 11:02:51 +02:00
Kim Kulling
d854f3b842
AMF: fix adding for child-nodes.
2020-09-10 00:05:53 +02:00
Kim Kulling
bd91033172
Merge branch 'master' into collada_animation_ticks_per_sec_issue_3162
2020-09-08 20:53:00 +02:00
Kim Kulling
4f30b2aa5c
Merge pull request #3391 from Naios/unref_param
...
Fix an unreferenced formal parameter warning on MSVC when no exporter…
2020-09-08 20:35:46 +02:00
Kim Kulling
0618db1f99
AMF: some smaller refactorings to improve readability.
2020-09-07 20:52:46 +02:00
Denis Blank
f3b25b999b
Fix an unreferenced formal parameter warning on MSVC when no exporter is built
2020-09-05 23:20:31 +02:00
Kim Kulling
ef6b93a949
Merge branch 'master' into collada_animation_ticks_per_sec_issue_3162
2020-09-04 16:27:47 +02:00
Kim Kulling
689406fbda
Fix Colladat import.
2020-09-04 07:33:10 +02:00
Rahul Sheth
78b30d1752
Merge branch 'master' into rbsheth_hunter_rapidjson
2020-09-03 09:51:32 -04:00
Rahul Sheth
df56a97794
Dummy commit 2 to trigger Github Actions
2020-09-03 08:41:22 -04:00
Rahul Sheth
56a3759925
Dummy commit 1
2020-09-03 08:41:08 -04:00
kimkulling
1e6a1c63ec
Remove irrxml search.
2020-09-03 11:45:43 +02:00
Kim Kulling
9ce0671134
Merge pull request #3387 from Gargaj/patch-1
...
add missing define to glTF importer
2020-09-03 08:42:18 +02:00
Kim Kulling
be5089ae40
Collada: correct parsing of float data in xml nodes.
2020-09-02 22:38:19 +02:00
Kim Kulling
075540e15a
AMF: fixes.
2020-09-02 22:37:57 +02:00
Kim Kulling
0b8ed5c03a
fix crash when x3d is empty
2020-09-02 21:49:40 +02:00
Kim Kulling
34f343233e
3ml: fix xml parsing.
2020-09-02 21:49:20 +02:00
Kim Kulling
0c05398602
xml-parser: ensure that traverse-collectors are only collecting xmlnodes.
2020-09-02 21:48:58 +02:00
kkulling
87d2580aad
fix 3mf rel-parsing
2020-09-02 17:45:37 +02:00
Gargaj
9053dfea05
add missing define to glTF importer
2020-09-02 16:28:12 +02:00
Kim Kulling
3081e83f43
Merge pull request #3385 from jnhyatt/smart-ptr-fix
...
Fix Bad Ownership Acquisition
2020-09-02 16:24:25 +02:00
Kim Kulling
4dad3eab3f
Merge branch 'master' into smart-ptr-fix
2020-09-02 16:14:45 +02:00
Kim Kulling
a7d3172dd8
Merge pull request #3386 from flowtsohg/master
...
Update Jassimp's AiTextureType.java
2020-09-02 16:14:08 +02:00
Chananya Freiman
542d784457
Update Jassimp's AiTextureType.java
...
The newer PBR enums are missing, making it impossible to import many models.
2020-09-02 02:52:56 +03:00
Kim Kulling
73fa2cbe88
Fix memory handling of xml-nodes in the parser.
2020-09-01 21:48:50 +02:00
Joshua Hyatt
638499a278
Replace unique_ptr and add custom deleter
2020-09-01 10:30:31 -06:00
Kim Kulling
3c2133a3b9
fix node collection for collada xml parsing
2020-09-01 07:51:17 +02:00
kimkulling
e62b4e5cce
next iteration.
2020-08-31 16:10:38 +02:00
Kim Kulling
6d5c388780
Introduce node iterator.
2020-08-30 21:10:04 +02:00
Joshua Hyatt
dcf9a7b2d8
Conform variable names to code standards
2020-08-29 23:58:31 -06:00
Joshua Hyatt
953e976de6
Close stream when finished
2020-08-29 23:56:50 -06:00
Joshua Hyatt
cc2613f264
Replace unique_ptr with raw pointer
2020-08-29 23:06:33 -06:00
Joshua Hyatt
c769f8d4ad
Replace unique_ptr with raw pointer to avoid destructing stream
2020-08-29 22:21:34 -06:00
kimkulling
30a4eae17f
simplify some ttributes access in loaded xml.
2020-08-28 16:25:22 +02:00
kimkulling
0730eebe6f
fix collada handling of xml nodes.
2020-08-28 16:17:56 +02:00
crocdialer
3c98197be0
set aiAnimation->mTicksPerSecond to 1000.0. this is analog to the behaviour of gltf2-importer
2020-08-28 16:09:15 +02:00
Kim Kulling
b7e9595e54
fix loop of xml-files.
2020-08-28 00:09:51 +02:00
Rahul Sheth
6b32f34fc2
Try disabling C4389 for GTest only for MSVC
2020-08-27 17:02:42 -04:00
Rahul Sheth
b15c111805
Try Hunter-based Github Actions
2020-08-27 16:55:39 -04:00
Rahul Sheth
5f19c8890b
Update to the latest Hunter
2020-08-27 16:51:34 -04:00
Rahul Sheth
59c8b4ed84
Move RapidJSON definitions to CMake
2020-08-27 16:51:06 -04:00
kimkulling
582a8b1887
Fix xml-migration bild.
2020-08-27 17:05:09 +02:00
kimkulling
6f77d2e06d
Prepare unittest for XmlParser.
2020-08-27 17:04:58 +02:00
Kim Kulling
c359b973bb
finish migration of collada.
2020-08-26 22:31:46 +02:00
Rahul Sheth
5087348a37
Build tests and tools with Hunter
2020-08-25 11:30:46 -04:00
Kim Kulling
904f17f29f
next collada-iteration
2020-08-24 07:44:54 +02:00
Kim Kulling
7adfe1f2d8
Xml: introduce helper for attribute parsing.
2020-08-21 06:45:30 +02:00
Malcolm Tyrrell
962fe7cd4d
Oops. Fix string to match restored error text.
2020-08-20 15:10:11 +01:00
Malcolm Tyrrell
fa93ba76fe
Do need to export base class.
2020-08-20 15:01:24 +01:00
Malcolm Tyrrell
16c227e27c
Undo one other small change.
2020-08-20 14:53:00 +01:00
Malcolm Tyrrell
8f893e3653
Actually, just keep the old behaviour for now.
2020-08-20 14:32:15 +01:00
Kim Kulling
cb631517a7
next iteration.
2020-08-19 22:44:13 +02:00
Malcolm Tyrrell
9b5e758bdd
Even simpler DeadlyErrorBase
2020-08-19 17:59:13 +01:00
Malcolm Tyrrell
6f9c61e157
Use case which matches surrounding code.
2020-08-19 17:57:25 +01:00
Malcolm Tyrrell
6c2ceb55f8
Simplify some FBX error code.
2020-08-19 17:20:57 +01:00
kimkulling
d393f677ce
Collada: next methods migrated.
2020-08-19 17:10:30 +02:00
Malcolm Tyrrell
d7c65c36cd
Add unit test for formatting.
2020-08-19 11:31:46 +01:00
Malcolm Tyrrell
3ccf503d3e
Forward template arguments.
2020-08-19 11:31:32 +01:00
Kim Kulling
56381241c5
move hasAttribute to XmlParser scope.
2020-08-19 00:19:56 +02:00
Kim Kulling
554ed1bf91
next step.s
2020-08-18 20:44:06 +02:00
Malcolm Tyrrell
0f6127e90e
No need to build strings.
2020-08-18 18:21:20 +01:00
Malcolm Tyrrell
e1a0163e7e
Make all exceptions available.
2020-08-18 18:14:51 +01:00
Malcolm Tyrrell
b7c789da67
Stop concatenating std::strings. Use formatter.
2020-08-18 17:35:08 +01:00
kimkulling
6a8edb21f8
fix merge issues
2020-08-18 17:41:37 +02:00
Malcolm Tyrrell
0ffcdf160e
Build formatting into DeadlyImportError
2020-08-18 16:32:34 +01:00
kimkulling
7e93ae4428
3MF: Migration.
2020-08-18 16:54:29 +02:00
Malcolm Tyrrell
974252bd8f
Fix two warnings that annoy clang.
2020-08-18 10:33:47 +01:00
Malcolm Tyrrell
4f1e904ec8
Fix typo.
2020-08-18 10:33:47 +01:00
Malcolm Tyrrell
829ff1adf0
Maybe this will help.
2020-08-18 10:33:47 +01:00
Malcolm Tyrrell
a4110a59c5
Use runtime error.
2020-08-18 10:33:47 +01:00
Malcolm Tyrrell
19cdfd12df
Unit test for internal failures.
2020-08-18 10:33:47 +01:00
Malcolm Tyrrell
b1ed751b83
Provide an API for accessing internal errors.
2020-08-18 10:33:42 +01:00
Kim Kulling
48ec3ef458
Merge pull request #3374 from fuj1n/update_utf8cpp
...
Update utf8cpp to fix use of C++17 deprecated feature
2020-08-17 21:11:05 +02:00
Arthur (fuj1n) Uzulin
995ab805ff
Update utf8cpp to fix use of C++17 deprecated feature
2020-08-17 17:54:48 +10:00
Kim Kulling
51a417ce6f
Merge pull request #3372 from lsliegeo/nff_ai_real
...
NFF importer double precision support
2020-08-16 13:56:33 +02:00
lsliegeo
0d00ff7043
use ai_real instead of float
2020-08-15 14:57:49 +02:00
Kim Kulling
9fc00cbf74
Merge pull request #3369 from assimp/issue_3364
...
Fix incorrect index
2020-08-11 20:50:11 +02:00
Kim Kulling
1bbae19779
Fix leak
2020-08-11 20:28:12 +02:00
Kim Kulling
b1b9fa94cf
Update utStandardShapes.cpp
2020-08-11 20:21:35 +02:00
Kim Kulling
9bad20e99e
Add test to CMakeLists
2020-08-11 20:03:30 +02:00
Kim Kulling
45f76f36f3
Add test to CMakeLists
2020-08-11 20:03:23 +02:00
Kim Kulling
153a6efecc
Add test
2020-08-11 20:02:14 +02:00
Kim Kulling
729882debb
Fix incorrect index
...
closes https://github.com/assimp/assimp/issues/3364
2020-08-11 19:57:36 +02:00
Kim Kulling
394651e640
x3d: migration of goups.
2020-08-10 22:13:45 +02:00
Kim Kulling
f90bb2ca26
Merge pull request #3363 from malortie/fix-cmake-override-output-path3
...
Fixed runtime output directory overridden.
2020-08-08 10:54:31 +02:00
Kim Kulling
b3f85613fc
Merge branch 'master' into fix-cmake-override-output-path3
2020-08-08 10:42:36 +02:00
Kim Kulling
65265594ba
Merge pull request #3362 from assimp/issue_3004
...
Fix nncorrectly named Assimp .dll
2020-08-08 09:19:53 +02:00
Kim Kulling
fbd9c9651d
fix clang detection
2020-08-08 09:06:41 +02:00
Marc-Antoine Lortie
11daed69d3
Fixed overwriting of CMake global output directory variables.
2020-08-07 16:04:39 -04:00
Kim Kulling
30d83d40c1
fix brackets for template in template
2020-08-07 19:15:28 +02:00
kimkulling
29b72fe6d4
fix cmake warning
2020-08-07 16:22:34 +02:00
kimkulling
aaea564cbe
closes https://github.com/assimp/assimp/issues/3004 : use prefix when ms_tools were found.
2020-08-07 16:14:44 +02:00
Kim Kulling
4c8b9fb96d
Merge pull request #3360 from assimp/issue_2992
...
closes https://github.com/assimp/assimp/issues/2992 : detect double support
2020-08-07 14:41:30 +02:00
kimkulling
13d7fad7f7
closes https://github.com/assimp/assimp/issues/2992 : add single or double precision + missing compilers.
2020-08-07 14:23:07 +02:00
Kim Kulling
8504c191db
Merge pull request #3356 from qarmin/more_ubsan_flags
...
Added more undefined sanitizer flags
2020-08-05 20:24:13 +02:00
Kim Kulling
919f730844
Merge branch 'master' into more_ubsan_flags
2020-08-05 19:59:18 +02:00
Kim Kulling
89eb7f889a
Merge pull request #3355 from assimp/issue_3353
...
Fix wrong function defines
2020-08-05 19:56:46 +02:00
Kim Kulling
58bf23be55
Merge branch 'master' into issue_3353
2020-08-05 18:03:26 +02:00
Kim Kulling
b94183376c
Fix possible overflow in new.
2020-08-05 17:56:44 +02:00
Kim Kulling
c238508706
Merge pull request #3357 from assimp/issue_3291
...
Export opacity is 3DS
2020-08-04 21:04:58 +02:00
Kim Kulling
1f348c5fc0
Remove redundant float f
2020-08-04 20:55:29 +02:00
Kim Kulling
aabf12827b
fix typo
2020-08-04 17:52:43 +02:00
Kim Kulling
855b47452e
Export opacity is 3DS
...
closes https://github.com/assimp/assimp/issues/3291
2020-08-04 17:41:28 +02:00
Rafał Mikrut
c60373c0ba
Merge branch 'master' into more_ubsan_flags
2020-08-03 23:17:53 +02:00
Rafał Mikrut
447805f01a
Added more undefined sanitizer flags
2020-08-03 23:12:08 +02:00
Kim Kulling
aa6c35f683
Merge pull request #3350 from MalcolmTyrrell/fbxVersionCheck
...
FBX Version/Size Check
2020-08-03 21:30:03 +02:00
Kim Kulling
e7ae576614
undo change
2020-08-03 15:54:19 +02:00
Kim Kulling
435bba30dd
Move functions into the correct preprocessor branch
2020-08-03 09:30:02 +02:00
Kim Kulling
008e551f8e
Merge branch 'master' into fbxVersionCheck
2020-07-31 14:33:21 +02:00
Kim Kulling
ac8a8a5ad4
Merge pull request #3349 from rmstyrczula/fixFbxExportNullptr
...
FBXExport: Fix crash if scene->mMetaData is null
2020-07-31 14:32:32 +02:00
Malcolm Tyrrell
0282f358a4
Remove unneeded check.
2020-07-31 12:40:17 +01:00
Malcolm Tyrrell
301bae3967
Improve message
2020-07-30 16:37:41 +01:00
Malcolm Tyrrell
eaf0587dd8
FBX Version/Size Check
2020-07-30 14:56:01 +01:00
Ryan Styrczula
3170c3d15c
FBXExport: Fix crash if scene->mMetaData is null
2020-07-30 09:21:43 -04:00
Kim Kulling
58b81a2590
start migrating X3D.
2020-07-26 10:17:21 +02:00
Kim Kulling
575ce6136d
Merge pull request #3347 from rbsheth/rbsheth_fix_warn
...
Fixing more build warnings
2020-07-25 19:06:21 +02:00
Rahul Sheth
ad18e365e5
Fixing more warnings
2020-07-24 16:33:36 -04:00
Kim Kulling
6828cf2f03
Merge pull request #3328 from awr1/fix-mingw-priumax
...
Fix MinGW builds (issues related to pragmas and format strings)
2020-07-24 11:34:25 +02:00
Kim Kulling
c7a9ef30cc
Merge branch 'master' into fix-mingw-priumax
2020-07-24 11:14:15 +02:00
Kim Kulling
e8cbc0928e
Merge pull request #3346 from assimp/fix_compiler_warnings
...
Fix warning: comparison between unsigned and signed.
2020-07-24 11:11:39 +02:00
Kim Kulling
6886ea6c65
Fix warning: comparison between unsigned and signed.
2020-07-24 10:57:24 +02:00
Kim Kulling
59e15b7fd1
Merge pull request #3345 from assimp/fix_include
...
add missing include for logging.
2020-07-23 21:37:00 +02:00
Kim Kulling
c62fa76cda
Merge branch 'master' into fix_include
2020-07-23 21:09:11 +02:00
Kim Kulling
dcc8419722
add missing include for logging.
2020-07-23 21:01:08 +02:00
Kim Kulling
07c1396b50
Merge pull request #3344 from assimp/fix_include
...
use correct include.
2020-07-23 20:26:56 +02:00
Kim Kulling
9a4b3fd9de
use correct include.
2020-07-23 20:16:11 +02:00
Kim Kulling
8edb0d5278
Merge pull request #3343 from assimp/fix_assimp_fuzzing
...
fix namespace issue in fuzzer.
2020-07-23 20:08:17 +02:00
Kim Kulling
eb44eb13e6
fix namespace issue in fuzzer.
2020-07-23 19:15:46 +02:00
Kim Kulling
c67a5bd903
Merge pull request #3342 from assimp/kimkulling-patch-7
...
Remove travis + assveyor.
2020-07-23 12:00:10 +02:00
Kim Kulling
b2df27a6f0
Merge branch 'master' into kimkulling-patch-7
2020-07-23 11:46:33 +02:00
Kim Kulling
c71dbcc37e
Merge pull request #3329 from MalcolmTyrrell/gltfIndexOutOfRangeFix
...
Handle Gltf2 files where a value in a mesh index buffer is out of range.
2020-07-23 11:43:39 +02:00
Kim Kulling
5e0b9e0f32
Remove travix + assveyor.
2020-07-23 11:35:36 +02:00
Kim Kulling
0f442b1ff2
Merge branch 'master' into gltfIndexOutOfRangeFix
2020-07-23 11:27:34 +02:00
Kim Kulling
52c29612f7
Merge pull request #3333 from RichardTea/acloader_enums
...
ACLoader: Use Surface type enums
2020-07-23 11:27:07 +02:00
Kim Kulling
a33557be71
Merge branch 'master' into acloader_enums
2020-07-22 23:50:51 +02:00
Kim Kulling
ac83e3593e
Merge pull request #3335 from RichardTea/issue-3334_cl_D9025
...
Issue 3334 cl d9025
2020-07-22 23:50:12 +02:00
Kim Kulling
162c8be184
Merge branch 'master' into issue-3334_cl_D9025
2020-07-22 22:57:14 +02:00
Kim Kulling
a2186a0553
Merge pull request #3336 from RichardTea/issue-3332_msvc2017
...
Use #ifdef _MSC_VER for pragma warnings (Issue 3332)
2020-07-21 00:40:05 +02:00
Kim Kulling
76a6bb36f6
Merge branch 'master' into issue-3332_msvc2017
2020-07-20 22:04:35 +02:00
Kim Kulling
6a9ca736c1
Merge pull request #3337 from MeyerFabian/build/clang-cl-windows
...
clang with msvc backend
2020-07-20 21:04:55 +02:00
MeyerFabian
51e592123a
Fix two deletions.
2020-07-20 18:42:57 +02:00
MeyerFabian
a19e4e4112
Make clang with msvc abi work.
2020-07-20 18:28:50 +02:00
MeyerFabian
13ee2306c3
build/clang-cl-windows
2020-07-20 17:04:11 +02:00
RichardTea
9cad10a995
Disable MSVC warnings on all MSVC
...
Fixes the build on MSVC 2017 (and probably MSVC 2015)
2020-07-17 14:58:51 +01:00
RichardTea
a4eceb7b3f
Set CMP0092 the other way
2020-07-17 12:06:52 +01:00
RichardTea
c527a33aa8
Merge remote-tracking branch 'upstream/master'
2020-07-17 12:00:38 +01:00
RichardTea
ef37fc4632
Merge branch 'master' into issue-3334_cl_D9025
2020-07-17 11:59:53 +01:00
RichardTea
ce133e5add
Set CMake policy CMP0092
...
Disable cmake's automatic /W3 for MSVC
2020-07-17 11:58:17 +01:00
RichardTea
f2e3e43fbc
Merge branch 'master' into acloader_enums
2020-07-17 11:30:50 +01:00
RichardTea
17b9403b7a
ACLoader: Use enum for Surface flags
2020-07-17 11:23:50 +01:00
Kim Kulling
b2e53783de
Merge branch 'master' into fix-mingw-priumax
2020-07-17 12:07:46 +02:00
Kim Kulling
37056f0242
Merge pull request #3327 from rbsheth/rbsheth_update_hunter
...
Hunter-related build fixes
2020-07-17 12:02:28 +02:00
Kim Kulling
fa486240d5
Merge branch 'master' into rbsheth_update_hunter
2020-07-17 11:39:55 +02:00
Kim Kulling
1975579268
Merge pull request #3326 from rmstyrczula/master
...
DefaultIOStream: Remove assert on empty count
2020-07-17 11:33:02 +02:00
RichardTea
719cc82a1f
Apply clangformat
2020-07-17 10:29:44 +01:00
RichardTea
8c60879485
Rollup to 'upstream/master'
2020-07-17 10:03:48 +01:00
Kim Kulling
516bdc2a4b
Merge branch 'master' into master
2020-07-16 22:48:02 +02:00
Kim Kulling
c55ca47666
Merge pull request #3322 from AndrewJDR/master
...
Build viewer and publish artifacts on windows-msvc.
2020-07-16 22:47:17 +02:00
Kim Kulling
147c5f7cd2
Merge branch 'master' into master
2020-07-16 21:37:46 +02:00
Kim Kulling
0a165ee666
Merge pull request #3311 from ms-maxvollmer/gltf1_gltf2_split
...
Added macros to enable/disable GLTF1 and GLTF2 independently
2020-07-16 21:37:08 +02:00
Kim Kulling
deddaf49df
finish migrate ogrexmlserializer.
2020-07-16 11:33:28 +02:00
Kim Kulling
df8792d24b
Merge branch 'master' into gltf1_gltf2_split
2020-07-16 10:45:55 +02:00
Kim Kulling
44fd987d57
Merge pull request #3330 from infosia/bad_nodeanim_ptr
...
fix invalid pointer for bone animation
2020-07-16 10:39:21 +02:00
Kota Iguchi
84e68eaf24
fix invalid pointer for bone animation
2020-07-16 15:26:02 +09:00
Malcolm Tyrrell
04df5f8b1e
Don't use make_unique
2020-07-15 15:47:25 +01:00
Malcolm Tyrrell
e51e07982d
Remove generic lambda usage.
2020-07-15 15:05:42 +01:00
Malcolm Tyrrell
e1bab44e19
Exception safety
2020-07-15 15:02:27 +01:00
Malcolm Tyrrell
37e1fb9cd7
Fix message
2020-07-15 14:19:13 +01:00
Malcolm Tyrrell
f3170a96ba
Ensure data does not depend on faces we may not have created.
2020-07-15 12:36:48 +01:00
Malcolm Tyrrell
d4f5f29b44
Add missing asset
2020-07-15 12:22:39 +01:00
Malcolm Tyrrell
fff6396e3c
Rename to avoid overloading problems.
2020-07-15 12:22:28 +01:00
Malcolm Tyrrell
212903e935
Unit test for all indices out of range, and fix.
2020-07-15 12:19:00 +01:00
Malcolm Tyrrell
7e7161852a
Add a unit test.
2020-07-15 11:19:10 +01:00
Malcolm Tyrrell
c0d978786e
Fix warning
2020-07-15 09:12:52 +01:00
Malcolm Tyrrell
a56134ba33
Drop faces when indices are out of range.
2020-07-15 09:05:09 +01:00
awr1
77cf6e3433
Ensure that zip.h warning disable is pushed
2020-07-14 22:07:24 -05:00
awr1
638369e995
Try to fix lexing issue with preproc w/r/t __has_warning
2020-07-14 21:58:36 -05:00
awr1
cc8cd88d7a
Preproc conditional should be &&, not ||
2020-07-14 21:50:22 -05:00
awr1
bad0df9a1a
Remove unnecessary inversion in preproc
2020-07-14 21:48:46 -05:00
awr1
b3f61f8759
Fix error where -Wunused-but-set-variable might not be available
2020-07-14 21:44:33 -05:00
awr1
3bf6963d20
Use a better divider for import error
2020-07-14 21:34:30 -05:00
awr1
93d567e3b1
Fix sprintf format string
2020-07-14 21:32:22 -05:00
awr1
700d8e6614
Fix MinGW builds (issues related to pragmas and format strings)
2020-07-14 21:19:07 -05:00
Rahul Sheth
0bad2c7b6a
Move library configuration outside Hunter block
2020-07-14 19:00:42 -04:00
Rahul Sheth
abc6b9ce4c
ifdef fixes to fix MSVC warnings
2020-07-14 19:00:38 -04:00
Rahul Sheth
209a61d0e7
Update hunter and utf8cpp inclusion
2020-07-14 19:00:23 -04:00
Ryan Styrczula
84e342acd7
DefaultIOStream: Remove assert on empty count
...
fwrite() is valid to call with a 0 count, and will simply return 0.
See:
https://en.cppreference.com/w/cpp/io/c/fwrite
http://www.cplusplus.com/reference/cstdio/fwrite/
There are code paths where StreamWriter will call Tell(), which calls
Flush(), which calls Write(buffer.data(), 1, buffer.size()). This can
happen when nothing has yet been written to the buffer, so size is 0.
2020-07-14 10:39:18 -04:00
Kim Kulling
b19ebf5d54
Fix merge conflicts.
2020-07-14 09:02:14 +02:00
Kim Kulling
8cfd2a4cc1
Migrate OgreSerializer.
2020-07-14 09:00:06 +02:00
Kim Kulling
67a710efad
Merge pull request #3320 from IOBYTE/master
...
add triangle strip support to AC file loader
2020-07-13 22:10:12 +02:00
Kim Kulling
f5d5d7c5ed
Merge branch 'master' into master
2020-07-13 20:35:24 +02:00
Kim Kulling
bdcad5cd0a
Merge pull request #3292 from rmstyrczula/master
...
FBXExporter: Use scene metadata for global settings
2020-07-13 20:32:44 +02:00
Ryan Styrczula
0c2f7a119c
FBXExporter: Forgot WritePropColor defaultValue
2020-07-13 13:56:06 -04:00
Ryan Styrczula
6619ec8253
FBXExporter: Use scene metadata for global settings
...
Models with non-standard axes and scale are not imported and exported
correctly if the input metadata is ignored.
2020-07-13 13:56:06 -04:00
Kim Kulling
c8d759de64
Merge branch 'master' into master
2020-07-12 19:11:02 +02:00
Kim Kulling
aff5bba9da
Merge pull request #3289 from ifiddynine/patch-1
...
Fix Blender .fbx metalness detection
2020-07-12 19:05:55 +02:00
Kim Kulling
78d0b81b6c
Merge branch 'master' into patch-1
2020-07-12 18:54:34 +02:00
Kim Kulling
411bf89b64
Merge pull request #3323 from assimp/LoicFr-master
...
Loic fr master
2020-07-12 18:52:38 +02:00
Kim Kulling
eaac92830a
Merge branch 'master' of https://github.com/LoicFr/assimp into LoicFr-master
2020-07-12 12:05:34 +02:00
Andrew Johnson
a9a0c30932
Build viewer and publish artifacts on windows-msvc.
...
This commit introduces Github Actions support for building the tools and viewer and making
these available for download as a zip file in the artifacts area of the Github Actions page.
This allows for continuous validation that the viewer and tools build successfully, and
the download is useful for quick testing of the very latest assimp functionality without needing
to download and build it from source.
This only applies to windows-msvc, since the assimp viewer is only supported on that platform.
It downloads the June 2010 DirectX SDK from the Microsoft servers and installs it. It also
uses a cache to prevent having to perform this DX SDK download and installation repeatedly for every
commit.
Note, it's necessary install the older June 2010 DXSDK because assimp uses the now deprecated D3DX libraries,
and these libraries are not included in the stock Windows Server image provided by Github Actions.
2020-07-11 22:05:06 -07:00
Kim Kulling
231447c8d6
Merge pull request #3227 from thomasbiang/gltf2_sparseAccessor_export
...
Gltf2 Sparse Accessor Export (blendshape export using sparse accessor)
2020-07-11 23:06:47 +02:00
Kim Kulling
b1dd77fbbc
Merge branch 'master' into gltf2_sparseAccessor_export
2020-07-11 22:57:31 +02:00
Kim Kulling
ec156e4da3
Merge pull request #3280 from thomasbiang/extras_property_callback
...
Customize Extras in Gltf2 Exporter with ExporterProperty Callback
2020-07-11 22:56:38 +02:00
Kim Kulling
306e03d497
Merge branch 'master' into extras_property_callback
2020-07-11 22:46:19 +02:00
Kim Kulling
108b3a62e5
Update Exporter.hpp
...
revert merge issue
2020-07-11 22:45:45 +02:00
Kim Kulling
1324b4b27d
Merge pull request #3321 from assimp/kimkulling-patch-7
...
use c-style cast in a c-file
2020-07-11 22:43:44 +02:00
Kim Kulling
b8ec93aa21
use c-styl cast in a c-file
2020-07-11 22:34:43 +02:00
Kim Kulling
2cd1192bf1
Merge pull request #3300 from mahiuchun/strrchr
...
Use strrchr() when finding the '.' that begins the file extension.
2020-07-11 21:19:55 +02:00
Kim Kulling
9682ab0685
Merge branch 'master' into strrchr
2020-07-11 21:10:58 +02:00
Kim Kulling
21678df589
ogre + collada migration.
2020-07-10 22:25:38 +02:00
Kim Kulling
1379175f18
Merge pull request #3314 from assimp/issue_3252
...
closes https://github.com/assimp/assimp/issues/3252 : fix build.
2020-07-09 09:50:32 +02:00
Robert Reif
628394baec
check for invalid vertex
2020-07-07 23:29:54 -04:00
RichardTea
d79a617e18
Rollup to 'upstream/master'
2020-07-07 20:03:10 +01:00
kimkulling
9aa468262f
closes https://github.com/assimp/assimp/issues/3252 : fix build.
2020-07-07 17:35:03 +02:00
Robert Reif
37c74f6fa3
add test to unit for acc file format loader
2020-07-06 20:16:22 -04:00
Robert Reif
f753a6e7ad
add acc file test using existing ac file converted to acc format
2020-07-06 20:14:03 -04:00
Robert Reif
6c29247180
add triangle strip support to AC file loader
2020-07-06 17:41:14 -04:00
Max Vollmer (Microsoft Havok)
fb11705dd0
Merge branch 'master' into gltf1_gltf2_split
2020-07-06 09:11:06 +01:00
Max Vollmer
abf43eaf74
* Added ASSIMP_BUILD_NO_GLTF1_IMPORTER, ASSIMP_BUILD_NO_GLTF2_IMPORTER, ASSIMP_BUILD_NO_GLTF1_EXPORTER, and ASSIMP_BUILD_NO_GLTF2_EXPORTER to allow disabling GLTF1 and GLTF2 independently.
...
* ASSIMP_BUILD_NO_GLTF_IMPORTER and ASSIMP_BUILD_NO_GLTF_EXPORTER remain with same behavior as before
2020-07-05 19:22:31 +01:00
Kim Kulling
a211aff522
Merge pull request #3307 from MalcolmTyrrell/defsIncludeFix
...
Ensure asserts are defined where expected.
2020-07-05 20:20:23 +02:00
Kim Kulling
d04f8b3174
Merge branch 'master' into defsIncludeFix
2020-07-05 18:59:37 +02:00
Kim Kulling
95a23af16f
Merge pull request #3309 from mahiuchun/const
...
Improve ToBinary() for double precision.
2020-07-04 21:22:42 +02:00
Kim Kulling
77b705048b
fix merge issues.
2020-07-04 13:42:23 +02:00
Kim Kulling
839986ca14
next step of AMF-Migration.
2020-07-04 09:04:06 +02:00
Hill Ma
3fb7747429
Improve ToBinary() for double precision.
...
The constant 0x80000000 is specific to 32 bit types. Make the bit mask
according to the size of types.
2020-07-03 18:14:45 -07:00
Kim Kulling
d74c10dcb7
Merge branch 'master' into pugi_xml
2020-07-03 17:29:38 +02:00
Kim Kulling
10c709831f
Merge pull request #3306 from assimp/issue_3305
...
closes https://github.com/assimp/assimp/issues/3305 : remove merge issue.
2020-07-02 17:46:53 +02:00
Malcolm Tyrrell
51150cb3df
Ensure asserts are defined where expected.
2020-07-02 14:53:29 +01:00
Kim Kulling
693da43095
closes https://github.com/assimp/assimp/issues/3305 : remove merge issue.
2020-07-02 15:22:06 +02:00
Kim Kulling
b1369d0912
next steps.
2020-07-02 15:18:59 +02:00
RichardTea
9e27fb3b89
Rollup to upstream/master
2020-07-01 16:28:32 +01:00
Kim Kulling
7b7764afb9
Merge pull request #3301 from mahiuchun/double
...
Fix build when ASSIMP_DOUBLE_PRECISION is on.
2020-06-30 21:24:35 +02:00
Kim Kulling
7fda533484
Merge branch 'master' into double
2020-06-30 21:12:02 +02:00
Kim Kulling
dea412c9a0
Merge pull request #3303 from malortie/fix-loop-variable-HL1MDLLoader
...
Fixed variable in loop - HL1MDLLoader.cpp
2020-06-30 21:11:32 +02:00
Yingying Wang
97085c1c05
update sync
2020-06-30 11:48:37 -07:00
Yingying Wang
36f899bf09
sync update
2020-06-30 11:45:11 -07:00
Yingying Wang
3f2e5518eb
update sync
2020-06-30 11:29:08 -07:00
Marc-Antoine Lortie
03340787ec
Fixed variable in loop - HL1MDLLoader.cpp
...
Commit 7e5a0acc48
made changes to HL1MDLLoader.cpp. Several variables have been renamed. A loop variable 'i' was renamed to faceIdx, but one reference was left unchanged.
2020-06-29 07:50:51 -04:00
Kim Kulling
4ff5a06ef4
Merge pull request #3302 from assimp/kimkulling-patch-6
...
Move patreon to contribution
2020-06-29 12:52:19 +02:00
Hill Ma
30f09e9fc0
Fix build when ASSIMP_DOUBLE_PRECISION is on.
...
Tested:
$ cmake -DASSIMP_DOUBLE_PRECISION=1 -DASSIMP_BUILD_MDL_IMPORTER=0 ..; make
The MDL importer is disabled due to the fact that there is some float-only code
in MDL. This also means bin/assimp and bin/unit would not link successfully with
the above build flags.
2020-06-28 17:36:21 -07:00
Hill Ma
0b18d27042
Use strrchr() when finding the '.' that begins the file extension.
...
Sometimes we encounter file paths like ../foo/bar.obj; searching from the end of
the string would yield the correct result.
2020-06-28 16:02:33 -07:00
Kim Kulling
fb20e15163
start to migrate colladat and amf
2020-06-27 15:57:06 +02:00
Filip Lundgren
ba09e1ef94
Fix Blender .fbx metalness detection
2020-06-21 23:56:11 +02:00
ywang
e65434bf82
extra callback
2020-06-11 17:37:06 -07:00
ywang
f57e7221c0
temp
2020-06-10 13:23:29 -07:00
Yingying Wang
578a7ac502
add Callback API in ExporterProperties
2020-06-09 11:20:48 -07:00
Yingying Wang
8fed101432
avoid all zero
2020-06-08 16:18:11 -07:00
Yingying Wang
f18f1a35f6
accommodate linux build
2020-06-08 14:49:50 -07:00
Yingying Wang
2065512470
remove comments
2020-06-08 14:41:53 -07:00
Yingying Wang
5d1cff5496
Merge branch 'gltf2_sparseAccessor_export' of https://github.com/thomasbiang/assimp into gltf2_sparseAccessor_export
2020-06-08 14:33:58 -07:00
Yingying Wang
12dc736d94
Merge branch 'master' of https://github.com/thomasbiang/assimp into gltf2_sparseAccessor_export
2020-06-08 14:32:23 -07:00
Yingying Wang
71b16bf3df
Merge branch 'master' of https://github.com/thomasbiang/assimp into gltf2_sparseAccessor_export
2020-06-08 14:30:32 -07:00
Kim Kulling
a399d1bd25
Merge branch 'master' into gltf2_sparseAccessor_export
2020-06-07 17:57:08 +02:00
FRICOTEAUX
87584eb007
glTF2: fix "file size doesn't match" issue when importing GLB in Blender
2020-05-28 11:05:38 +02:00
Yingying Wang
98767cbb08
pull master
2020-05-27 10:23:28 -07:00
Kim Kulling
f4dd5eafd0
Merge branch 'master' into master
2020-05-26 21:48:39 +02:00
Kim Kulling
2be731d1bf
Merge branch 'master' into pugi_xml
2020-05-22 10:09:46 +02:00
Yingying Wang
50f0a86798
conditional export
2020-05-19 16:10:41 -07:00
Yingying Wang
c10e409a5d
merge
2020-05-18 12:16:45 -07:00
xiaozhuai
80c88ffc73
optimize CMakeLists.txt
2020-05-18 15:40:12 +08:00
Yingying Wang
b8e39b58d1
clean up
2020-05-15 12:32:58 -07:00
Yingying Wang
f6720271cb
sparce accessor exporter
2020-05-15 12:20:31 -07:00
RichardTea
e1decbd532
Merge remote-tracking branch 'upstream/master'
2020-05-05 09:30:44 +01:00
Trevor David Black
a0aa067b5f
Moved Texture writing into its own function
2020-05-01 08:35:04 -07:00
Trevor David Black
2c9d3bea64
Printing out unique textures
2020-04-30 14:01:09 -07:00
Trevor David Black
3dc550a9b2
Got a working geometry prototype, sponza renders correctly when camera and light is added
2020-04-25 00:10:31 -07:00
Trevor David Black
07065e2235
Working first proof of concept. Renders ambient term in pbrt
2020-04-22 13:38:06 -07:00
Trevor David Black
cb88210c62
Completed scene wide rendering output
2020-04-20 12:23:22 -07:00
Trevor David Black
1045fb7798
Got 90 percent solution for exporting camera data
2020-04-20 11:55:46 -07:00
Trevor David Black
f9f2d617a2
Added a very basic camera. Still work to do
2020-04-17 10:42:13 -07:00
Trevor David Black
3ad53ab630
Printing file metadata
2020-04-08 13:29:03 -07:00
Trevor David Black
8c3b374486
Pbrt file exporter hello world
2020-04-06 12:12:37 -07:00
Kim Kulling
03182c21b8
xml-migration amf - next steps.
2020-02-26 22:19:42 +01:00
Kim Kulling
979153522c
xml-migration: migration of XGLImporter.
2020-02-05 22:51:39 +01:00
Kim Kulling
1a8d5667b6
xml-migration: migrate shared code from irr-loader.
2020-02-04 20:47:20 +01:00
Kim Kulling
bd2ffc8d58
Merge branch 'pugi_xml' of https://github.com/assimp/assimp into pugi_xml
2020-02-03 21:19:30 +01:00
Kim Kulling
c1fcee9c5a
XMl-Migration: Migration of IrrMesh.
2020-02-03 21:19:03 +01:00
Kim Kulling
02df65d541
Merge branch 'master' into pugi_xml
2020-01-28 13:13:47 +01:00
Kim Kulling
00ad892a49
xml: last changes.
2020-01-27 23:54:59 +01:00
Kim Kulling
0cb236bae3
next steps.
2020-01-27 22:18:48 +01:00
Kim Kulling
8ef106e185
xml-migration: introduce xmlnode.
2020-01-27 22:11:27 +01:00
Kim Kulling
6a471b4390
xml-migration: next steps.
2020-01-27 22:10:42 +01:00
Kim Kulling
02acb3f8c2
Merge branch 'master' into pugi_xml
2020-01-23 21:26:04 +01:00
Kim Kulling
11f49f85c4
try to migrate AMF
2020-01-23 21:25:25 +01:00
Kim Kulling
a905303764
IrrXml: replaced irrXml by pugixml.
2020-01-23 21:16:10 +01:00
Kim Kulling
d48b93cf34
Merge branch 'master' into pugi_xml
2020-01-18 08:28:19 +01:00
Madrich
a413774e24
Merge pull request #16 from assimp/master
...
Update
2019-11-25 14:09:26 +01:00
Kim Kulling
8761f3c67a
add pugi to include.
2019-08-08 22:07:06 +02:00
Kim Kulling
db3bb22933
Xml: Prepare replacement of irrXml.
2019-07-21 12:19:19 +02:00
Madrich
5fb77f8523
Merge pull request #15 from assimp/master
...
Update Fork
2019-07-13 06:49:58 +02:00
Madrich
990dc9453e
Merge pull request #14 from assimp/master
...
Update
2019-05-06 12:11:40 +02:00