Page MenuHome

Matteo Falduto (matteolegna)
User

Projects

User does not belong to any projects.

User Details

User Since
Jul 12 2020, 5:48 PM (116 w, 21 h)

Recent Activity

Oct 17 2021

Matteo Falduto (matteolegna) awarded T92212: Cycles Metal device a Like token.
Oct 17 2021, 6:41 PM · Cycles, Render & Cycles

Jun 3 2021

Loïc DAUTRY (-L0Lock-) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a Love token.
Jun 3 2021, 2:26 PM

Jun 2 2021

yoann (softyoda) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a Love token.
Jun 2 2021, 6:52 PM

May 26 2021

Evan Wilson (EAW) awarded D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves a Like token.
May 26 2021, 10:31 PM · Modeling
Raimund Klink (Raimund58) awarded D10594: Cycles: Added a spread parameter to area lights. a Love token.
May 26 2021, 8:51 PM · Cycles, Render & Cycles
Raimund Klink (Raimund58) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a Love token.
May 26 2021, 8:51 PM

May 25 2021

Matteo Falduto (matteolegna) added a comment to D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.

...Okay, actually never mind 😐
Ignore my previous comment: I didn't put enough effort into understanding the surrounding code and I didn't see that it was unnecessary to introduce that factor_linear.
In the last diff I got rid of it, harmonizing the logic of that two lines with the rest of the algorithm.

May 25 2021, 8:02 PM · Modeling
Matteo Falduto (matteolegna) updated the diff for D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.
  • Cleanup: removing unnecessary factor_linear
May 25 2021, 7:56 PM · Modeling
Matteo Falduto (matteolegna) added a comment to D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.

@Campbell Barton (campbellbarton) I've uploaded a diff using interpf instead of the manual interpolation formula used previously. As I noted in replying to your code comment, this required introducing a new, different factor parameter I've called factor_linear. You can choose the version you find leaner and more fitting the code style.
Thanks!

May 25 2021, 6:34 PM · Modeling
Matteo Falduto (matteolegna) updated the diff for D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.
  • using interpf to interpolate weights and radii in the case of splines.
May 25 2021, 6:29 PM · Modeling
Vitalii Vlasov (Fracture128) awarded D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves a Love token.
May 25 2021, 8:44 AM · Modeling
Leon Schittek (lone_noel) awarded D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves a Yellow Medal token.
May 25 2021, 7:53 AM · Modeling
Campbell Barton (campbellbarton) awarded D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves a Like token.
May 25 2021, 7:29 AM · Modeling
Matteo Falduto (matteolegna) edited reviewers for D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves, added: Campbell Barton (campbellbarton); removed: Modeling.
May 25 2021, 3:40 AM · Modeling

May 23 2021

RedMser (RedMser) awarded D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves a Like token.
May 23 2021, 11:30 AM · Modeling
Matteo Falduto (matteolegna) awarded D5336: Destructive Extrude Operator a Love token.
May 23 2021, 4:56 AM · Modeling
Matteo Falduto (matteolegna) updated the summary of D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.
May 23 2021, 4:23 AM · Modeling
Matteo Falduto (matteolegna) updated the summary of D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.
May 23 2021, 4:22 AM · Modeling
Matteo Falduto (matteolegna) requested review of D11367: Fix (unreported): incorrect weights and radii interpolation when subdividing curves.
May 23 2021, 4:20 AM · Modeling

Apr 29 2021

Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

Hmm, I believe my knowledge of the whole render process is still too limited for me to understand how exactly the emissive_simple_eval function plays a role in all that, thus where does that cos(x) come from, and why we need to account for it in that integral (and why we integrate dx over a -> pi/2 instead of 0 ->pi/2-a).
However, I obviously trust your knowledge more than my uneducated guesses on the matter. I believe that as you took a second look at the issue and still find the solution correct, it must be correct indeed. I won't need any further explanation.

Apr 29 2021, 7:05 PM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) updated the summary of D11114: Cycles: removed unnecessary (redundant) multiplications in area lights importance sampling.
Apr 29 2021, 4:30 AM · Render & Cycles
Matteo Falduto (matteolegna) requested review of D11114: Cycles: removed unnecessary (redundant) multiplications in area lights importance sampling.
Apr 29 2021, 4:23 AM · Render & Cycles
Matteo Falduto (matteolegna) awarded rB3f24cfb9582e: Cycles: light spread importance sampling for rectangular area lights a Cup of Joe token.
Apr 29 2021, 3:50 AM
Matteo Falduto (matteolegna) added a comment to T87502: Reducing the area light spread can produce a hard cutoff in the reflection..

The behavior seems normal to me. As you reduce the spread, part of the area light becomes dark, because you are looking at it at a greater angle than the spread cut-off threshold. In the reflection, this appears in the part further away from the camera.


The phenomenon is further discussed here: https://devtalk.blender.org/t/is-spread-for-area-lights-working-as-expected/18519

Apr 29 2021, 12:55 AM · Render & Cycles, BF Blender

Apr 28 2021

Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

I integrated over the hemisphere, which is where the sin(x) comes from.

Based on (22) Differential solid angle for (φ, θ) parametrisation:
https://people.cs.kuleuven.be/~philip.dutre/GI/TotalCompendium.pdf#page=15

Apr 28 2021, 9:56 PM · Cycles, Render & Cycles

Apr 27 2021

Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

@Brecht Van Lommel (brecht) This morning I've had a closer look at your normalize_spread factor, but I am a bit confused about the math behind it.
Given that our emission curve is
emission(a, x) = 1 - tan(a) tan(x)
where a is the spread parameter and x the emission angle.
At first, I thought that the normalization factor needed to keep the total luminosity constant across all the possible spread values (and thus defined as the ratio of the luminosity emitted at a=0 to the luminosity emitted at a generic a = a1, before correction), could be determined in the following way:


I've later realized, however, that since the emission function emission(a, x) affects the light over a solid angle, we should consider the ratio of the volumes of the revolution solids generated revolving that curves around their vertical axis:

I've plotted both of those normalize_spread(a) functions for 0<a<pi/2 and I have compared them with the normalize_spread = 2.0f / (2.0f + (2.0f * spread_angle - M_PI_F) * tan_spread) you have implemented; and neither matches.

Supposing that my assumptions are correct, I believe that the blue h(a) normalization curve (revolving volumes) should produce the most accurate behavior.
I have not been able to reproduce your solution.

Apr 27 2021, 5:14 PM · Cycles, Render & Cycles

Apr 26 2021

Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

is it by design or limitation for the area light to turn into a circle in the glossy rays ?


https://devtalk.blender.org/t/is-spread-for-area-lights-working-as-expected/18519

Apr 26 2021, 5:38 PM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

Hello everybody!
First, I feel I really need to apologize for not having actively followed this discussion since my last post. Sorry for that.
I went for a parameter expressed in degrees to keep it more consistent with the spotlights, and, less strictly, with how photographers classify their softbox "grids" (those honeycomb-like devices used to make their studio lights more parallel).
This thought also motivated this specific UI choice:

Wouldn't it better UI-wise to place spread parameter like that? I'm not sure why separate parameter section is done, unless there are planned several new parameters in future for beam shape?

In this way, the area spread parameter for Area Lights appears in the same place as it does for spot lights.


And yes, I also hoped that this could inspire someone in the future to come up with more beam-shaping controls... (Barndoors? Custom curves? etc.)

Apr 26 2021, 5:06 PM · Cycles, Render & Cycles

Apr 7 2021

Bataev Artem (shader) awarded D10594: Cycles: Added a spread parameter to area lights. a Burninate token.
Apr 7 2021, 12:40 PM · Cycles, Render & Cycles

Apr 5 2021

Kirill Volynkin (KifoK) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a Love token.
Apr 5 2021, 7:36 PM
Kirill Volynkin (KifoK) awarded D10594: Cycles: Added a spread parameter to area lights. a Love token.
Apr 5 2021, 7:29 PM · Cycles, Render & Cycles
Carlo San (candre) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a 100 token.
Apr 5 2021, 7:04 PM

Apr 2 2021

Maged afra (Maged_afra) awarded D10594: Cycles: Added a spread parameter to area lights. a Burninate token.
Apr 2 2021, 1:55 AM · Cycles, Render & Cycles
Maged afra (Maged_afra) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a Love token.
Apr 2 2021, 12:54 AM

Apr 1 2021

Marco (nacioss) awarded rBa4260ac21977: Cycles: add a spread setting for area lights a Love token.
Apr 1 2021, 12:52 PM

Mar 25 2021

Duarte Farrajota Ramos (duarteframos) awarded D10594: Cycles: Added a spread parameter to area lights. a Mountain of Wealth token.
Mar 25 2021, 3:58 PM · Cycles, Render & Cycles

Mar 24 2021

Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

@Brecht Van Lommel (brecht)
Thank you for the answer.
Is there anything else you think it's necessary to add to this patch to make it worth landing in production?
I have a couple of ideas on implementing a "preserve luminosity" toggle, aimed, as I mentioned in the Summary, at maintaining the total luminosity of the light constant independently of the spread angle. I would also love to look into the optimizations you have suggested about the importance sampling. I have thought, however, to work on those as separate patches after (and if) this one gets possibly approved and included.
I've seen you put some effort into improving the code, but since the patch has been neither approved nor rejected. I couldn't thus help wondering if it is still missing anything to make it move forward.
Sorry for the question; I don't want to sound impatient. I am new to the community and not yet entirely accustomed to how this process works.

Mar 24 2021, 5:41 PM · Cycles, Render & Cycles

Mar 13 2021

Matteo Falduto (matteolegna) awarded D9744: UI: Viewport Navigate Gizmo Refactor a Burninate token.
Mar 13 2021, 1:26 PM · BF Blender (2.93), User Interface

Mar 9 2021

SecuoyaEx (SecuoyaEx) awarded D10594: Cycles: Added a spread parameter to area lights. a Love token.
Mar 9 2021, 10:16 AM · Cycles, Render & Cycles
SecuoyaEx (SecuoyaEx) awarded D10594: Cycles: Added a spread parameter to area lights. a Heartbreak token.
Mar 9 2021, 10:16 AM · Cycles, Render & Cycles
Petr (PetrT) awarded D10594: Cycles: Added a spread parameter to area lights. a Like token.
Mar 9 2021, 9:07 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) added a comment to D10594: Cycles: Added a spread parameter to area lights..

Hi @Brecht Van Lommel (brecht) ,
Thank you for taking the time to review and clean up my code.
I have to say I didn't do any research on how this might have been implemented in other render engines... 😬 Probably I should have had. I'll try to have a look in the next few days.
My idea was to model an ideal softbox grid.


I considered, thus, one of the cells of such a grid

The ratio of "exposed" light source, that is not hidden by the slats of the grid at a given angle is

In an effort of speeding up calculations, I've tried to eliminate the need to calculate sines using the Pythagorean identity and a few algebraic manipulations: https://en.wikipedia.org/wiki/List_of_trigonometric_identities#Pythagorean_identities

Which in turn leads to

In our application, alpha is always positive, but I've considered the more general case doing the math.

Mar 9 2021, 3:40 AM · Cycles, Render & Cycles

Mar 5 2021

Jason Clarke (jtheninja) awarded D10594: Cycles: Added a spread parameter to area lights. a Cup of Joe token.
Mar 5 2021, 7:44 PM · Cycles, Render & Cycles
Antti Tikka (symstract) awarded D10594: Cycles: Added a spread parameter to area lights. a Love token.
Mar 5 2021, 3:02 PM · Cycles, Render & Cycles
Andreas Resch (AndreasResch) awarded D10594: Cycles: Added a spread parameter to area lights. a Like token.
Mar 5 2021, 7:12 AM · Cycles, Render & Cycles

Mar 4 2021

Paul Larson (GeorgiaPacific) awarded D10594: Cycles: Added a spread parameter to area lights. a Like token.
Mar 4 2021, 10:17 PM · Cycles, Render & Cycles
Leon Schittek (lone_noel) awarded D10594: Cycles: Added a spread parameter to area lights. a Burninate token.
Mar 4 2021, 9:22 PM · Cycles, Render & Cycles
Metin Seven (MetinSeven) awarded D10594: Cycles: Added a spread parameter to area lights. a Like token.
Mar 4 2021, 7:48 PM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) awarded D9415: Transform: interactive mode for editing a 'Snap Source' a Love token.
Mar 4 2021, 6:23 PM · User Interface, Modeling
Marco G (marcog) awarded D10594: Cycles: Added a spread parameter to area lights. a Like token.
Mar 4 2021, 4:24 PM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) added projects to D10594: Cycles: Added a spread parameter to area lights.: Render & Cycles, Cycles.
Mar 4 2021, 12:56 PM · Cycles, Render & Cycles

Mar 3 2021

Kyron de Haas (kryp) awarded D10594: Cycles: Added a spread parameter to area lights. a Like token.
Mar 3 2021, 6:46 PM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) updated the diff for D10594: Cycles: Added a spread parameter to area lights..
  • fixed wrong number type
Mar 3 2021, 3:16 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) added a reviewer for D10594: Cycles: Added a spread parameter to area lights.: Brecht Van Lommel (brecht).
Mar 3 2021, 2:56 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) updated the summary of D10594: Cycles: Added a spread parameter to area lights..
Mar 3 2021, 2:39 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) updated the summary of D10594: Cycles: Added a spread parameter to area lights..
Mar 3 2021, 2:18 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) updated the summary of D10594: Cycles: Added a spread parameter to area lights..
Mar 3 2021, 2:18 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) updated the summary of D10594: Cycles: Added a spread parameter to area lights..
Mar 3 2021, 1:45 AM · Cycles, Render & Cycles
Matteo Falduto (matteolegna) requested review of D10594: Cycles: Added a spread parameter to area lights..
Mar 3 2021, 1:25 AM · Cycles, Render & Cycles

Dec 20 2020

