summaryrefslogtreecommitdiff
path: root/modules/gltf/doc_classes
AgeCommit message (Collapse)Author
2023-03-13Document GLTFNode and some of GLTFStateAaron Franke
(cherry picked from commit 2cc22fb964a94cdb031dd95f473812eef274c903)
2023-02-26GLTF: Delete unused skeleton_to_nodeAaron Franke
2023-02-21Remove unused joint boolean in GLTFNodeAaron Franke
2023-02-01Merge pull request #72440 from V-Sekai/gltf_embed_as_uncompressedRémi Verschelde
gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSED
2023-02-01gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSEDLyuma
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.
2023-01-31Use enum instead of int in virtual methods return typeRaul Santos
2023-01-30Add remove immutable tracks option to glTF importerSilc Renew
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2023-01-27Add missing classref changes after #62942Rémi Verschelde
2023-01-27Handle gltf binaryK. S. Ernest (iFire) Lee
[ 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-15Improve the documentation of GLTFDocument's append methodsAaron Franke
2022-12-11Pass GLTFState to the export_preflight methodAaron Franke
2022-11-29GLTF: Clean up lots of includesAaron Franke
2022-11-29Merge pull request #68665 from TokageItLab/cut-unkeyed-gltf-animRémi Verschelde
Add "Trimming" option to cut un-keyed timeline before first key in glTF animation
2022-11-29Add trimming option to cut un-keyed timeline before first key in gltfSilc Renew
2022-11-24Merge pull request #69083 from fire/abstract_gltf_materialRémi Verschelde
Cache materials in gltf as the abstract class of Material in GLTFDocument
2022-11-24Cache materials in gltf as the abstract class of MaterialK. S. Ernest (iFire) Lee
Use the abstract material class instead of BaseMaterial3D. This allows inserting ShaderMaterials into gltf. Like in VRM.
2022-11-22Add unregister for GLTFDocumentExtensionRedMser
2022-11-21Add three new methods to GLTFDocumentExtensionAaron Franke
2022-11-20Add GLTFDocument documentation.K. S. Ernest (iFire) Lee
Co-authored-by: Meow <mosesturner@protonmail.com> Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2022-11-09Change the way GLTFDocumentExtension classes are registeredAaron Franke
Also move GLTFDocumentExtension into the extensions folder
2022-10-15Add a way to store additional data in GLTFState and GLTFNodeAaron Franke
2022-10-03GLTF imports & exports material texture filtersThe Tophat Demon
2022-09-19Add a way to get the GLTF extensions supported by GLTFDocumentExtensionAaron Franke
2022-09-19Make used extensions stored in GLTFStateAaron Franke
This allows GLTFDocumentExtension classes to add to the used extensions array.
2022-09-18Minor enhancements to the GLTF module (lights and docs)Aaron Franke
2022-09-01Change Array arguments to TypedArraykobewi
2022-08-28Move GLTF camera conversion code into GLTFCameraAaron Franke
2022-08-28Move GLTF light conversion code into GLTFLightAaron Franke
2022-08-24Replace Array return types with TypedArray 3kobewi
2022-08-14GLTF: Fix orthographic cameras, internally store data in GLTF's formatAaron Franke
2022-08-14Document GLTFLight and GLTFSpecGlossAaron Franke
2022-08-10Prevent AnimationPlayer from being added on GLTF import if the option is ↵Hakim
unchecked. Fixes #63954
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-05-20Improve gltf extension GLTFDocument api.K. S. Ernest (iFire) Lee
2022-04-01Add Blender install autodetection and configuration.reduz
This PR is a continuation to #54886 * Changed Blender path editor setting from binary to installation. * Add a class to query whether the format is supported. * This class allows to create proper editors to configure support. **NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-03-30Add fbx2gltf support for importing .fbx filesK. S. Ernest (iFire) Lee
Lets you drag or place .fbx files in the project folder and it will import the files. An editor setting sets the location of the fbx2gltf binary. Enables .fbx and .blend by default. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-03-29Add support for importing .blend filesK. S. Ernest (iFire) Lee
Lets you drag or place .blend files in the project folder and it will import the files. Checks for Blender 3.0's gltf2 `export_keep_originals` option. Add basepath support to GLTFDocument append_from_file. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-01-04Add import glb from bufferK. S. Ernest (iFire) Lee
Split functions from gltf document import and export into six functions. Use base path to allow two code paths based on an empty base path or a full base path. Add uri decode in _parse_buffers.
2021-11-01glTF: Fix override materials and non-empty arraysLyuma
Keep track of MeshInstance and GeometryInstance override materials in the GLTFMesh object. Ensure all arrays are non-empty to conform with "minItems":1 in glTF spec.
2021-10-15Add scene Post-Import Plugin support.reduz
* New plugin system to control the whole import workflow * Can add options and run code at every import step (general, per node, mesh, animation, material etc.) This constitutes a first version of these plugins. The ability to interact with the import preview dialog will likely be added later on.
2021-10-04Enable GLTFDocumentExtensionConvertImporterMesh only in games.K. S. Ernest (iFire) Lee
2021-10-03GLTF for game templates.K. S. Ernest (iFire) Lee
Convert GLTF Document to use ImporterMeshInstance3D. Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d. Use GLTF module when the editor tools are disabled. Modified the render server to be less restrictive on matching blend arrays and have more logging. Misc bugs with multimesh. Always index the meshes.
2021-09-26Fix GLTF light importAaron Franke
2021-09-20Don't generate empty doc sections and reduce code duplicationAaron Franke
2021-09-15Merge pull request #52273 from aaronfranke/gltf-renamesRémi Verschelde
2021-09-10Remove packed scene gltfK. S. Ernest (iFire) Lee
We determined through discussion that composing the packed scene from a node tree was a better design because it removed duplication of code.
2021-08-31Fix missing renames in the GLTF moduleAaron Franke
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias