-
Technical task
-
Resolution: Done
-
P1: Critical
-
None
Goals:
- Materials as files
- Materials separated from the objects
- All objects should have reference materials
- Import materials from models as material files
- "Standard materials" and "Custom materials" both supported by the new filetype
Sub-tasks:
- Adding new materials in the editor
- Editing material files
- All new objects have reference materials that refer to a "Default" material
- Write and read material files when opening and editing materials in the editor
- Imported models should create material files, objects using said models should have reference materials pointing to those new material files
- UI work, editing materials, duplicating materials etc.
- Editing the material from the reference material
The system is to be implemented by having a hidden object inside the scene containing all the materials. Reference materials would then always refer to the objects inside that material container. By having a hidden object in the scene, no new system for editing materials not contained in the scene is needed. Reference materials also work only on objects inside the scene.
Problems:
- Materials have their own animations and properties and reference materials don't show any of these. => Reference materials should duplicate the behavior of the original materials in the timeline and inspector.
- Is the material container inside the master slide? => All slides would share the same material animations if said material is used.
- Alternatively, materials duplicated per slide?
- is required for
-
QT3DS-2378 Not able to store material configurations separate from a mesh
-
- Closed
-
- relates to
-
QT3DS-1198 Easy way to see where referenced material is used
-
- Closed
-
-
QT3DS-211 Referenced material editing needs to be improved
-
- Closed
-
-
QT3DS-1813
Handle materials as shared resources in a project
-
- Closed
-
-
QT3DS-1810 Editing material references
-
- Closed
-
-
QT3DS-2258
Enhanced Custom Materials Support
-
- Withdrawn
-
| For Gerrit Dashboard: QT3DS-2108 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 237406,19 | Add a new material file format | wip/refmaterial | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 237695,6 | Copy values when going from ref to non-ref mat | wip/refmaterial | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 237696,6 | Disable animation toggles for mats from files | wip/refmaterial | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 237905,7 | Move the material container to be under the Scene | wip/refmaterial | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 238233,5 | Material objs are now renamed with the mat files | wip/refmaterial | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243197,7 | Change shown material types | master | qt3dstudio/qt3dstudio | Status: MERGED | -2 | 0 |
| 243411,7 | Rename material when made animatable | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243412,7 | Change .matdata extension to .materialdef | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243690,5 | Change material values when file is changed | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243691,8 | Add DnD from project view to timeline for mats | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243692,8 | Add DnD from project view to scene for materials | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243693,10 | Fix importing when material container is empty | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243978,8 | Change project view material context menu | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243979,8 | Add instructions to default material inspector | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 243980,8 | Add an inspector toolbar for materials | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244143,4 | Ignore widgets when dragging matdefs to the scene | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244144,4 | Ignore material container when listing scene mats | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244236,4 | Support importing materialdefs | master | qt3dstudio/qt3dstudio | Status: MERGED | -2 | 0 |
| 244405,3 | Fix creating matdef file for Default material | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244406,7 | Prevent "MaterialContainer" as a user-entered name | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244407,6 | Rename same-named materials in different folders | master | qt3dstudio/qt3dstudio | Status: DEFERRED | -1 | 0 |
| 244521,1 | Prevent the user from making a Default.matdef | master | qt3dstudio/qt3dstudio | Status: DEFERRED | -1 | 0 |
| 244853,2 | Rename "MaterialContainer" to "__Container" | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244854,7 | Allow same-named matdefs in different folders | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244855,7 | Remove deleted matdefs from the container | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244856,7 | Read matdef values before showing the material | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 244988,11 | Fix model import and refresh import with materials | master | qt3dstudio/qt3dstudio | Status: MERGED | -2 | 0 |
| 245513,6 | Import .material and all textures with matdefs | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245514,8 | Fix matdef DnD to objects inside components | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245517,9 | Fix crashes when deleting matdef files | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245518,10 | Save matdef after image DnD | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245624,5 | Fix duplication naming | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245625,5 | Fix rename and update refmats upon rename | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245674,2 | Fix model mat import and refresh import behavior | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245675,2 | Keep matdef saved path up to date | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245793,2 | Allow matdef creation to all materials subfolders | 2.2 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 245794,3 | Apply new and duplicated matdefs to ref mats | 2.2 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 246101,6 | Show orig material shader drop-down for ref mats | 2.2 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 246102,6 | Refresh ref mats when shader changed | 2.2 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 246279,6 | Rename matdef in other presentations too | 2.2 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |
| 246344,1 | Make matdef parsing async from file changes | 2.2 | qt3dstudio/qt3dstudio | Status: DEFERRED | 0 | 0 |
| 246546,3 | Fix refresh import moving materials | 2.2 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |