Update hdMoonray to bind to named outputs

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp

調査の方向性

Start with lib/hydramoonray/shader_utils.cc and trace getTerminalInternal as it iterates over HdMaterialRelationship objects; the issue says inputName is currently ignored. Then follow MoonrayAttribute::set() and ValueConverter::setBinding() to SceneObject::setBinding. Done when the output name is passed through those bindings; the issue names no tests to run.

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

説明

hdMoonray needs to be updated to allow binding to named outputs. hdMoonray: lib/hydramoonray/shader_utils.cc has a function getTerminalInternal which sets up all of the bindings by iterating over a list of HdMaterialRelationship objects. Currently the inputName is ignored which would be the name of output on the shader being bound to.

The MoonrayAttribute::set() function and ValueConverter::setBinding() function will need to be updated to accept an output name so that it can be passed on to SceneObject::setBinding

主要言語
CMake
スター
4.7k
フォーク
321
平均マージ
13分
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

OpenMoonRay/openmoonray のほかの issue

OpenMoonRay/openmoonray の issue をすべて見る

似ている issue

Computer Graphics の issue をもっと見る

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

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