Overview of multi-output shader work

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cmake, cpp, python
領域
backend, tooling

調査の方向性

This issue is organizational only and explicitly says not to submit code. It outlines changes across SceneObject and SceneClass, the scene_rdl2 Python module, RDL formats and UI utilities, shader definitions and generators in cmake_modules, and runtime evaluation and JSON export in moonray. Read those components to map the dependencies; completion would require coordinated multi-output support across them, but the issue does not define implementation details or acceptance criteria.

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

説明

This issue is for organizational purposes only. No code should be promoted against this.

Currently Moonray shaders only have one output that doesn't have a name. Until recently the one output of Map shaders was always Color (RGB). Recently we added the ability to specify an output type but there is still only one and it still doesn't have a name.

To enable multiple outputs, shader objects need to allow for a list of named and typed outputs, there needs to be a way to bind a shader input to one of these outputs, and there needs to be a way for a shader to actually return those multiple outputs. We also need to update various tools to pass this information on to programs like Houdini.

Currently multiple outputs only seem to exist for what moonray calls map shaders.

Adding these capabilities will touch:
  • SceneObject and SceneClass in scene_rdl2 repo
  • scene_rdl2 python module in scene_rdl2 repo
  • introduce format changes to RDL files in scene_rdl2 repo
  • utilities for generating user interfaces for shader node (e.g. Houdini HDA files) in scene_rdl2 repo
  • defining how the actual .cc and .ispc multi-output shaders work
  • updates to shader definition json file format that ispc_dso_generate expects in cmake_modules repo
  • update the generation of attribute.cc and attributes.isph in ispc_dso_generate in cmake_modules repo
  • update evaluation of shaders at runtime in Map in moonray repo
  • update generation of coredata json files in rdl2_json_exporter in moonray repo
主要言語
CMake
スター
4.7k
フォーク
321
平均マージ
13分
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

OpenMoonRay/openmoonray のほかの issue

OpenMoonRay/openmoonray の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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