On Demand Remap for Material Assignments

Đang mở
#881 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp, unity
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu bằng cách so sánh hành vi của On Demand Remap trong Unity FBX importer với các cài đặt import của trình chỉnh sửa glTF trong Materials. Theo dõi cách các material slots được ánh xạ với các material của project theo tên, sau đó xác minh rằng quy trình import được mô tả tự động cấu hình việc remapping cho các material dùng chung.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug 💬

It would be nice to have the same On Demand Remap feature as the FBX importer has.
This often comes in handy, when you want to share materials between seperately imported glTF assets. For example a repeating material that is not unique to one object.

I might invest time to implement this myself. Could someone point me to the right place to get started with this feature?

Thanks!

Steps to reproduce 🔢

It could work the same way as in the FBX importer:

  1. Import an object
  2. Go to Import Settings > Materials
  3. Hit "On Demand Remap" to automatically look for materials in the project that have the same name as the material slot on the imported object and setup the material remapping.
Files to reproduce the issue ♻

No response

Editor Version 🎲

6000.0

Render Pipeline and version

URP 17.0.3

UnityGLTF Version

2.17.0

Operating System 👩‍💻

Windows

When does this problem happen?
  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export
Additional Info 📜

No response

Validations 🩹
Ngôn ngữ chính
C#
Star
2.3k
Fork
539
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của KhronosGroup/UnityGLTF

Tất cả issue của KhronosGroup/UnityGLTF

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.