[Sidefx-houdini-list] cop's log 2 lin

Ben Schrijvers ben.schrijvers at guerrilla-games.com
Fri Jan 9 12:59:37 EST 2009


No I'm looking at a Z-buffer of our game engine.
Not even sure if it's really a log image and the coder went already home 
or are getting drunk downstairs :-)

I've found that it looks a lot better when I do:
1 / (1-image)

cheers,
benS


Andrew D Lyons wrote:
> Is this the kind of image you are dealing with?
>
> http://www.imagemagick.org/www/motion-picture.html
>
> I'd guess you would need to know the black point,white point, and
> gamma with which the image were encoded...
>
> Cheers
>
>
>
> 2009/1/9 Ben Schrijvers <ben.schrijvers at guerrilla-games.com>:
>   
>> Hi there,
>>
>> In COP's how do I convert from a log image to a linear image?
>>
>> I've found a log(x) function in the Function Cop but somehow that gives
>> me negative values.
>> But that probably the wrong way around in that it's lin to log.
>> So what's the inverse? Obviously I've got now idea what I'm talking about...
>>
>> cheers,
>> benS
>>
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>>     
>
>
>
>   




More information about the Sidefx-houdini-list mailing list