Commit Graph

105 Commits

Author SHA1 Message Date
a676465b79 Remove trailing double quote from link in GLTFState class documentation
This fixes the link to https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/schema/asset.schema.json
2024-12-21 20:58:47 +01:00
eaebb3f864 Fix more miscellaneous oddities around the class reference 2024-11-12 17:44:45 +01:00
cc57a80a89 Fix untagged true in GLTFState's documentation 2024-11-11 20:45:52 +01:00
5c5460b026 Fix many untagged true/false/null in the documentation 2024-11-10 11:26:39 +01:00
4b66a25f52 GLTF: Implement the glTF Object Model to support JSON pointer properties 2024-11-04 17:55:39 -08:00
cd367b3da3 GLTF: Prerequisite cleanups before KHR_animation_pointer
Add get_scene_node_path and has_additional_data to GLTFNode, remove center of mass ignore warning in physics (it's supported now), rename `d` to `mesh_dict` in mesh import code.
2024-11-04 17:55:39 -08:00
c7391d2ee3 GLTF: Add more accessor component types 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
5972907612 GLTF: Add import_pre_generate and export_post_convert extension steps 2024-09-17 04:00:07 -07: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
012ce1eaff Fix glTF capitalization in class reference 2024-08-15 10:41:47 -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
92b243dc3c Separate Shape3D resource logic in GLTFPhysicsShape 2024-04-04 16:22:01 -07:00
24c9d442e9 [Doc] Fix some incorrect uses of a/an 2024-03-13 21:20:28 +01: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
9b5cd8e240 [Doc] Fix some incorrect uses of "children" 2024-02-29 11:52:55 +01:00
652ef966f9 Add new scene import option to import as Skeleton
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08: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
f781571d07 Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01:00
af28f87791 Documentation: Add support for deprecated/experimental messages 2024-02-15 15:59:50 +03:00
ad106a283b Update blender_path behavior to require exact path to executable instead of trying to guess it 2024-01-27 00:41:53 +08:00
b00e5cef63 GLTF: Update OMI_physics_body, add OMI_physics_shape, keep OMI_collider 2024-01-19 14:35:49 -06:00
d36a34edb7 Misc changes to the GLTF module before audio PR 2024-01-11 20:33:51 -06:00
8acef03cb5 Add export settings to the export dialog for GLTF 2023-12-30 19:57:39 -06:00
e5270c0db2 Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01: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
d12b0787af GLTF: Add center of mass property 2023-08-11 11:27:01 -05:00
2970839085 Set base_path and filename during export 2023-08-03 16:49:22 -05:00
101442ced9 Expose filename in GLTFState 2023-08-03 16:38:10 -05:00
1d42504b30 Merge pull request #79623 from aaronfranke/gltf-export-preserialize
Add `export_preserialize` to the GLTF export process
2023-08-03 18:33:49 +02: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
e8906b5b80 Add export_preserialize to the GLTF export process 2023-07-18 15:20:24 -05:00
07400f2065 Add copyright to GLTFState 2023-07-10 00:24:10 -05:00
81064cc239 Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
346f1ab86b Bump version to 4.2-dev
Keep on waitin'
2023-07-05 22:07:03 +02:00
a222bdf83f GLTF: Rename GLTFCollider class to GLTFPhysicsShape 2023-06-16 15:18:24 -05:00
6dde6b4cdf GLTF: Expose the inertia tensor instead of a vector 2023-06-06 21:06:49 -05:00
629613a867 GLTF: Document gltf_skeleton->godot_bone_node is unused when importing 2023-06-03 02:13:07 -05:00
5e139c2ab9 Add a get_node_index method to GLTFState 2023-05-27 12:30:25 -05:00
7da93a0bc0 Add support for extending GLTF with more texture formats & support WebP 2023-05-22 16:30:20 -05:00
72d131899b gltf: Permit sparse accessors without a bufferView. 2023-05-09 10:03:38 -07:00
639b8e7dc7 Implement physics support in the GLTF module 2023-03-09 20:02:05 -06:00
2cc22fb964 Document GLTFNode and some of GLTFState 2023-03-01 10:25:23 -06:00