On Demand Remap for Material Assignments

オープン
#881 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, unity
領域
tooling

調査の方向性

まず、Unity FBX importer の On Demand Remap の動作を、Materials 配下の glTF エディターのインポート設定と比較します。マテリアルスロットが名前によってプロジェクトのマテリアルとどのように対応付けられるかを追跡し、続いて、説明されているインポートワークフローによって共有マテリアルのリマッピングが自動的に設定されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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 🩹
主要言語
C#
スター
2.3k
フォーク
539
平均マージ
3日 15時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KhronosGroup/UnityGLTF のほかの issue

KhronosGroup/UnityGLTF の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。