texture function and unpremulted RGB output
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp
- Área
- computer-graphics
Línea de trabajo
Comience rastreando la función de textura OSL y su gestión de los valores RGB y alpha; el issue no especifica archivos de implementación ni tests. Reproduzca el comportamiento con un bitmap en 3ds Max y, a continuación, defina y verifique una opción que preserve la salida RGB no premultiplicada sin romper el comportamiento existente de la textura.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
As a 3ds max user I am going to describe an issue with OSL from a 3ds max perspective, but I have been told that the issue is not with the 3ds max implementation of OSL but the OSL system itself:
Actual behavior: In 3ds max, using OSL to read bitmaps will always produce premultiplied RGB channel output.
Expected behavior: There should be an argument controlling whether to premultipliy RGB channels or not.
Composing materials is very much like compositing in general, and many times you need the raw RGB output unaffected by the alpha. The OSL texture function should contain an argument whether to premultiply the RGB channels or leave them untouched (unpremulted).
Steps to Reproduce
- In 3ds max (any version containing OSL) create an OSL node that reads bitmaps (Bitmap Lookup, UberBitmap, etc).
- Load a texture file that is clearly unpremultiplied.
- Output only the RGB channels into another node and preview the output. The result is always premultiplied, meaning the RGB channels have been multiplied by the alpha even though you only expect the untouched RGB channels.
Versions
Not sure about the version specifics here. All I know is that this issue exists in whatever version of OSL is used by 3ds max 2023, 2024 and 2025.
- OSL branch/version: n/a
- OS: n/a
- C++ compiler: n/a
- LLVM version: n/a
- OIIO version: n/a
- Lenguaje dominante
- C++
- Estrellas
- 2.3k
- Forks
- 414
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AcademySoftwareFoundation/OpenShadingLanguage
-
build / testing / port / CI
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
AcademySoftwareFoundation/OpenShadingLanguage#2148 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
AcademySoftwareFoundation/OpenShadingLanguage#2109 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
AcademySoftwareFoundation/OpenShadingLanguage#2175 ·
Los mantenedores suelen responder en 1 día
-
Tracesets handling proposalAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
AcademySoftwareFoundation/OpenShadingLanguage#2146 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
AcademySoftwareFoundation/OpenShadingLanguage#2135 ·
Los mantenedores suelen responder en 1 día
Todos los issues de AcademySoftwareFoundation/OpenShadingLanguage
Issues similares
-
`enzymexla.linalg.lu` lowering fails for a tall matrix: the permutation is built with the pivot typeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
EnzymeAD/Enzyme-JAX#3286 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
apache/iceberg-cpp#973 ·
Los mantenedores suelen responder en 1 día
-
Add c++23 mapping to nvccAbiertofeature request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día