Lukas Stockner LukasStockner
  • Joined on 2013-12-26
Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:18 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Does this TODO refer to the PR, or it more general?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:18 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Since both of these are already known in the setup function at shader evaluation time, we might want to implement the "default to transparent" logic there?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:17 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Do you think it could make sense to support colors here? It would increase the space usage, so we should only do it if there's a realistic use case I guess.

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:17 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

This is probably fine, but one consideration here is that all functions in the kernel share a namespace, so e.g. sin_theta might easily conflict with something else in the future.

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:16 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

This appears 4 times I think, can we split it into a helper function?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:16 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

I think this is only used if we actually sample TRRT? The compiler should probably optimize that by itself though I guess.

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:15 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Is this conditional just due to compatibility?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:15 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Nitpicking, but we should probably try to not make this span five lines (maybe an if (is_circular)?)

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:14 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

I think you also need to check whether the socket is connected here?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:14 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

I think we can move this into the main if below?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:13 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

I'm not sure if the tooltips are the best place to put these values, might be better to keep it short and have them in the manual?

Lukas Stockner commented on pull request blender/blender#105600 2023-08-07 01:22:12 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

"preciser"->"more precise"

Lukas Stockner pushed to principled at LukasStockner/blender 2023-08-04 16:41:08 +02:00
6ba6c3b75d Use precomputed albedo for IOR-based generalized Schlick reflection
2424c48b0d Implement layering in Principled BSDF
845cef9195 Implement layer() in OSL
4c8719ef87 Remove principled_diffuse
2c45599b60 Switch Principled back to regular diffuse
Compare 739 commits »
Lukas Stockner pushed to main at LukasStockner/blender 2023-08-04 16:41:00 +02:00
97769581f5 Cleanup: Split fsmenu.c before C++ conversion
42dfa740c4 Fix crash when toggling asset shelf "Show Names" with sidebar open
d0d21f2934 Fix: Array modifier assert when not recalculating normals
1f612605ab Fix #110732: blender_theme_as_c fails fails with error
1e1f4db8b6 Tools: add 'diff' and 'email' attrs to git_log utility module
Compare 733 commits »
Lukas Stockner pushed to main at blender/blender 2023-07-27 03:21:21 +02:00
4bd8f24b81 Update OBJ parser tests for Principled BSDF Sheen versioning change
Lukas Stockner deleted branch sheen-principled from LukasStockner/blender 2023-07-27 02:17:54 +02:00
Lukas Stockner pushed to main at blender/blender 2023-07-27 02:17:54 +02:00
c66a694056 Cycles: Replace Sheen model in the Principled BSDF
Lukas Stockner merged pull request blender/blender#109949 2023-07-27 02:17:53 +02:00
Cycles: Replace Sheen model in the Principled BSDF
Lukas Stockner commented on pull request blender/blender#109949 2023-07-27 02:06:23 +02:00
Cycles: Replace Sheen model in the Principled BSDF

Changing the socket type and its value, is this the area of runtime declarations...?

Not sure about the details, but I don't think so, the type of the socket is fixed - it's just a one-time…

Lukas Stockner pushed to sheen-principled at LukasStockner/blender 2023-07-27 02:01:26 +02:00
866f1bcf18 Replace Sheen model in the Principled BSDF