Commit Graph

236 Commits

Author SHA1 Message Date
Pär Winzell 739ee5db94
Kill AppVeyor builds.
We'll move to CircleCI when we find an active maintainer who wants to push new releases.
2020-04-20 12:10:09 -07:00
Benjamin MICHEL 37f992321e Fixed the npm library output path 2019-10-09 09:48:14 -07:00
Pär Winzell be627fa228 Minor README updates.
- Better 'tar' invocation that doesn't require GNU tar.
- No need for GIT_LFS_SKIP_SMUDGE anymore.
- Apply VSCode's MarkDown formatting suggestions.
2019-10-09 09:35:37 -07:00
vfxgordon 1d735698ba Morph target names output to mesh.extras.targetNames (#231) 2019-10-07 16:46:38 -07:00
Pär Winzell 5c3229d6cf Patch release, screwed up 0.9.7. 2019-09-11 11:16:50 -07:00
Pär Winzell 3c08169510 Prepare patch release 0.9.7. 2019-08-10 09:33:02 -07:00
Pär Winzell b9c7d0a400
Tweak shell script snippet in README.
Fixes #214.
2019-08-08 08:54:39 -07:00
Jesse Vander Does 44d2d5bf97 Write `.gltf` to parent directory & infer binary from `.glb` (#193)
If the output extension is gltf then set the output directory to the parent. The binary and any associated textures will be written to this directory.
2019-08-07 09:35:17 -07:00
Pär Winzell 24092a80bb Use the correct camera property.
Looks like FieldOfViewX/FieldOfViewY are only well-defined when
aperture mode is eHorizAndVert. Use FieldOfView instead.

Fixes #209.
2019-08-06 17:48:45 -07:00
Pär Winzell 31e3665862 Minor cleanup. 2019-08-06 17:22:30 -07:00
Pär Winzell 7b39358f46 Be explicit in our list-initialisation.
This caused https://github.com/facebookincubator/FBX2glTF/issues/218
in ways that I honestly don't fully understand, and I believe only under
Windows, with Release-level optimisation turned on.

It's possible we should drop all these initializer lists, and replace
them with simple and explicit initialising constructors.

Fixes #218.
2019-08-06 16:36:19 -07:00
Leslie Leigh 648fdfb944 Add option "--fbx-tmp-dir" (#219)
Merge code from @shrinktofit that allows control over where temporary files are created.

(Most commonly the .fbm directory where the SDK extracts embedded resources.)
2019-08-06 08:39:59 -07:00
Par Winzell 6437d02e5f Prepare for NPM release. 2019-07-31 11:10:33 -07:00
Mr.B b09bdef836 Add Facebook official document into README (#216)
Add Facebook official document into README
2019-07-29 15:00:15 -07:00
“Brandon 3daf2b712a Fix issue where code segfaults when surface material is missing
Ignores missing material and warns user of bad FBX

Only edge case is handled while previously working models should operate as before
2019-07-18 09:35:44 -07:00
Pär Winzell 70136c6f53
Fix iconv on mac (#208)
The FBX SDK is compiled against a regular libiconv on Windows on Linux (with symbols libconv_open() etc) but on Mac, they compiled it against Apple's modified libiconv, which renames those functions. Annoyingly this means we need to explicitly decline the Conan libiconv package, for that platform only.
2019-06-11 22:42:31 -07:00
Par Winzell ec98db9762 Strip nonsense include directories. 2019-06-11 14:31:30 -07:00
Pär Winzell 43e3d05440 Drop all GIT LFS assets from repo.
Test will continue to live on here: https://github.com/zellski/FBX2glTF-Tests
2019-06-09 17:44:01 -07:00
Par Winzell 9853625ba1 Fix logic error.
Thanks @C0lumbo. This fixes #202.
2019-06-04 22:48:25 -07:00
Pär Winzell 3afd9f3266 Get zlib, libxml2 and iconv all from Conan. 2019-06-04 22:44:50 -07:00
Pär Winzell 5b475476ba Don't clobber README.md on de-tar. 2019-06-01 12:54:56 -07:00
Pär Winzell 25ef9167ed Simplify build, document it somewhat. 2019-06-01 12:48:16 -07:00
Pär Winzell a89b7d526f
Update README.md 2019-06-01 11:37:39 -07:00
Pär Winzell 4e645ddfca
Tell AppVeyor to install the FBX SDK from elsewhere (#201)
We'll fetch release tarballs from another GitHub repo.
2019-06-01 11:35:12 -07:00
Pär Winzell e411f4165a
Tell Travis to install the FBX SDK from elsewhere (#200)
We'll fetch release tarballs from another GitHub repo.
2019-05-31 22:59:10 -07:00
Pär Winzell 83e1cdc512 The FBX SDK doesn't belong in this repo. 2019-05-31 18:04:01 -07:00
Pär Winzell 449c5ed59d
Upload release artifacts for Windows (#197) 2019-05-16 12:39:39 -07:00
Par Winzell 7683d208cb Prepare for merge with master. 2019-05-16 12:39:08 -07:00
Par Winzell 75f811491c auth token encrypted against FB acct 2019-05-16 11:59:16 -07:00
Pär Winzell 8f51ee4016 Conan doesn't like adding remotes twice. 2019-05-16 11:11:51 -07:00
Par Winzell b8b470395b Build all branches, cache Conan downloads. 2019-05-16 10:58:56 -07:00
Par Winzell 07c69ce0e7 Don't skip tags, whitelist test branch. 2019-05-16 10:32:41 -07:00
Pär Winzell a66049f2e8 Conan doesn't like adding remotes twice. 2019-05-15 00:33:41 -07:00
Pär Winzell 959d799482 Try AppVeyor auto-upload release builds. 2019-05-14 22:09:11 -07:00
Jesse Vander Does feb2768b61 Added sdk to dockerignore
I've added the sdk directory to the docker ignore.
With the SDK ignored, we can install the SDK before
adding the project source. This allows the docker image
to preserve most of the layer caches when source code is
changed.
2019-05-14 07:16:28 -07:00
Pär Winzell 3c57e62ae5
Have Travis upload build artifacts (#194) 2019-05-14 07:14:26 -07:00
Pär Winzell 0ba34ee7f5 settings.libcxx -> settings.compiler.libcxx 2019-05-11 16:38:29 -07:00
Pär Winzell 80e4a96d9b Constrain our GCC build tweak to GCC.
Only for GCC (5.*) is it necessary to instruct the compiler to avoid
falling back on a very old libstd ABI.
2019-05-11 15:08:35 -07:00
Pär Winzell 6b8490a6ae
Update README.md 2019-05-07 17:27:22 -07:00
Jesse Vander Does 1100e09111 Dockerize FBX2glTF (#184)
Added dockerfile and docker-compose.
2019-05-07 17:20:38 -07:00
Par Winzell 1cc57c90b2 Update internal databases. 2019-05-07 15:32:35 -07:00
Par Winzell f0eaa1efb2 Travis CI Support. 2019-05-07 15:08:12 -07:00
Par Winzell ed43cacb33 Ensure Conan downloads modern binaries.
On a system with GCC 5.* Conan will conservatively choose 'libstdc++'
over 'libstdc++11' for compiler.libcxx, and then proceed to download
libraries compiled with the older ABI.

Meanwhile, though, our own CMake setup dictates the use of the modern
ABI, and the result is an application binary with ABI mismatches that
yield SIGSEGVs almost immediately.

Here, we guard against erronous invocations, and gently push the user
towards sending in the right explicit override for their system.
2019-05-07 13:15:54 -07:00
Par Winzell 33ef6fef2e We now have a good FBXSDK_SDKS default. 2019-05-05 22:18:08 -07:00
Pär Winzell b1960feb64 Let's try AppVeyor... 2019-05-05 10:16:21 -07:00
Par Winzell 8e5ded122e Argh. This is the actual commit intended. 2019-05-05 01:21:25 -07:00
Par Winzell df00e0538d Ignore animation 'takes', calculate frame intervals ourselves.
Lifted from comment in source:

Individual animations are often concatenated on the timeline, and the
only certain way to identify precisely what interval they occupy is to
depth-traverse the entire animation stack, and examine the actual keys.

There is a deprecated concept of an "animation take" which is meant to
provide precisely this time interval information, but the data is not
actually derived by the SDK from source-of-truth data structures, but
rather provided directly by the FBX exporter, and not sanity checked.

Some exporters calculate it correctly. Others do not. In any case, we
now ignore it completely.
2019-05-05 01:00:53 -07:00
Par Winzell a07cabd1ec eTotalOne is strictly a subset of aNormalize. 2019-05-03 21:48:51 -07:00
Pär Winzell 4b501431fe
License -> BSD (#186)
Relicense FBX2glTF as BSD.
2019-05-03 16:13:18 -07:00
Pär Winzell 7fc7120487
Azure CI build support. (#182)
Azure build support.
2019-04-23 12:44:03 -07:00