Age | Commit message (Collapse) | Author |
|
Corresponds to the Blender glTF-Importer PR
https://github.com/KhronosGroup/glTF-Blender-IO/pull/1902
(cherry picked from commit 8b6fa79eee25d721a05518b56615eb5576147eba)
|
|
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319.
(cherry picked from commit d81e6ee024a8c64b80ac25c96b33c749ba1db79d)
|
|
When using custom color management in blender the --version command will
output additional information infront of the "normal" output and this
prevented the import.
Fixes #74439.
(cherry picked from commit 7a0d12182e2808df083a58511f3d6b6023487e70)
|
|
(cherry picked from commit e14fa5532bd87addc8c019e2b3770758b36d0c09)
|
|
(cherry picked from commit 2cc22fb964a94cdb031dd95f473812eef274c903)
|
|
(cherry picked from commit 5e0641ea9af03491889d89f9bdac0785e5bc3158)
|
|
|
|
Remove unused joint boolean in GLTFNode
|
|
|
|
|
|
Fix gltf import generate_scene() option
|
|
|
|
Basisu images were getting referenced incorrectly like set black or set as not transparent.
|
|
* Fix null crashes.
* Bake tracks
* Add some error messages.
|
|
Better error handling for Blender RPC import
|
|
- If RPC import fails, then try a direct import as well. While it's
slower, it may be better than failing the import completely.
- Connection errors will disable RPC automatically, to avoid having to
wait the full 30 seconds timeout each time.
This should be properly fixed by allowing to override the timeout
per HTTPClient.
|
|
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
|
|
gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSED
|
|
This option allows for a safe fallback for embedded gltf textures in cases where VRAM compression is not needed.
Add an is_editor_hint guard around GLTFHandleBinary::HANDLE_BINARY_EXTRACT_TEXTURES, to use EMBED_AS_UNCOMPRESSED by default at runtime.
This provides an option for pixel art to be stored losslessly.
Additionally, respect project importer defaults for texture import settings.
Avoid writing and reimporting extracted textures identical to version on disk.
|
|
|
|
Batch import Blend files using XML RPC
|
|
|
|
Restore gltf embedded scenes due to problems with textures.
|
|
Consistently use the images.name property with deduplication, or else the image index.
|
|
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
|
|
|
|
Handle gltf binary images
|
|
Make BoneAttachment3D and Skeleton3D names consistent.
|
|
[ 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.
|
|
BoneAttachment3D nodes are now named as their bone name.
Resolves cases where BoneAttachment3D nodes will have arbitrary names like BoneAttachment3D6
Reserve the name "Skeleton3D" and use this name for all generated Skeleton3D nodes.
This change will break existing imported scenes with more than one skeleton and/or bone attachments.
|
|
Recursively adds child nodes into each skeleton. This should prevent nested skeletons and avoid bone attachments for leaf bones.
In cases where a skinned mesh has children, creates two scene nodes with the same name, which both will represent this single gltf node.
Because blend shape animations must target the mesh, adds a separate mapping for ImporterMeshInstance3D node references.
This change will break existing imported scenes with bone attachments and more than one skeleton.
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
|
|
importing from a GLTF.
|
|
|
|
|
|
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|
|
|
* If FBX files are found, a dialog will pop up asking to configure FBX2glTF.
* Dialog can also be accessed by going Editor -> Configure FBX Import.
* The dialog also shows a link to click to download the converter, which
should contain instructions.
|
|
|
|
This improves performance when importing many Blender files, as it
avoids waiting for Blender to startup every time.
Old logic is still available by setting the RPC port setting to 0.
|
|
|
|
|
|
GLTF module: Clean up lots of includes
|
|
import settings exists
Fixes godotengine#69625
|
|
Add support for font weight and stretch selection when using system fonts.
Add function to get system fallback font from a font name, style, text, and language code.
Implement system font support for Android.
Use system fonts as a last resort fallback.
|
|
|
|
Add "Trimming" option to cut un-keyed timeline before first key in glTF animation
|
|
|
|
|
|
Cache materials in gltf as the abstract class of Material in GLTFDocument
|
|
Use the abstract material class instead of BaseMaterial3D. This allows inserting ShaderMaterials into gltf. Like in VRM.
|