Lukas Stockner LukasStockner
  • Joined on 2013-12-26
Lukas Stockner commented on issue blender/blender#122990 2024-06-13 00:36:41 +02:00
Color management: Easy way to define white point

To provide more context here following the meeting discussion:

This operation would sit in the display transformation pipeline, at the same stage where the curve mapping currently is.

There's…

Lukas Stockner suggested changes for blender/blender#123046 2024-06-13 00:22:44 +02:00
Cycles: add Central Cylindrical Panoramic camera model

Code seems mostly fine, just a few nitpicks. I've also left comments in the existing threads.

Lukas Stockner commented on pull request blender/blender#123046 2024-06-13 00:22:43 +02:00
Cycles: add Central Cylindrical Panoramic camera model

Not sure if we have guidelines for comment style, but I think C-style /* */ comments are preferred?

Lukas Stockner commented on pull request blender/blender#123046 2024-06-13 00:22:42 +02:00
Cycles: add Central Cylindrical Panoramic camera model

Nitpick: mix(range.x, range.y, u) and mix(range.z, range.w, v).

Lukas Stockner commented on pull request blender/blender#123046 2024-06-13 00:22:41 +02:00
Cycles: add Central Cylindrical Panoramic camera model

Nitpick: inverse_lerp(atan2f(dir.y, dir.x), range.x, range.y) and inverse_lerp(dir.z, range.z, range.w)

Lukas Stockner commented on pull request blender/blender#123046 2024-06-13 00:17:08 +02:00
Cycles: add Central Cylindrical Panoramic camera model

I don't think we need a subversion bump here, you can just use DNA_struct_member_exists since the fields are new.

Lukas Stockner commented on pull request blender/blender#123046 2024-06-13 00:16:14 +02:00
Cycles: add Central Cylindrical Panoramic camera model

We could make it clearer (through the comment) that this really is a factor relative to the cylinder radius, whatever it is. For an end user, it should be straightforward to compute `physical…

Lukas Stockner commented on pull request blender/blender#122935 2024-06-12 01:45:16 +02:00
WIP: Cycles: Implement better ellipse sampling for area lights

Update: Here's a version with the CDF lookup table approach, as described in the paper. The LUT is generated by the attached script: [precompute_sample_table.py](/attachments/ede23608-058c-44f4-b87…

Lukas Stockner pushed to ellipse-sampling at LukasStockner/blender 2024-06-12 01:33:50 +02:00
efa897d048 Use lookup table to invert area CDF
954d84ebad Use lookup table and numerical fit for ellipse solid angle
Compare 2 commits »
Lukas Stockner commented on pull request blender/blender#122935 2024-06-11 17:40:06 +02:00
WIP: Cycles: Implement better ellipse sampling for area lights

After some tweaking, I got the approximation error down to 0.004% on average and 0.08% maximum (out of 10000 random inputs) using a 32x32 table.

This also behaves well in the limits from what I…

Lukas Stockner commented on pull request blender/blender#122935 2024-06-11 00:58:53 +02:00
WIP: Cycles: Implement better ellipse sampling for area lights

Update:

  • Axes are now consistent across samples to solve the noise boundary artifacts
  • Eigensolver is replaced with an efficient 3x3 symmetric implementation

I've also looked into…

Lukas Stockner pushed to ellipse-sampling at LukasStockner/blender 2024-06-11 00:51:52 +02:00
5dd19a54f0 Use standalone 3x3 symmetric eigensolver
0f2ed0a6e2 Fix noise artifacts
Compare 2 commits »
Lukas Stockner pushed to main at LukasStockner/.profile 2024-06-10 19:00:13 +02:00
c6b2f33430 Update reports/2024.md
Lukas Stockner commented on pull request blender/blender#122935 2024-06-10 02:23:51 +02:00
WIP: Cycles: Implement better ellipse sampling for area lights

Quick comparison is attached, note the artifacts in the solid-angle version.

Lukas Stockner commented on pull request blender/blender#122935 2024-06-10 02:22:42 +02:00
WIP: Cycles: Implement better ellipse sampling for area lights

Update: The code implements the numerical (non-lookup-based) solid angle sampling now.

TODOs:

  • There are numerical issues are grazing angles (and sometimes domain exceptions in ellint_3) -…
Lukas Stockner pushed to ellipse-sampling at LukasStockner/blender 2024-06-10 02:01:53 +02:00
e6a7df2947 Implement low-distortion mapping
e83fff9b82 Implement solid-angle sampling
Compare 2 commits »
Lukas Stockner created pull request blender/blender#122935 2024-06-09 04:06:30 +02:00
WIP: Cycles: Implement better ellipse sampling for area lights
Lukas Stockner deleted branch ellipse-sampling from blender/blender 2024-06-09 04:02:06 +02:00
Lukas Stockner created branch ellipse-sampling in LukasStockner/blender 2024-06-09 04:01:55 +02:00
Lukas Stockner pushed to ellipse-sampling at LukasStockner/blender 2024-06-09 04:01:55 +02:00
fe1ccf9458 WIP: Cycles: Implement better ellipse sampling for area lights
b9b7de143d Cycles: Update baking test after seed change
941146212b Merge branch 'blender-v4.2-release'
702948c592 Fix effect strips can not be selected
aa39d5ca83 VSE: Copy strip opacity when adding effect
Compare 10 commits »