hello vray-user!
like many of you i search for the color-correct-plugin-update.
but coult not find. so i think we should write a new one.
im not in deep with max scripting and i cant write the script.
but i want help to develop a new one.
what we need for colorcorrect:
- first get the actual values for R,G,B
- second convert the range from 0 to 255
to a rage from 0 to 1
(a 50% gray with R=128, G=128, B=128 would be
R=0,5, G=0,5 and B=0,5)
- on third take this three values with an exponent of the needed
gamma-value
(for example 0,5^2,2=0,218...)
- last convert back to the 0-255 scale and we have the gamma corrected
color
i hope that is right ...
so, what do you think. is it possible to write a new color correct plugin?
or to vlado: maybe a vray powershader with a field for that, maybe in a
new rc?
a helpfull link for gammacorrection:
http://en.wikipedia.org/wiki/Gamma_correction
like many of you i search for the color-correct-plugin-update.
but coult not find. so i think we should write a new one.
im not in deep with max scripting and i cant write the script.
but i want help to develop a new one.
what we need for colorcorrect:
- first get the actual values for R,G,B
- second convert the range from 0 to 255
to a rage from 0 to 1
(a 50% gray with R=128, G=128, B=128 would be
R=0,5, G=0,5 and B=0,5)
- on third take this three values with an exponent of the needed
gamma-value
(for example 0,5^2,2=0,218...)
- last convert back to the 0-255 scale and we have the gamma corrected
color
i hope that is right ...
so, what do you think. is it possible to write a new color correct plugin?
or to vlado: maybe a vray powershader with a field for that, maybe in a
new rc?
a helpfull link for gammacorrection:
http://en.wikipedia.org/wiki/Gamma_correction
Comment