1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00
Commit Graph

396 Commits

Author SHA1 Message Date
Lukas Tenbrink
0f047944e4 Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
2025-11-24 23:03:22 +01:00
Thaddeus Crews
68410acc61 Merge pull request #111613 from aaronfranke/gltf-obj-model-components
GLTF: Determine the component type when encoding object model properties
2025-11-17 10:57:03 -06:00
aaronp64
5c2d12dea3 Check if scale/offset values are provided in gltf KHR_texture_transform
Update GLTFDocument to check if scale/offset values exist when reading KHR_texture_transform extension
2025-11-16 12:13:02 -05:00
Aaron Franke
e9bfc5a346 GLTF: Determine the component type when encoding object model properties 2025-11-14 18:15:59 -08: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
Thaddeus Crews
0d66b2a9cf Merge pull request #109103 from aaronfranke/gltf-accessor-decode
GLTF: Move accessor decoding functions to GLTFAccessor
2025-11-14 14:22:40 -06:00
Thaddeus Crews
61a1575807 Merge pull request #112137 from aaronfranke/gltf-empty-mat-dict
GLTF: Don't serialize empty material extensions
2025-11-14 14:22:31 -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
Thaddeus Crews
12cdb66e33 Merge pull request #108853 from aaronfranke/gltf-accessor
GLTF: Move accessor encoding functions to GLTFAccessor
2025-11-13 12:33:38 -06:00
Thaddeus Crews
3c871084f9 Merge pull request #109446 from aaronfranke/gltf-handle-image-enum
GLTF: Make handle binary image mode enum type-safe
2025-11-11 16:07:52 -06:00
Aaron Franke
a5424c321e GLTF: Make handle binary image mode enum type-safe 2025-11-04 10:42:11 -08:00
nikitalita
ec9711531d GLTF export: use ORM texture for occlusion/metallicRoughnessTexture if it exists 2025-11-02 12:49:44 -08:00
Aaron Franke
7c55e9e749 GLTF: Don't serialize empty material extensions 2025-10-28 15:19:45 -07:00
Aaron Franke
62acc21bf5 GLTF: Move accessor encoding functions to GLTFAccessor 2025-10-21 08:42:29 -07:00
Thaddeus Crews
7d7d479162 Merge pull request #111615 from aaronfranke/gltf-anim-ptr-int-erpolate
GLTF: Enforce `STEP` interpolation for integer and boolean animations
2025-10-21 10:27:14 -05:00
Thaddeus Crews
80d06f166d Merge pull request #111341 from aaronfranke/gltf-animate-visibility
GLTF: Support animating node visibility
2025-10-21 10:27:11 -05:00
Thaddeus Crews
8f7cb0712a Merge pull request #109475 from nikitalita/preserve-gltf-names
Preserve mesh, material, and texture names in GLTF export
2025-10-21 10:27:00 -05:00
Thaddeus Crews
563036185f Merge pull request #108320 from aaronfranke/gltf-buf-accessor-dict
GLTF: Move accessor and buffer view Dictionary conversion into those classes
2025-10-21 10:26:59 -05:00
Aaron Franke
74a03b4cfa Preserve mesh, material, and texture names in GLTF export 2025-10-15 10:57:11 -07:00
Thaddeus Crews
e825169957 Merge pull request #107836 from aaronfranke/gltf-without-nodes
GLTF: Allow parsing glTF files without nodes
2025-10-13 19:29:03 -05:00
Thaddeus Crews
21a6488c7f Merge pull request #109421 from aaronfranke/gltf-export-mesh-name
GLTF: Preserve mesh names on export
2025-10-13 19:28:46 -05:00
Aaron Franke
963b33ac40 GLTF: Enforce STEP interpolation for integer and boolean animations 2025-10-13 12:47:41 -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
b2e9bbfe01 GLTF: Support animating node visibility 2025-10-13 10:38:32 -07:00
Thaddeus Crews
9a5d6d1049 Merge pull request #111389 from nikitalita/gltf-fix-export-prop
Fix segfault in GLTFDocument::export_object_model_property
2025-10-08 13:56:42 -05:00
nikitalita
bca701f0eb fix segfault in GLTFDocument::export_object_model_property 2025-10-07 18:42:54 -07:00
Aaron Franke
5d492e1aed GLTF: Allow parsing glTF files without nodes 2025-10-05 17:39:49 -07:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Aaron Franke
da9a77ce42 GLTF: Preserve mesh name on export 2025-09-24 20:28:52 -07:00
Aaron Franke
a238af4d20 Use num_scientific (Grisu2) when stringifying JSON with full precision 2025-09-24 08:21:37 -07:00
Lukas Tenbrink
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Thaddeus Crews
e0f17b408b Merge pull request #109685 from nikitalita/fix-gltf-infinite-loop
Fix infinite loop in GLTFDocument::_convert_animation_node_track
2025-08-26 19:01:12 -05:00
Aaron Franke
11a13154de GLTF: Fix minor niche edge case issues with accessors 2025-08-23 00:17:58 -07:00
Aaron Franke
ba92af7d07 ImporterMesh: Validate triangle indices array size is a multiple of 3 2025-08-18 06:36:21 -07:00
nikitalita
32a59bbdf4 Fix infinite loop in GLTFDocument::_convert_animation_node_track 2025-08-17 13:53:35 -07:00
Aaron Franke
821fecd933 GLTF: Fix crash reading texture sampler for non-existent texture 2025-08-14 19:25:32 -07:00
nikitalita
7fcc7e19f3 Dedupe images during GLTF Export 2025-07-31 17:35:04 -07:00
Aaron Franke
ad10c6185d GLTF: Fix nasty bug with incorrect buffer indices 2025-07-05 00:00:13 -07:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Lukas Tenbrink
e2931a5c19 Make conversions from NodePath to String explicit. 2025-06-11 16:50:27 +02:00
Rémi Verschelde
3925ca0571 Merge pull request #106537 from aaronfranke/gltf-per-skel-unique
GLTF: Make skeleton bone names unique per-skeleton instead of scene-wide
2025-06-10 12:29:55 +02:00
Aaron Franke
8350919575 GLTF: Make skeleton bone names unique per-skeleton instead of scene-wide 2025-06-10 02:44:56 -07:00
Aaron Franke
0972db7b40 GLTF: Use scene root nodes for root nodes, don't include orphan nodes 2025-06-09 15:29:00 -07:00
Thaddeus Crews
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
Rémi Verschelde
258b872a9c Merge pull request #106220 from aaronfranke/gltf64
GLTF: Support 64-bit sizes in glTF import and export
2025-06-09 00:44:27 +02:00
Aaron Franke
dc85b32a50 GLTF: Don't collapse non-joint leaf nodes when importing skeletons 2025-06-08 14:47:37 -07:00
Rémi Verschelde
b05ae3e0bc Merge pull request #107193 from aaronfranke/gltf-align-accessor-buffer
GLTF: Align accessor buffer `byteOffset` to multiple of component size
2025-06-07 00:43:58 +02:00
Aaron Franke
902e7cc82b GLTF: Don't save unnecessary zero "byteOffset" 2025-06-05 19:08:59 -07:00
Aaron Franke
968744e17e GLTF: Align accessor buffer byteOffset to multiple of component size 2025-06-05 19:01:12 -07:00