Hoshinova
  • Joined on 2023-04-11
Hoshinova commented on pull request blender/blender#106827 2023-05-31 20:19:43 +02:00
Add Fractal Voronoi Noise V.2

That would create a naming collision with noise::VoronoiParams params; in line 376. And out of the option of renaming noise::VoronoiParams or mf::Params I think that renaming mf::Params is…

Hoshinova commented on pull request blender/blender#106827 2023-05-31 20:09:08 +02:00
Add Fractal Voronoi Noise V.2

Why output instead of octave? It only computes one octave not the entire output.

Hoshinova commented on pull request blender/blender#106827 2023-05-30 18:02:19 +02:00
Add Fractal Voronoi Noise V.2

@fclem I didn't experience any problems with it and I also already know a solution to this. The thing is if we optimize out the if statements we'd get a GLSL implementation which is different…

Hoshinova commented on pull request blender/blender#106827 2023-05-29 13:18:14 +02:00
Add Fractal Voronoi Noise V.2

If it actually turns out that the branches fail to get optimized, I'd say it's bets to just a separate different implementation for GLSL then. Instead of having the Fractalization process have…

Hoshinova commented on pull request blender/blender#106827 2023-05-28 16:11:02 +02:00
Add Fractal Voronoi Noise V.2

Fair point. Let's see what Brecht's and Jacques's opinion are on that matter. Ah and I also didn't experience a performance regression in Cycles on my machine.

Apart from that is there…

Hoshinova commented on pull request blender/blender#106827 2023-05-28 12:54:09 +02:00
Add Fractal Voronoi Noise V.2

@OmarEmaraDev If it's just about performance I think your concerns are unfounded. I did some performance tests and as expected, the performance difference for a single layer of Voronoi noise…

Hoshinova commented on pull request blender/blender#106827 2023-05-28 11:14:57 +02:00
Add Fractal Voronoi Noise V.2

I am not the best person to give advice on how to do stuff in C++, but can't we just add the functions as template parameters and instantiate that function in an appropriately named function, or…

Hoshinova commented on pull request blender/blender#106827 2023-05-27 21:31:18 +02:00
Add Fractal Voronoi Noise V.2

@OmarEmaraDev

Now getting to the specificly mentioned points:

Why not write the macros as as function-style? For instance: I think this is cleaner and we can just eliminate params.feature…

Hoshinova commented on pull request blender/blender#106827 2023-05-27 21:19:21 +02:00
Add Fractal Voronoi Noise V.2

A huge problem I faced when writing the code for Fractal Voronoi noise was that there were a lot inconsistencies between the different implementation. This starts at small things like the same…

Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-27 20:45:43 +02:00
cb467c5ae7 -- GLSL and OSL Change macros to function macros
7e845c5c96 Merge branch 'main' into add-fractal-voronoi
0a004fbad4 Metal: Improve GPU debugger support
52015737c9 Fix #108316: CUDA error rendering Attic scene
4a0f2b576c CMake: don't suppress stderr with manpage generation
Compare 349 commits »
Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-18 21:27:05 +02:00
2ba85a28af BLENDER_SOURCE_CODE_COMMIT commit message number: 6
Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-18 21:21:28 +02:00
eefbe0ae67 -- Remove duplicate definitions in "intern/cycles/util/math_float2.h"
Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-18 18:28:06 +02:00
56d88a0c8f Merge branch 'main' into add-fractal-voronoi
406cfd214a Refactor ImBuf buffer access
07058765b9 Merge branch 'blender-v3.6-release'
6dcebc68d6 Fix "~" expanding to the default document directory instead of HOME
9fbadc98cd Merge branch 'blender-v3.6-release'
Compare 96 commits »
Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-15 20:33:33 +02:00
bc80544c52 -- Run Clang format
27e203f52f Merge branch 'main' into add-fractal-voronoi
dd32dac60f I18n: disambiguate Mix node A and B inputs
a3a36e7f75 I18n: remove operator categories from the translation files
9603c38ab8 I18n: translate node assets in Add Search menu
Compare 42 commits »
Hoshinova commented on pull request blender/blender#106827 2023-05-13 22:45:11 +02:00
Add Fractal Voronoi Noise V.2

Well, looks like Metal is still complaining https://builder.blender.org/admin/#/builders/135/builds/1182 error: no matching function for call to 'reduce_add'

Should I just change the…

Hoshinova commented on pull request blender/blender#106827 2023-05-13 22:26:55 +02:00
Add Fractal Voronoi Noise V.2

@brecht "For the Metal errors you need to add the ccl_private qualifier for any pointer or reference argument. Also use mix instead of lerp." Fixed that.

`"The HIP errors seem to be some…

Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-13 21:50:49 +02:00
22550df1f2 Merge branch 'main' into add-fractal-voronoi
cbe696d71c BLENDER_SOURCE_CODE_COMMIT commit message number: 5
eac620f7bf Cleanup in readfile code area.
2117af10ab Cleanup: Clear non-ID pointers in Outliner tree's readfile code.
b960a4fdb8 Fix (unreported) BKE_main_id_refcount_recompute wrong handling of some ID types.
Compare 184 commits »
Hoshinova commented on pull request blender/blender#106827 2023-05-07 17:46:04 +02:00
Add Fractal Voronoi Noise V.2

@brecht It is done. Or rather it works on my machine but according to https://builder.blender.org/admin/#/builders/136/builds/1158 there seem to be errors on other machines.

For https://builder

Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-07 15:25:47 +02:00
25825c0a97 Merge branch 'main' into add-fractal-voronoi
1a3bf887c1 -- General refactor of GLSL implementation of Fractal Voronoi noise
de5aca9418 Refactor: unify UNIX/WIN32 BLI_dir_create_recursive & some improvements
6043f30d03 BLENDER_SOURCE_CODE_COMMIT commit message number: 4
f7d3115d97 Cleanup: replace BLI_strncpy with memcpy when the size is known
Compare 290 commits »
Hoshinova pushed to add-fractal-voronoi at Hoshinova/blender 2023-05-04 21:49:45 +02:00
2d934f423f Refactor F1, Smooth F1 normalization