Sorry, yes I will combine blending with over. I was thinking of these other options we have and got confused.
What about channels masks, like Will suggested for contrast? Apply the operation only to those channels specified in the channels mask. If alpha channel is in there then apply blending formula with over, otherwise just apply blending formula without taking alpha into consideration. Then a new question comes up, how many channels does the result image have? Same as before, or just the modified channels? So if it had 3 channels but we only did blending on 1 channel, does the result image have 3 or 1 channel... We could even have a bool parameter to specify this, whether to keep same number of channels or if the result image should only have the modified channels. I will install Nuke and play around with it to get some more ideas. You can see here that you can pick which channels the operation is applied to: Nuke<http://www.google.com/imgres?um=1&hl=en&client=ubuntu&sa=N&channel=fs&biw=1036&bih=556&tbm=isch&tbnid=2ivlHOA9tg1oBM:&imgrefurl=http://opticalenquiry.com/nuke/index.php%3Ftitle%3DMerge_Blend_Modes&docid=QyRLyEcDhWPLjM&imgurl=http://opticalenquiry.com/nuke/images/thumb/8/83/Blend_modes_1.png/350px-Blend_modes_1.png&w=350&h=500&ei=MaEEUJrYGNHIswa4372JBw&zoom=1> Will, would be nice to hear your opinion on this. Thanks
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
