Lukas Stockner LukasStockner
  • Joined on 2013-12-26
Lukas Stockner commented on pull request blender/blender#123532 2024-09-20 20:41:33 +02:00
Cycles: Additional scattering phase functions

Looks like Metal doesn't have cbrtf, but that's not an issue. We can just add our own fast inverse cube root function and use that instead. The one I added has average relative error of ~1e-7…

Lukas Stockner commented on pull request blender/blender#123532 2024-09-20 16:30:22 +02:00
Cycles: Additional scattering phase functions

Pushed the cleaned-up version. Since I split up the commits for easier reviewing and rebased the whole thing, it's a force push - sorry for that, you'll need to manually update your local…

79e792a9c3 Extend Scattering node in Blender
9c8983c98a Extend Scattering node in Cycles
c91c22b891 Refactor numerical code of other phase functions
e5518fa9ef Refactor Fournier-Forand numerical code
f8c9f96c91 Add Fournier-Forand, Rayleigh and Draine phase functions
Compare 887 commits »
Lukas Stockner commented on pull request blender/blender#123532 2024-09-17 19:01:47 +02:00
Cycles: Additional scattering phase functions

Instead of posting even more review comments, I'll just pull this, make my suggested cleanups and update the PR. I hope that's fine for everyone :)

Lukas Stockner commented on pull request blender/blender#125999 2024-09-17 18:57:49 +02:00
Cleanup: Cycles: Consolidate coordinate system conversions

I followed @weizhen's suggestion and renamed these to to_global/to_local, added templates and a comment explaining what they do.

Lukas Stockner pushed to cleanup-trig at LukasStockner/blender 2024-09-17 18:57:03 +02:00
34cc5ad88d Use helpers to transform from/to local coordinate systems
1009a37f27 Deduplicate Fisheye projection code
154542c2b4 Replace spherical conversions with shared helpers
8ac7b8ec01 Add helper functions
1c7c1829b6 Cleanup: Refactor animdata iterators to C++ callbacks
Compare 1283 commits »
Lukas Stockner commented on pull request blender/blender#125999 2024-09-17 17:59:22 +02:00
Cleanup: Cycles: Consolidate coordinate system conversions

Is the speedup supposed to come from the sinf/cosf -> sincosf? Did you measure any speedup? In my experience I never saw such changes gaining any speedup: either platform simply doesn't…

Lukas Stockner commented on pull request blender/blender#125999 2024-09-17 17:57:46 +02:00
Cleanup: Cycles: Consolidate coordinate system conversions

Before, the sign conversion for the spherical conversion was different in some places (such as the Sky texture). To unify it, I had to change the offset for sun_rotation here, which means that…

Lukas Stockner deleted branch animdata-versioning-cleanup from LukasStockner/blender 2024-09-17 17:28:14 +02:00
Lukas Stockner merged pull request blender/blender#125485 2024-09-17 17:28:01 +02:00
Cleanup: Refactor animdata iterators to C++ callbacks
Lukas Stockner pushed to main at blender/blender 2024-09-17 17:27:25 +02:00
1c7c1829b6 Cleanup: Refactor animdata iterators to C++ callbacks
Lukas Stockner commented on pull request blender/blender#125485 2024-09-17 17:07:31 +02:00
Cleanup: Refactor animdata iterators to C++ callbacks

MEM_freeN doesn't appear to like const char * arguments...

Lukas Stockner commented on issue blender/blender#101413 2024-09-17 16:16:54 +02:00
Use OpenImageIO for loading and saving nearly all image formats

Since the topic came up, I've created a pull request for OpenImageIO to be able to process (read/write) our existing JPEG metadata scheme: https://github.com/AcademySoftwareFoundation/OpenImageIO/p

Lukas Stockner commented on issue blender/blender#123727 2024-09-15 20:46:47 +02:00
OpenEXR multipart saving

Relevant documentation: https://openexr.com/en/latest/MultiViewOpenEXR.html Note that using multi-part to store both multiple views and multiple passes (in their example, rgb/diff/spec) is…

Lukas Stockner pushed to main at blender/blender 2024-08-12 14:52:52 +02:00
d8f550875b Fix #124038: Performance issue with color sampling in 3D Viewport
Lukas Stockner deleted branch colorpicker-3dview from LukasStockner/blender 2024-08-12 14:52:51 +02:00
Lukas Stockner closed issue blender/blender#124038 2024-08-12 14:52:50 +02:00
Performance issue with color sampling
Lukas Stockner merged pull request blender/blender#126072 2024-08-12 14:52:48 +02:00
Fix #124038: Performance issue with color sampling in 3D Viewport
Lukas Stockner commented on issue blender/blender#75123 2024-08-11 22:53:58 +02:00
Cycles AOVs: Wrong, unclamped RGB values when Alpha/Transparency map used in Shader

@LukasStockner Hey, any chance to take a look at this one? :)

Sure - I looked into this a while ago, I remember that it wasn't a trivial fix but we should definitely be able to do better…