AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

[RFC] View transforms for non-colour data

オープン
#751 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Feature Request Needs Discussion
主要言語
C++
スター
2.1k
フォーク
503
PR マージ指標
30日以内にマージされた PR はありません

説明

Greets all. Hope you are all doing well.

I thought I should put this here in the event that discussions happen that I might not be around to take part in the relevant meeting.

I've been pondering if OCIO should permit view transforms on the data, while keeping the data in the reference as non-colour data. Sounds nutty I'm sure, but hear me out...

If we think about adjusting an alpha plane, say we are painting or rotoscoping, or if we are adjusting a normals pass and manually tweaking or investigating it, we can begin to see where this is going. That is, the data range might very well be non-colour data. In many instances, we can see that the data might be linear, with a given offset, or even feasibly nonlinear data of arbitrary code value allocation.

The issue comes in visualizing the data. That is, if we are painting alpha as per our first example, we'd expect the alpha value of 0.5 to likely be dumped to a typical sRGB display as 0.5 display linear or perceptually 50%? Normals, being represented as a mix of actual colours, make sense to represent them as visual intensities that represent the arbitrary data encoding.

It seems like OCIO is 95% of the way there, in that the transforms are already handled properly through the library, and can be formulated as required. However, the simple flag of `isdata` keeps it out of the transformation chain for viewing, however.

Should we consider implementing a means to visualize the data components in OCIO?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

このRFCでは、データ参照を保持したまま、OCIOが非カラー データに対するview transformsを許可すべきかどうかを問い、isdataフラグとalphaおよび法線の可視化に焦点を当てます。ファイル、テスト、実装のエントリーポイントは指定されていません。まず、isdataに対するview transformationの処理箇所を見つけます;合意された設計と、それに対応する実装およびテストが揃えば完了です。

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

評価

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

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

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