virtualx-engine/editor/import
ArdaE 87573e92dc
GLTF import: Prevent significant numerical errors in keyframe times
Keyframe times shift slowly in imported animations, starting with a zero shift
at the beginning and increasing and becoming erratic slowly farther into an
animation, reaching significant levels at times after about 3 minutes into an
animation. This commit fixes the issue by increasing the precision of the
floating point numbers used for keyframe time calculations. Only the most
significant cases that cause fast accumulation of errors over a short animation
duration are fixed. Other cases that would have a marginal benefit from
switching to double precision numbers are left for another PR/further analysis.
Note that this change has no impact on the runtime performance of games/apps
created using Godot. It only affects the GLTF importer.

Fixes #47127.

(cherry picked from commit 6770a9413b)
2021-03-19 10:53:37 +01:00
..
atlas_import_failed.xpm Added ability for multiple images to be imported as an atlas 2019-04-19 15:56:34 -03:00
editor_import_collada.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_import_collada.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_import_plugin.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_import_plugin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scene_importer_gltf.cpp GLTF import: Prevent significant numerical errors in keyframe times 2021-03-19 10:53:37 +01:00
editor_scene_importer_gltf.h Expand bone name possibilities. 2021-03-17 15:17:02 +01:00
resource_importer_bitmask.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_bitmask.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_csv.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_csv.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_csv_translation.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_csv_translation.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_image.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_image.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_layered_texture.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
resource_importer_layered_texture.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_obj.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_obj.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_scene.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
resource_importer_scene.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_texture.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
resource_importer_texture.h Modernize Mutex 2021-02-18 11:58:08 +01:00
resource_importer_texture_atlas.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_texture_atlas.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_wav.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_importer_wav.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00