AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
[RFC] View transforms for non-colour data
- 主要语言
- 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 的视图变换处理;完成标准是达成一致的设计,并完成相应的实现和测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- computer-graphics
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100