![]() ![]() This produces a signed range centerd on zero. If x is zero, then the normalized fraction is zero and exponent() Returns zero.Ĭreates a 3D Perlin noise value. ![]() If the argument x is not zero, the normalized fraction is x times a power of two, and is always in the range 1/2 (inclusive) to 1 (exclusive). Matches the lerp function in other shading languages. Returns a point on the line f(x) where f(0)=a and f(1)=b. Returns the result of multiplying the floating-point number x by 2 raised to the power exp. Round x to the nearest integer not larger in absolute value. This is the length of the hypotenuse of a right-angle triangle with sides of length x and y. See also: to_sRGB, to_rec709f, from_rec709f.Ĭonverts a rec709 byte value to a linear brightness The return value is x - n y, where n is the quotient of x / y, rounded towards zero to an integer.Ĭonverts an sRGB pixel value to a linear value. For normal use, lacunarity should be greater than 1 and gain should be less than 1.Ĭomputes the remainder of dividing x by y. For each of them the input point is multiplied by pow(lacunarity,i) and the result is multiplied by pow(gain,i). This is the sum of octaves calls to noise(). Returns the value of e (the base of natural logarithms) raised to the power of x.įractional Brownian Motion. Optional: frame, defaults to current frame.Ĭonvert the angle x from radians into degrees. ![]() Returns the y value of the animation curve at the given frame. Returns the hyperbolic cosine of x, which is defined mathematically as (exp(x) + exp(-x)) / 2. See also: sin, cos, tan, asin, acos, atan, hypot. This function is useful to calculate the angle between two vectors. The return value is between -PI/2 and PI/2.Ĭalculates the arc tangent of the two variables x and y. If x is less than -1 or greater than1, asin returns nan (not a number).Ĭalculates the arc tangent of x that is the value whose tangent is x. If x is less than -1 or greater than 1, acos returns nan (not a number).Ĭalculates the arc sine of x that is the value whose sine is x. Returns the absolute value of the floating-point number x.Ĭalculates the arc cosine of x that is the value whose cosine is x. The table below list all the functions which you may incorporate into Nuke expressions. You can also rely on a function to add more complex mathematical operation to your expressions. For example, you might negate an expression in order to invert a tracking curve which you wish to use to stabilize an element (such an expression might resemble the following: -()). You can incorporate mathematical functions into parameters. Adding Mathematical Functions to Expressions ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |