Replies: 1 comment 4 replies
-
Hi @fzy28 , The path tracer implemented in Mitsuba 3 ( NEE is only performed if the BSDF of the shading point is "smooth" (e.g. diffuse or glossy). When only setting the I hope this answers your question. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am implementing my own BRDF sampling method and pdf calculation for a custom BRDF.
For now, I have tested the cosine weight sampling and my own sampling, with the
reflection_flags = ( mi.BSDFFlags.DeltaReflection | mi.BSDFFlags.FrontSide )
, I think this is only BRDF sampling right? And those two images converge to the same final results.But when I set
reflection_flags = ( mi.BSDFFlags.Reflection | mi.BSDFFlags.FrontSide )
, my output would be different...Can you help with some of the reflection flags stuff? How to set the mitsuba 3 only do BRDF sampling or do multiple importance sampling?
Here is my code, my brdf already consider the cosine_theta_o.
Beta Was this translation helpful? Give feedback.
All reactions