Lukas Stockner LukasStockner
  • Joined on 2013-12-26
Lukas Stockner pushed to cleanup-trig at LukasStockner/blender 2024-09-30 00:27:54 +02:00
b400cd7c7d Use helpers to transform from/to local coordinate systems
9122441929 Deduplicate Fisheye projection code
3945ce06f9 Replace spherical conversions with shared helpers
d0b55d3352 Add helper functions
4426526813 USD: Add tests for multiple materials assigned to single mesh
Compare 6 commits »
Lukas Stockner created pull request blender/blender#128342 2024-09-30 00:20:39 +02:00
Cycles: Cleanup, simplify and expand math/vectorization build flags
Lukas Stockner pushed to kernel-cpu-flags-cmake-cleanup at LukasStockner/blender 2024-09-29 23:39:07 +02:00
f1f32649b2 Add some more math optimizations
4e7687fa21 Clean up and deduplicate math optimization flags
2aaa820475 Apply SSE4.2 minimum regardless of compiler
008477d0bb Rename CYCLES_x_KERNEL_FLAGS to CYCLES_x_FLAGS
197a1e973e Split vectorization and optimization flags
Compare 5 commits »
Lukas Stockner created branch kernel-cpu-flags-cmake-cleanup in LukasStockner/blender 2024-09-29 23:38:20 +02:00
Lukas Stockner pushed to kernel-cpu-flags-cmake-cleanup at LukasStockner/blender 2024-09-29 23:38:20 +02:00
bf78fc94f2 Add some more math optimizations
ebde385abc Clean up and deduplicate math optimization flags
0d66e0fb15 Space fix
349fdda921 Apply SSE4.2 minimum regardless of compiler
f0cd889015 Rename CYCLES_x_KERNEL_FLAGS to CYCLES_x_FLAGS
Compare 9 commits »
Lukas Stockner pushed to cleanup-trig at LukasStockner/blender 2024-09-29 22:14:40 +02:00
e1639a009c Replace various sin/cos computations with sincosf
20e12c6632 Use helpers to transform from/to local coordinate systems
fd1a6880c4 Deduplicate Fisheye projection code
a9fe085ff8 Replace spherical conversions with shared helpers
Compare 6 commits »
Lukas Stockner commented on pull request blender/blender#123532 2024-09-29 21:25:01 +02:00
Cycles: Additional scattering phase functions

Just for clarity: From my perspective this is okay to go in as-is, the remaining ToDos (e.g. deduplication, comments) could always be done later.

I'll approve the PR so that my "Changes…

Lukas Stockner pushed to cleanup-trig at LukasStockner/blender 2024-09-29 21:20:43 +02:00
fdbc4ec172 Use helpers to transform from/to local coordinate systems
c5c2b5933d Replace various sin/cos computations with sincosf
c2bc4eb472 Deduplicate Fisheye projection code
bd2aa8117d Replace spherical conversions with shared helpers
31082699bb Add helper functions
Compare 430 commits »
Lukas Stockner commented on pull request blender/blender#123532 2024-09-29 02:36:44 +02:00
Cycles: Additional scattering phase functions

You can just set the Alpha value in the Draine node, it doesn't affect the HG lobe.

Lukas Stockner commented on pull request blender/blender#123532 2024-09-25 03:21:05 +02:00
Cycles: Additional scattering phase functions

One more comparison, this time with transparent background:

Lukas Stockner commented on pull request blender/blender#123532 2024-09-25 03:09:14 +02:00
Cycles: Additional scattering phase functions

@sherholz Ah, thanks for the input. I wasn't too familiar with how this works internally. I'll look into adapting it.

New update:

a586310abe Add Mie approximation based on Draine-Henyey-Greenstein fit
cba973f99a Rework SVM implementation, remove mix phase functions
b32410b16b Merge remote-tracking branch 'origin/main' into fournier-forand-phase-function
e1a44ad129 Cleanup: various non-functional changes when reading usd attribute data
bd841a92e2 Cleanup: move some constants inside the usd namespace and use constexpr
Compare 96 commits »
Lukas Stockner commented on pull request blender/blender#123532 2024-09-20 21:00:55 +02:00
Cycles: Additional scattering phase functions

With a slightly different constant, max error is down to 1.55e-6.

@blender-bot package +gpu

f4ecf899e0 Tweak fast_inv_cbrtf constant
206ae67df9 Replace cbrtf with fast_inv_cbrtf