Skip to content

glTF exporter + improved the importer (and code refactor) - #699

Merged
kimkulling merged 6 commits into
assimp:masterfrom
otgerrogla:master
Dec 3, 2015
Merged

kimkulling merged 6 commits into
assimp:masterfrom
otgerrogla:master

Conversation

@otgerrogla

Copy link
Copy Markdown
Contributor

With this it can now import and export both gltf and glb formats (although there is still some stuff missing, like the animations). I tried loading most of the test models of the glTF repo, exporting them and reimporting them, and it seems to work okay.

@kimkulling

Copy link
Copy Markdown
Member

Nice work, but you need to merge master into it first.

kimkulling added a commit that referenced this pull request Dec 3, 2015
glTF exporter + improved the importer (and code refactor)
@kimkulling
kimkulling merged commit a972397 into assimp:master Dec 3, 2015
@kimkulling

Copy link
Copy Markdown
Member

Merged, thanks a lot for your help!

Kimmi

@pjcozzi pjcozzi mentioned this pull request Jan 5, 2016
1 task done
@r-lyeh-archived

Copy link
Copy Markdown

hey guys,

i've tried to export a random model from the internet and the resulting .gltf file just lacks all "sampler" fields. i've added then manually and now it works.

i'm wondering if the exporter failed because the image URLs were just wrong (absolute paths from a random computer; even more, one of the paths was incomplete). if that's the case of the problem, shouldnt the exporter just export the data as much original as possible, even if it cant find the textures on disk?

thanks in advance :)

mosfet80 added a commit to mosfet80/assimp that referenced this pull request Dec 11, 2023
Silence warnings when building with CMake 3.27 by @hjmallon in assimp#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 assimp#719
ceres-solver: update to v2.2.0-p1 by @NeroBurner in assimp#720
Update 'GTest' to v1.14.0 by @hjmallon in assimp#705
Update 'pybind11' to v2.11.1 by @hjmallon in assimp#706
ceres-solver: update to v2.2.0-p0 and fix examples by @NeroBurner in assimp#703
Eigen: explicitly disable Fortran usage by @NeroBurner in assimp#704
OpenSSL: Fix v3 version parsing by @hjmallon in assimp#707
Update 'Boost' to 1.83 by @hjmallon in assimp#708
Update 'OpenSSL' to v3.0.12 and v3.1.4 by @hjmallon in assimp#710
Update 'abseil' to 20230802.1 by @hjmallon in assimp#711
Update 'benchmark' to v1.8.3 by @hjmallon in assimp#712
Update 'sqlite3' to v3.43.2 by @hjmallon in assimp#716
Update 'CURL' to v8.4.0 by @hjmallon in assimp#663
CI: remove macos-10.15 jobs as the macos-10.15 runners are removed by @NeroBurner in assimp#695
ZLIB: update to version v1.3.0-p0 by @NeroBurner in assimp#693
miniz: update to v3.0.2 by @NeroBurner in assimp#692
Update fmt package to 10.1.1 by @JamesEggleton in assimp#697
Update spdlog package to 1.12.0-p0 by @JamesEggleton in assimp#699
Update zstd package to 1.5.5 by @JamesEggleton in assimp#700
SuiteSparse: update to 1.8.0 / 5.4.0-2 by @NeroBurner in assimp#702
OpenCV, Extra, ippicv: update to v4.8.1-p0 by @NeroBurner in assimp#696
hunter_setup_msvc: tolower to fix arm64 vs ARM64 confusion by @NeroBurner in assimp#681
Add various recent LLVM versions by @mrexodia in assimp#517
Update fmt package to 9.1.0 by @apivovarov in assimp#683
Update asio-grpc to v2.6.0 by @Tradias in assimp#686
assimp#685 Minimum cmake version required now 3.5 by @john-forrest in assimp#689
@mosfet80 mosfet80 mentioned this pull request Dec 11, 2023
kimkulling added a commit that referenced this pull request Feb 5, 2024
* 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 <[email protected]>
kimkulling added a commit that referenced this pull request Jul 1, 2026
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants