Hoshinova
  • Joined on 2023-04-11
Hoshinova pushed to add-noise-inputs at Hoshinova/blender 2023-08-09 15:27:16 +02:00
e1b82960d3 -- Implement new inputs to shader and geometry nodes.
Hoshinova pushed to add-floored-modulo at Hoshinova/blender 2023-08-08 11:17:10 +02:00
6bb19f8256 BLENDER_SOURCE_CODE_COMMIT commit message number: 16
Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-08-08 11:15:20 +02:00
a61311a3fd BLENDER_SOURCE_CODE_COMMIT commit message number: 15
Hoshinova commented on pull request blender/blender#110728 2023-08-07 23:43:23 +02:00
Add Floored Modulo to All Implementations of The Math Node.

Pretty sure that was just Clang format.

Hoshinova commented on pull request blender/blender#110839 2023-08-06 16:03:56 +02:00
Add Lacunarity and Normalize Inputs to the Noise Texture Node

@OmarEmaraDev So there you have it. Thanks again @Raiko for your explanation!

Hoshinova commented on pull request blender/blender#110728 2023-08-06 15:01:42 +02:00
Add Floored Modulo to All Implementations of The Math Node.

@JacquesLucke I updated the patch description.

Here's the .blend file you requested: Modulo_Test.blend

It shows the behavior of all…

Hoshinova commented on pull request blender/blender#110839 2023-08-06 01:30:11 +02:00
Add Lacunarity and Normalize Inputs to the Noise Texture Node

Also code wise I noticed, that there is actually no to replace any functions. Simple replacing 2.0 with lacunarity already does the trick. And for the normalization an if statement around the…

Hoshinova commented on pull request blender/blender#110839 2023-08-06 01:01:54 +02:00
Add Lacunarity and Normalize Inputs to the Noise Texture Node

What is a practical example for turning off normalization? Pretty mich all cases where the height of the Fractal Perlin noise actually matters, like with procedural terrain generation.

Hoshinova commented on pull request blender/blender#110839 2023-08-05 20:08:03 +02:00
Add Lacunarity and Normalize Inputs to the Noise Texture Node

Code wise the fractal_voronoi_x_fx function from

template<typename T>
has…

Hoshinova commented on pull request blender/blender#110839 2023-08-05 20:04:08 +02:00
Add Lacunarity and Normalize Inputs to the Noise Texture Node

I've only added the inputs for now but knowing how long the review process takes, I created the PR so design questions can already be discussed.

Hoshinova created pull request blender/blender#110839 2023-08-05 19:58:15 +02:00
Add Lacunarity and Normalize Inputs to the Noise Texture Node
Hoshinova pushed to add-noise-inputs at Hoshinova/blender 2023-08-05 19:51:00 +02:00
96980b24b7 -- Rename variable "normalize" to "use_normalize" for OSL to keep consistent with Voronoi.
Hoshinova created branch add-noise-inputs in Hoshinova/blender 2023-08-05 19:37:44 +02:00
Hoshinova pushed to add-noise-inputs at Hoshinova/blender 2023-08-05 19:37:44 +02:00
e91b30804f -- Add Lacunarity and Normalize inputs
b879a4f2d8 Cleanup: replace MEM_callocN with MEM_mallocN when overwritten afterward
9150f6d1a9 BLI: refactor string search to use C++ API
b41c6489bc Cleanup: set node struct ui names at run-time
4719caf660 Cleanup: move BLI_string_search.h to C++
Compare 10 commits »
Hoshinova commented on pull request blender/blender#110728 2023-08-05 19:01:31 +02:00
Add Floored Modulo to All Implementations of The Math Node.

Well of course it's possible to create your own operations out of more elementary operations but with that logic most operations should be removed. Why need Subtract if you could Multiply by…

Hoshinova commented on pull request blender/blender#110728 2023-08-05 18:56:02 +02:00
Add Floored Modulo to All Implementations of The Math Node.

Math is already hard enough for many artists, so I don't see how obfuscating common math operations behind other less common operations is a good idea.

Hoshinova commented on pull request blender/blender#110728 2023-08-05 18:54:00 +02:00
Add Floored Modulo to All Implementations of The Math Node.

@mod_moder I don't see this as a duplication of functionality. In fact before CharlieJolly pointed it out I didn't even know that you could use Wrap to emulate Floored Modulo and I think that…

Hoshinova commented on pull request blender/blender#110728 2023-08-05 18:50:06 +02:00
Add Floored Modulo to All Implementations of The Math Node.

@OmarEmaraDev

I think the description of the operators could be improved and be made more user friendly.

Hmm, not sure what I could add to the description I think `The remainder of…

Hoshinova commented on pull request blender/blender#110728 2023-08-05 18:45:17 +02:00
Add Floored Modulo to All Implementations of The Math Node.

@mod_moder Quoting LazyDodo:

Mathematically : yes User experience wise: no

Unlike Floored Modulo the Wrap operation is a rather uncommon operation. Floored Modulo (a, b) is much more…

Hoshinova commented on pull request blender/blender#110728 2023-08-04 18:08:47 +02:00
Add Floored Modulo to All Implementations of The Math Node.

@LazyDodo The addition of Floored Modulo is exactly something that makes user experience better so I think were agreeing on that case here.