Login - Become a member

calculating original color.

Forums home -> Lightwave 3D -> calculating original color.

post reply

calculating original color. 
By trial on Feb 27, 2005 11:14 AM
Hello
I want to calculate the original color of a pixel of the result color with the pixel from alpha image.
I have tested a surface that had color (255, 255, 255), luminosty 100% diffuse 0% and transparency 50%.
The result of the rendering was the color image had pixel with the value of (127, 127, 127), the alpha image had pixels with value (127, 127, 127).
with black background
So one may assume that calculating the original color would be:
OColorRed = 255*ImageRed/AlphaRed.
Is it true for any combination of colorimage and alphaimage?
Reply with quote

post reply

Page 1 of 1 Go to page: 1
Subscribe to RSS
Follow us on Twitter

 

Copyright © 1996-2010 Raphael Benedet - Contact Us