Matteo Falduto (matteolegna) placed T83965: My mesh won't stop glitching up for grabs.
Dec 20 2020, 1:59 PM · BF Blender
Matteo Falduto (matteolegna) closed T83965: My mesh won't stop glitching as Archived.

The file is fine in 2.91
The "glitches" are due to the fact that the camera clip ranges from 0.001 to 10000 m. That is waaaay too much. Set the Clip Start to 10 m and the issue is solved.
Also, you should stick to reasonable units for your models. That bedroom appears to be 2.16 Kilometers long and 1.79 Kilometers wide...
If you really need to model an object of that size, you should adjust the Unit Scale parameter in the Scene Properties tab, so that Blender doesn't have to deal with such big numbers internally.
Lastly, it seems you are using a very old version of Blender, which does not receive support and active development anymore. The rule is that you have to check your issue with a currently supported version before submitting a bug report.

Dec 20 2020, 12:43 AM · BF Blender
Matteo Falduto (matteolegna) added a comment to T83965: My mesh won't stop glitching.
Dec 20 2020, 12:20 AM · BF Blender
Matteo Falduto (matteolegna) updated the diff for D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles.
  • Re-implementing the keyframe decorator
Dec 20 2020, 12:03 AM

Dec 19 2020

Matteo Falduto (matteolegna) added a comment to D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles.

In addition, I am just noticing now, those properties also lack the little keyframe button at their right.

Dec 19 2020, 11:39 PM
Matteo Falduto (matteolegna) updated the summary of D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles.
Dec 19 2020, 11:20 PM
Matteo Falduto (matteolegna) added a reviewer for D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles: Julian Eisel (Severin).
Dec 19 2020, 11:13 PM
Matteo Falduto (matteolegna) updated the summary of D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles.
Dec 19 2020, 11:11 PM
Matteo Falduto (matteolegna) updated the summary of D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles.
Dec 19 2020, 11:02 PM
Matteo Falduto (matteolegna) requested review of D9906: UI fix: "Spot Shape" properties for spot lights were displayed incorrectly in Cycles.
Dec 19 2020, 11:00 PM

Nov 13 2020

Matteo Falduto (matteolegna) added a comment to T82681: Add Icon for the Asset Browser.

Other two images that somehow come to my mind thinking of an asset browser are either a briefcase or a file cabinet.

Nov 13 2020, 2:56 AM · User Interface, Asset Browser (Archived) (Milestone 1: Basic, Local Asset Browser)
Matteo Falduto (matteolegna) added a comment to D9504: Outliner: Collection icon color tweaks.
In D9504#236816, @Zachman wrote:

I think the selection here is good (replacing gray with pink). The colors are a little too saturated I think, but I'll try using these.

Nov 13 2020, 2:06 AM · BF Blender (2.91), User Interface

Nov 12 2020

Matteo Falduto (matteolegna) added a comment to D9504: Outliner: Collection icon color tweaks.

This is my humble attempt


They can be further tweaked to make them look nicer together, but I feel this way it's easier to unambiguously identify (thus remember) them, like the Power Rangers.

Nov 12 2020, 6:38 PM · BF Blender (2.91), User Interface
Matteo Falduto (matteolegna) added a comment to D9504: Outliner: Collection icon color tweaks.

I think we should calculate the colors in a mathematical way instead of arbitrarily choosing them.

Nov 12 2020, 4:27 PM · BF Blender (2.91), User Interface

Oct 7 2020

Matteo Falduto (matteolegna) awarded D3495: Node: Gabor Noise Texture (WIP) a Like token.
Oct 7 2020, 1:21 AM · Geometry Nodes, Cycles, BF Blender

Aug 23 2020

Matteo Falduto (matteolegna) updated the task description for T80041: Crash when switching the viewport shading mode to wireframe..
Aug 23 2020, 2:48 PM · BF Blender
Matteo Falduto (matteolegna) updated the task description for T80041: Crash when switching the viewport shading mode to wireframe..
Aug 23 2020, 2:28 PM · BF Blender
Matteo Falduto (matteolegna) created T80041: Crash when switching the viewport shading mode to wireframe..
Aug 23 2020, 2:28 PM · BF Blender

Aug 3 2020

Matteo Falduto (matteolegna) awarded T66424: Transform Tools: Perform on a base point a Love token.
Aug 3 2020, 10:16 AM · Modeling

Jul 29 2020

Matteo Falduto (matteolegna) awarded T73324: Particles Nodes a Burninate token.
Jul 29 2020, 1:35 PM · Nodes & Physics, BF Blender

Jul 12 2020

Matteo Falduto (matteolegna) requested review of D8275: Proportional Edit: unclear how to change the influence radius..
Jul 12 2020, 6:26 PM