summaryrefslogtreecommitdiffstats
path: root/modules/gltf/structures
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1fSpartan3222024-11-0610-15/+436
|\
| * GLTF: Implement KHR_animation_pointer for animating custom propertiesAaron Franke2024-11-042-1/+7
| |
| * GLTF: Implement the glTF Object Model to support JSON pointer propertiesAaron Franke2024-11-044-0/+296
| |
| * GLTF: Prerequisite cleanups before KHR_animation_pointerAaron Franke2024-11-042-0/+48
| | | | | | | | 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.
| * GLTF: Clean up animation code to make way for KHR_animation_pointerAaron Franke2024-11-042-11/+49
| |
| * GLTF: Add more accessor component typesAaron Franke2024-11-042-0/+10
| |
| * GLTF: Move the component type enum into GLTFAccessorAaron Franke2024-11-042-4/+23
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-2721-42/+42
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1121-0/+42
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* GLTF: Add append_gltf_node to GLTFStateAaron Franke2024-09-022-0/+6
|
* Change capitalization of glTF in errors and comments.tetrapod002024-08-152-8/+8
|
* Move GLTFAccessorType into GLTFAccessorAaron Franke2024-07-042-18/+40
|
* Rename accessor GLTFType to GLTFAccessorType, fix verbose prints, docAaron Franke2024-05-242-10/+23
|
* Merge pull request #89270 from Repiteo/enforce-typename-in-templatesRémi Verschelde2024-03-141-1/+1
|\ | | | | | | Enforce template syntax `typename` over `class`
| * Enforce template syntax `typename` over `class`Thaddeus Crews2024-03-071-1/+1
| |
* | gltf export: Remove snapping and fix validationLyuma2024-03-102-0/+15
|/ | | | | | | Round min/max correctly in accessors Include correct target in vertex and indices bufferViews Avoid use of Math::snapped Normalize vertex weights.
* Move 3D-only resources to their own folderAaron Franke2024-02-264-4/+4
|
* Add ufbx for FBX importingK. S. Ernest (iFire) Lee2024-02-2311-6/+207
| | | | | | | | | | | | | | | | 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>
* Merge pull request #83231 from aaronfranke/gltf-transformRémi Verschelde2024-02-092-13/+9
|\ | | | | | | Fix desynced duplicate GLTFNode transform properties
| * Fix desynced duplicate GLTFNode transform propertiesAaron Franke2024-01-292-13/+9
| |
* | Change AudioStreamPlayer autoplay and GLTFBufferView getters to be constAaron Franke2024-02-083-10/+81
|/
* Remove unnecessary `this->` expressionsA Thousand Ships2024-01-291-6/+6
|
* Fix crash in GLTFBufferView::load_buffer_view_dataAaron Franke2024-01-171-0/+1
|
* Misc changes to the GLTF module before audio PRAaron Franke2024-01-112-1/+15
|
* Remove Object pointer/solve types conflict in AnimationTrackCacheSilc Lizard (Tokage) Renew2024-01-081-0/+1
| | | | Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Add const lvalue ref to container parametersMuller-Castro2024-01-051-1/+1
|
* [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-261-1/+1
|
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-159-0/+9
| | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #76895 from aaronfranke/gltf-webpRémi Verschelde2023-05-261-1/+1
|\ | | | | | | Add support for extending GLTF with more texture formats and support WebP
| * Add support for extending GLTF with more texture formats & support WebPAaron Franke2023-05-221-1/+1
| |
* | Fix GLTFSkin binding for the godot_sking property Theraot2023-05-231-1/+1
|/
* gltf: Permit sparse accessors without a bufferView.Lyuma2023-05-091-1/+1
|
* Remove unused joint boolean in GLTFNodeAaron Franke2023-02-212-14/+0
|
* One Copyright Update to rule them allRémi Verschelde2023-01-0520-580/+580
| | | | | | | | | | | | | | | | | | | | 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".
* Consistently use `p_` for parameters in GLTFDocumentAaron Franke2022-12-101-1/+1
|
* GLTF: Clean up lots of includesAaron Franke2022-11-296-8/+7
|
* Change the way GLTFDocumentExtension classes are registeredAaron Franke2022-11-091-2/+0
| | | | Also move GLTFDocumentExtension into the extensions folder
* Add a way to store additional data in GLTFState and GLTFNodeAaron Franke2022-10-152-0/+14
|
* GLTF imports & exports material texture filtersThe Tophat Demon2022-10-034-0/+224
|
* Don't try to read values from null cameras and lights in GLTFAaron Franke2022-09-041-0/+1
|
* Change Array arguments to TypedArraykobewi2022-09-012-5/+5
|
* Move GLTF camera conversion code into GLTFCameraAaron Franke2022-08-282-0/+87
|
* Rename `str2var` to `str_to_var` and similarMicky2022-08-261-1/+1
| | | | | | | | | | | | | | | | | | Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
* Replace Array return types with TypedArray 3kobewi2022-08-244-8/+12
|
* GLTF: Fix orthographic cameras, internally store data in GLTF's formatAaron Franke2022-08-142-15/+27
|
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-257-0/+7
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* GLTF: Organize structures into a subfolderAaron Franke2022-07-2418-0/+1655