Add example-tinyrender: a minimal standalone renderer test against the installed OSL
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
調査の方向性
Start by reviewing the existing testsuite/example-* tests and the OSL-enabled RTIOW version in the linked Path-Tracer project. Trace the planned flow from compiling .osl shaders with the installed oslc through registering and sampling closures; done means a minimal standalone renderer produces a small image matching a reference image without the unnecessary TBB or BVH dependencies.
索引モデルが issue の本文から書いたものです。
説明
A follow-up from the discussion in https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/discussions/2163. (Creating this issue to better track the task and to ask questions as they come up.)
OSL has testrender and testshade to test its implementation, but they are built as part of OSL itself. So passing tests don't guarantee that the installed OSL works for downstream consumers. The testsuite/example-* tests fill part of that gap: they build against the installed OSL and test what they need to. What's still missing is a standalone renderer doing the same, i.e., registering closures, running shaders at ray hits, and sampling the closures they return.
The new RTIOW-based test, which I will call example-tinyrender, will follow the same idea: use the installed version of OSL and act as a minimal standalone renderer. (The alternative name was example-rtiow, but "rtiow", I find, is a bit too cryptic for most readers, whereas with "tinyrender" you don't have to second-guess what it means. And I can just mention in a comment that it's based on the path tracer from RTIOW.)
I already have an OSL-enabled RTIOW version in https://github.com/jinhgkim/Path-Tracer. However, it still needs to be stripped down, since it depends on TBB, includes a BVH, etc. My goal is to provide an end-to-end regression test, from compiling .osl shaders (using the installed oslc) to sampling closures, while keeping it minimal. It will render a small image and compare it against a reference image. That's the high-level plan, and I'll hash out the details as I go.
- 主要言語
- C++
- スター
- 2.3k
- フォーク
- 415
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 14
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AcademySoftwareFoundation/OpenShadingLanguage のほかの issue
-
build / testing / port / CI
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AcademySoftwareFoundation/OpenShadingLanguage#2148 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AcademySoftwareFoundation/OpenShadingLanguage#2109 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
AcademySoftwareFoundation/OpenShadingLanguage#2146 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
AcademySoftwareFoundation/OpenShadingLanguage#2135 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
AcademySoftwareFoundation/OpenShadingLanguage#2132 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
AcademySoftwareFoundation/OpenShadingLanguage の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
tenstorrent/tt-metal#58057 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
maplibre/maplibre-native#4690 ·
メンテナーはふだん 1 日以内に返信
-
comp-query-execution
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ClickHouse/ClickHouse#122569 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100