Commit graph

20 commits

Author SHA1 Message Date
marauder2k7 87de724d31 final cleanup 2024-12-12 15:08:01 +00:00
marauder2k7 4a1d664b6a final commit get this merged 2024-12-12 14:32:20 +00:00
marauder2k7 13a6df35cc mac/linux fix 2024-12-12 01:02:36 +00:00
marauder2k7 dcedcdd6f8 test cases
apply transform to root before importing scene
2024-12-12 00:21:37 +00:00
marauder2k7 aa294b37f6 final cleanup
cleanup types
cleanout unnecessary vars
only aboslutely necessary vars to collada utils remain, for tracking scale and up_axis etc.
2024-12-11 19:28:09 +00:00
marauder2k7 4ac9639a52 bkup commit
fbx details matching for skinned meshes, gltf still offset
2024-12-11 15:38:17 +00:00
marauder2k7 5beef47b23 dont autoconfig up axis set it explicitly for the formats 2024-12-10 16:46:29 +00:00
marauder2k7 28fcb8d68b animation update
updated how animations are handled from assimp
gltf timing now correct
2024-12-10 11:54:13 +00:00
marauder2k7 ca6e26520b Update assimp importing
assimp importer now works for the most part for fbx and gltf
animations for gltf still need to be sorted out
2024-12-09 23:24:09 +00:00
AzaezelX bb432dc906 fix(?) assimp to torquie matrix converter
it wasn't accounting for the formatScaleFactor (1, 0.01, ect) leading to mesh deformations based on bone vs skinned mesh displacement
2024-09-30 22:39:00 -05:00
marauder2k7 58bcea770c Node interp
Fix node interpolation to remove the jittered (reverted back to previous get node transform)
2024-02-10 21:57:08 +00:00
marauder2k7 05960e4d25 extra fixes
Torque sees the seqEnd in appSequence as a time in seconds whereas in Assimp this is in frames.
This is then converted to frames in generateSequences.
2024-02-10 20:01:52 +00:00
OTHGMars 76550a5859 Adds a format scale multiplier for shape formats that use a default unit other than meters. 2020-03-22 02:25:12 -04:00
OTHGMars 2eaa917e00 Import settings persistence
Adds new settings to ColladaUtils::ImportSettings and TSShapeConstructor::ImportSettings for persistence. Shape will now be re-imported with the original settings if the source art is newer or the cached.dts file has been deleted.
Fixes material transparency blend mode assignment.
Adds implementation for override scale, material prefix and always/never import options.
Reads and applies metadata fields for scale and up axis from formats that provide it.
Eliminates the assimp.log file and redirects log messages to console.log. Verbose logging is enabled in debug builds.
2019-05-21 01:18:27 -04:00
OTHGMars 6660f253b5 Fix for importing animated skinned meshes.
Scale is negated in inverse bind matrices.
Vertex weights are normalized (glTF importer is limited to 4 weights per vert).
Fixed interpolation for animations where the first frame is not at 0.0.
Allows cached.dts version of assimp imported shapes to be loaded.
2019-04-25 16:02:22 -04:00
OTHGMars 70bbad8411 Sequence timing options.
This commit deals with the problem that the keyframe timestamps are not standardized. Seconds, milliseconds and ticks are used depending on the import format. There is no metadata or property that specifies the format used, so the option is exposed to the user as part of the import options gui.
2019-04-22 06:52:59 -04:00
OTHGMars 17a2e416ed Adds animated node transforms for animation importing.
Fixes sequence timing variables.
2019-04-18 16:45:52 -04:00
OTHGMars bc722a353d Fixes vertex weight assignments.
Adds upaxis override option to match collada importer.
2019-03-27 12:46:43 -04:00
OTHGMars 1a7e6699c9 Adds conversion functions and changes implementation of getTransform(). 2019-03-24 06:18:20 -04:00
Areloch bf170ffbca WIP of assimp integration. 2019-02-08 16:25:43 -06:00