Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add example-tinyrender: a minimal standalone renderer test against the installed OSL

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

メンテナーはふだん 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

環境構築

はじめの一歩

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

AcademySoftwareFoundation/OpenShadingLanguage のほかの issue

AcademySoftwareFoundation/OpenShadingLanguage の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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