02182b1087
GLTF: Move accessor and buffer view Dictionary conversion into classes
2025-10-13 11:51:25 -07:00
ad10c6185d
GLTF: Fix nasty bug with incorrect buffer indices
2025-07-05 00:00:13 -07:00
3cc71ef8b9
Merge pull request #104184 from aaronfranke/gltf-non-joint-leaf
...
GLTF: Don't collapse non-joint leaf nodes when importing skeletons
2025-06-09 12:31:42 -05:00
dc85b32a50
GLTF: Don't collapse non-joint leaf nodes when importing skeletons
2025-06-08 14:47:37 -07:00
61ff5f1bdd
GLTF: Support 64-bit sizes in glTF import and export
2025-06-05 12:40:21 -07:00
500e0d5dc4
Merge pull request #93722 from aaronfranke/gltf-khr-node-visibility
...
Implement `KHR_node_visibility` in the GLTF module
2025-04-24 17:18:51 -05:00
8459f4cdaf
Implement KHR_node_visibility in the GLTF module
2025-04-13 13:42:46 -07:00
03b793464f
GLTF export: Allow using a PNG or JPEG fallback image
2025-04-06 03:34:43 -07:00
6c4f17db1a
Core: Avoid including modules_enabled in headers
2025-03-11 19:42:13 -05:00
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-08 14:47:42 +02:00
e649e7e3c5
GLTF: Don't duplicate textures when importing blend files
...
Blender imports will always start within `.godot/imported` folder because we first convert the .blend file to .gltf, store it in `.godot/imported` and run the import from there, so on-disk resources linked from .blend files end up with duplicate textures.
2024-12-18 21:24:18 +01:00
0513943f70
GLTF: Implement KHR_animation_pointer for animating custom properties
2024-11-04 17:55:40 -08:00
d373d207c1
GLTF: Add functions to encode and decode Variants to/from accessors
2024-11-04 17:55:40 -08:00
4b66a25f52
GLTF: Implement the glTF Object Model to support JSON pointer properties
2024-11-04 17:55:39 -08:00
834189a618
GLTF: Clean up animation code to make way for KHR_animation_pointer
2024-11-04 17:55:38 -08:00
4b0085ac85
GLTF: Move the component type enum into GLTFAccessor
2024-11-04 17:55:37 -08:00
f82262eecb
GLTF: Add append_gltf_node to GLTFState
2024-09-02 19:05:03 -07:00
ee5e97742a
Add get_supported_gltf_extensions to GLTFDocument
2024-08-28 17:54:45 -07:00
923a8eb5d3
Move GLTFAccessorType into GLTFAccessor
2024-07-04 15:46:48 -07:00
d3a58e57b8
Rename accessor GLTFType to GLTFAccessorType, fix verbose prints, doc
2024-05-24 03:21:13 -07:00
24f56008ac
Add bake_fps for FBXDocument, GLTFDocument and both import-export.
2024-05-23 09:09:36 -07:00
8232759100
Fix method bindings in FBXDocument by making them virtual in GLTFDocument.
2024-03-15 12:47:02 -07:00
21b33c5ea4
Merge pull request #89418 from lyuma/gltf_vertex_packing
...
Only store vertices referenced by the indices per surface in the glTF importer
2024-03-14 22:34:52 +01:00
37b08a3724
Merge pull request #89356 from lyuma/vsk-gltf-sparse-accessors-4.3
...
GLTF export: Use sparse accessors for morph targets
2024-03-14 22:34:47 +01:00
453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
...
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
77f6e35a8d
glTF importer now only stores vertices referenced by the indices per surface.
2024-03-13 18:34:55 -07:00
db2c9571bb
glTF export: morph targets are relative, so use zero as reference
2024-03-12 02:39:15 -07:00
1e63a2a132
Update buffer view target handling, encode sparse accessors as vec3.
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com >
2024-03-12 02:39:00 -07:00
fd2aa564ab
gltf export: Remove snapping and fix validation
...
Round min/max correctly in accessors
Include correct target in vertex and indices bufferViews
Avoid use of Math::snapped
Normalize vertex weights.
2024-03-10 06:07:46 -07:00
9903e6779b
Enforce template syntax typename over class
2024-03-07 22:39:09 -06:00
04d43947bf
Add ufbx for FBX importing
...
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion.
Key changes include:
- Support for importing geometry helper nodes in FBX files.
- Addition of cameras and lights with updated names.
- Removal of the fbx importer manager.
- Introduction of ModelDocument3D and updates to its methods.
- Changes to FBX import options and visibility.
- Updating the documentation and handling some errors.
- Store the original non-unique node, mesh and animation names in FBX and glTF.
Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com >
2024-02-23 22:33:04 +01:00
4c8d69f264
Fix crash when importing a GLTF file with a skeleton as the root
2024-02-04 02:48:16 -06:00
8acef03cb5
Add export settings to the export dialog for GLTF
2023-12-30 19:57:39 -06:00
58076b9ccb
Implement glTF compat version system for files from older Godot versions
2023-11-03 12:07:25 -05:00
446893fdd1
GLTF: Add GODOT_single_root extension
2023-09-26 10:18:52 -05:00
be53991b5a
Merge pull request #80272 from aaronfranke/gltf-root-node-logic
...
GLTF: Improve logic for keeping track of the real root node
2023-09-16 21:21:40 +02:00
2723f781dd
GLTF: Allow specifying export image format including from extensions
2023-09-14 17:33:48 -05:00
5b7001dccf
GLTF: Improve logic for keeping track of the real root node
2023-09-03 03:35:29 -05:00
2970839085
Set base_path and filename during export
2023-08-03 16:49:22 -05:00
2d13a9651c
GLTF: Preserve the original bytes when importing a texture
2023-08-03 10:30:33 -05:00
bc68fa368d
More cosmetic improvements in the GLTF code
2023-08-03 02:05:41 -05:00
3988bf614b
Merge pull request #79775 from aaronfranke/gltf-node-gen-cosmetic
...
Cosmetic changes in GLTF node generation code
2023-08-02 12:19:58 +02:00
955104385c
Cosmetic changes in GLTF node generation code
2023-07-30 13:51:25 -05:00
07400f2065
Add copyright to GLTFState
2023-07-10 00:24:10 -05:00
7da93a0bc0
Add support for extending GLTF with more texture formats & support WebP
2023-05-22 16:30:20 -05:00
dbc1e94695
Fixes for gltf export.
...
* Fix null crashes.
* Bake tracks
* Add some error messages.
2023-02-07 11:57:25 -08:00
8b3be51d17
Add remove immutable tracks option to glTF importer
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com >
2023-01-30 08:57:27 +09:00
9d555f5c68
Merge pull request #62499 from fire/gltf-binary-img-compression
...
Handle gltf binary images
2023-01-27 11:35:55 +01:00
39922d7167
Handle gltf binary
...
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ]
Enable compressed mip maps from Basis Universal for faster compressions.
Increase the quality of Basis to avoid corruption.
To keep compatibility use the first mip of the previous internal Godot format.
Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27 02:02:02 -08:00