Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PreviewSystem] Reconsider if renderer monitoring is needed in all cases #457

Open
Tliks opened this issue Oct 18, 2024 · 1 comment
Open

Comments

@Tliks
Copy link

Tliks commented Oct 18, 2024

NDMF Previewの対象となっているSkinnedMeshRendererのBlendShapeの値が変更されるとIRenderFilter.Instanciateが呼ばれ負荷に繋がっています
MA Scale AdjusterやTTT MLIC、AAO Remove Mesh等で確認しました

再現手順

  • Scale Adjusterをアタッチ
  • Scale Adjusterの対象となっているSkinnedMeshRendererのBlendShapeの値を変更
  • NodがCreateされる

認識に間違いがあれば申し訳ないですが、各ツールのCoputeContext.Observeの監視対象にオリジナルのSkinnedMeshRendererのBlendShapeは含まれないため、更新は入らないはずです

Scale Adjusterや特にMLICは相対的にInstanciateの負荷があるためスライダーによりBlendShapeの値を連続的に変更するときその負荷を実感できます

@bdunderscore
Copy link
Owner

現在の仕様として、ProxyObjectControllerのSetupRendererMonitoringでは、Renderer, Material, Meshなどが変化した際にProxyPipelineを再構築する処理が入っています。

とはいえ、必要がない場合もあるので、NDMF 1.6.xあたりで仕様変更を検討します。

@bdunderscore bdunderscore changed the title [PreviewSystem] Load when BlendShape values change [PreviewSystem] Reconsider if renderer monitoring is needed in all cases Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants