Togira
64bd19213d
glTF: Use safe methods to get data from dictionaries
2026-03-28 22:56:34 +01:00
Rémi Verschelde
e33e98a26f
Style: Apply clang-format grouping rules
2026-03-17 20:11:01 +01:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
...
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.
With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
kobewi
f7b9703cbd
Use actual class names in resource type hints
2026-01-29 21:07:56 +01:00
nikitalita
72f13e0593
GLTF: zero out padding bytes when encoding buffer views
2025-12-30 18:51:18 -08:00
Aaron Franke
342088ca31
GLTF: Use const Vector internally instead of TypedArray copies
2025-11-27 23:08:42 -08:00
Aaron Franke
e9bfc5a346
GLTF: Determine the component type when encoding object model properties
2025-11-14 18:15:59 -08:00
Thaddeus Crews
aa248bfedd
Merge pull request #111612 from aaronfranke/gltf-accessor-min-max-int
...
GLTF: Write integer min/max for integer accessors
2025-11-14 14:23:19 -06:00
Thaddeus Crews
8ff0683def
Merge pull request #110949 from aaronfranke/const-ref-param-gltf
...
Use const ref parameters in the GLTF module
2025-11-14 14:23:08 -06:00
Aaron Franke
9d0b391d6c
GLTF: Move accessor decoding functions to GLTFAccessor
2025-11-14 07:05:04 -08:00
Aaron Franke
dcb6431c01
Use const ref parameters in the GLTF module
2025-11-13 18:19:26 -08:00
Aaron Franke
23ed730e3f
GLTF: Write integer min/max for integer accessors
2025-11-13 18:05:54 -08:00
Aaron Franke
62acc21bf5
GLTF: Move accessor encoding functions to GLTFAccessor
2025-10-21 08:42:29 -07:00
Aaron Franke
02182b1087
GLTF: Move accessor and buffer view Dictionary conversion into classes
2025-10-13 11:51:25 -07:00
Aaron Franke
61ff5f1bdd
GLTF: Support 64-bit sizes in glTF import and export
2025-06-05 12:40:21 -07:00
Aaron Franke
8459f4cdaf
Implement KHR_node_visibility in the GLTF module
2025-04-13 13:42:46 -07:00
Yufeng Ying
8ae16699c5
Do not use Dictionary::keys() for Dictionary iteration.
2025-04-05 18:42:13 +08:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2024-12-24 00:40:09 +08:00
Aaron Franke
0513943f70
GLTF: Implement KHR_animation_pointer for animating custom properties
2024-11-04 17:55:40 -08:00
Aaron Franke
4b66a25f52
GLTF: Implement the glTF Object Model to support JSON pointer properties
2024-11-04 17:55:39 -08:00
Aaron Franke
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
Aaron Franke
834189a618
GLTF: Clean up animation code to make way for KHR_animation_pointer
2024-11-04 17:55:38 -08:00
Aaron Franke
c7391d2ee3
GLTF: Add more accessor component types
2024-11-04 17:55:38 -08:00
Aaron Franke
4b0085ac85
GLTF: Move the component type enum into GLTFAccessor
2024-11-04 17:55:37 -08:00
Aaron Franke
f82262eecb
GLTF: Add append_gltf_node to GLTFState
2024-09-02 19:05:03 -07:00
tetrapod00
3b1345c26e
Change capitalization of glTF in errors and comments.
2024-08-15 18:07:30 -07:00
Aaron Franke
923a8eb5d3
Move GLTFAccessorType into GLTFAccessor
2024-07-04 15:46:48 -07:00
Aaron Franke
d3a58e57b8
Rename accessor GLTFType to GLTFAccessorType, fix verbose prints, doc
2024-05-24 03:21:13 -07:00
Rémi Verschelde
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
Lyuma
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
Thaddeus Crews
9903e6779b
Enforce template syntax typename over class
2024-03-07 22:39:09 -06:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
K. S. Ernest (iFire) Lee
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
Rémi Verschelde
161894652a
Merge pull request #83231 from aaronfranke/gltf-transform
...
Fix desynced duplicate GLTFNode transform properties
2024-02-09 18:09:05 +01:00
Aaron Franke
35c99bbcc1
Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const
2024-02-08 13:01:50 -06:00
Aaron Franke
c60ed2587d
Fix desynced duplicate GLTFNode transform properties
2024-01-29 21:24:02 -06:00
A Thousand Ships
15369fdb1d
Remove unnecessary this-> expressions
2024-01-29 09:59:18 +01:00
Aaron Franke
dc325069fe
Fix crash in GLTFBufferView::load_buffer_view_data
2024-01-17 20:57:31 -06:00
Aaron Franke
d36a34edb7
Misc changes to the GLTF module before audio PR
2024-01-11 20:33:51 -06:00
Silc Lizard (Tokage) Renew
a51958a2a0
Remove Object pointer/solve types conflict in AnimationTrackCache
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2024-01-08 21:48:19 +09:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
A Thousand Ships
517e9f8aef
[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
2023-09-26 16:44:52 +02:00
Rémi Verschelde
25b2f1780a
Style: Harmonize header includes in modules
...
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:
Includes from the platform port or module ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.
Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:
- Local includes
* Conditional local includes
- Core includes
* Conditional core includes
- Thirdparty includes
* Conditional thirdparty includes
2023-06-15 14:35:45 +02:00
Rémi Verschelde
cb711a9950
Merge pull request #76895 from aaronfranke/gltf-webp
...
Add support for extending GLTF with more texture formats and support WebP
2023-05-26 11:00:06 +02:00
Theraot
3b9bcadb9e
Fix GLTFSkin binding for the godot_sking property
2023-05-23 19:28:06 -05:00
Aaron Franke
7da93a0bc0
Add support for extending GLTF with more texture formats & support WebP
2023-05-22 16:30:20 -05:00
Lyuma
72d131899b
gltf: Permit sparse accessors without a bufferView.
2023-05-09 10:03:38 -07:00
Aaron Franke
84658b47ca
Remove unused joint boolean in GLTFNode
2023-02-21 00:48:02 -06:00