Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Multi-lobe BRDF stochastic selection

1 ANTWORT 1
Antworten
Nachricht 1 von 2
maxtarpini
314 Aufrufe, 1 Antwort

Multi-lobe BRDF stochastic selection

How should I use the multi-lobe BRDF mechanism (AtBSDF..) if I want to just sample one lobe at time by selecting it randomly among let's say two lobes .. like if I had the old Phong model where I stochastically choose diffuse vs specular (while still having MIS working for the specular lobe) ?

Tags (3)
Beschriftungen (3)
1 ANTWORT 1
Nachricht 2 von 2
alan.kingFCDLA
als Antwort auf: maxtarpini

Hello, this could be done via one-sample MIS and something like the balance or power heuristic, where the PDFs returned by the BSDF represent a combined probability density. Because of the one-sample MIS, no matter your choice of lobe when sampling you would be returning a combined probability density.


There is a caveat here in that arnold would not know which category of BSDF was chosen unless you tell it via the lobe masks and lobe index in the output (which is a codepath that is not very well documented and is under-utilized), so this sort of thing works best with matched categories of BSDF (ie, two glossy reflection lobes).

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report