AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
[RFC] View transforms for non-colour data
- Lenguaje dominante
- C++
- Estrellas
- 2.1k
- Forks
- 503
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
Línea de trabajo
Este RFC plantea si OCIO debería permitir view transforms para datos que no son de color manteniendo la referencia a los datos, con énfasis en el flag isdata y la visualización de alpha y normales. No se nombran archivos, tests ni puntos de entrada de la implementación. Empieza localizando el manejo de la transformación de vista para isdata; la tarea estaría completada con un diseño acordado y la implementación y los tests correspondientes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- computer-graphics
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100