Jump to content


VOP's Gain and Bias explanation


  • Please log in to reply
2 replies to this topic

#1 beeemtee

beeemtee

    Initiate

  • Members
  • PipPip
  • 149 posts
  • Joined: 21-February 07
  • Location:Budapest, Hungary
  • Name:Máté Birkás

Posted 20 June 2012 - 11:59 AM

Hi,

could someone explain me the math behind and the benefits of the Bias and Gain VOPs over the classic add/mult/pow approach. These "functions" are present in the Color Correct VOP and recently they found their way to the Unified Noise VOP as well. Still I wasn't able to find any description of how they work and why should I prefer them over other value correction methods.

thanks in advance
Mate

#2 mantragora

mantragora

    Illusionist

  • Members
  • PipPipPip
  • 269 posts
  • Joined: 08-December 11
  • Location:frozen hell
  • Name:to be, or not to be, TD ?

Posted 20 June 2012 - 12:39 PM

Check voplib.h that you can find in
\Houdini12.0.XXX\houdini\vex\include

directory. It contains all the code and math behind those functions.

Bias = vop_bias(float base, bias) {}

Gain = vop_gain(float base, gain) {}

Link:
Bias vs Gain

Edited by mantragora, 20 June 2012 - 12:51 PM.

magic happens here... sometimes

Vimeo
Twitter

#3 beeemtee

beeemtee

    Initiate

  • Members
  • PipPip
  • 149 posts
  • Joined: 21-February 07
  • Location:Budapest, Hungary
  • Name:Máté Birkás

Posted 20 June 2012 - 03:10 PM

Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users