Blender Git Commits

Blender Git "soc-2019-cycles-procedural" branch commits.

August 10, 2019, 13:18 (GMT)
Merge master to soc-2019-cycles-procedural.
August 8, 2019, 15:56 (GMT)
Avoid writing to input variables and using reserved function names.

Previously, we edited the input variables directly, OSL doesn't like that. Moreover, we used the name `noise`, which is already a built-in function, so we changed the function names to `noise_texture_*` instead.
August 8, 2019, 12:33 (GMT)
Remove magic numbers and swizzling from Noise code.

Previously, we used a random swizzling pattern as a sort of seed for noise, this proved bad in a lot of cases, including the cases where some of the components are constants. Additionally, we also added some offsets from a set of "magic numbers" as a form of seed. Those magic numbers are bad practice, so we introduced some new functions to generate random offsets based on the hash functions we already have, this happens at compile time, so this has no effect on performance.
August 7, 2019, 20:19 (GMT)
Reconfigure the outputs of the Noise node.

We changed the order of outputs so that the Value output is first. We did that because users mostly use the first output, and since noise is most commonly used as a bump texture, roughness textures, or to control other non-color data, it make sense that the first output should be the Value one. Previously, most users used the Color output for practically everything just because it is first in the output list. So reordering should save users some render time without them realizing.
August 7, 2019, 13:13 (GMT)
Refactor and clean up White Noise node.
August 7, 2019, 12:40 (GMT)
Refactor and clean ip hashing code.
August 5, 2019, 20:36 (GMT)
Fix Mapping node backward compatibility. Update inputs and properties.
August 5, 2019, 15:08 (GMT)
Fix Mapping node backward compatibility. Update socket names.
August 5, 2019, 12:54 (GMT)
Revert accidental renamming from previouse commit.
August 5, 2019, 12:49 (GMT)
Refactor and clean up Mapping node.
August 5, 2019, 11:28 (GMT)
Refactor and clean up Map Range node.
August 5, 2019, 11:13 (GMT)
Refactor and clean up Clamp node.
August 5, 2019, 10:58 (GMT)
Establish a naming convention in the versioning code.

Each individual versioning action should be a function of the signature: update_{NodeName}_*(ntree).
August 5, 2019, 10:10 (GMT)
Revert "Restructure versioning code to avoid duplicate iterations. Pre-linking."

This reverts commit eae462bc89a59ec24e114ea0012ea6cda0defa0c. The previouse structure
was more readable and clear since every function edits the node tree individually.
August 5, 2019, 09:49 (GMT)
Restructure versioning code to avoid duplicate iterations. Pre-linking.
August 5, 2019, 09:33 (GMT)
Cleanup: Use more explicit names.
August 5, 2019, 09:30 (GMT)
Merge remote-tracking branch 'origin/master' into soc-2019-cycles-procedural
August 4, 2019, 19:31 (GMT)
Added Fraction operator to Vector Math node.
August 4, 2019, 16:00 (GMT)
Add Ceiling operator to Vector Math node.
August 4, 2019, 15:25 (GMT)
Add Floor operator to Vector Math node.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021